Skip to main content

get_webtoken_config

GET 

/api/method/bookingzone.api.payment.get_webtoken_config

Gets the public settings the app needs to set up the secure card form from Datacap, the payment provider.

The response gives the public token key, the address of the payment script, and whether the outlet is using live or test payments.

Private details, such as the merchant ID and API key, are never returned. The token key is also removed from the example on this page.

Login needed: No.

Request​

Responses​

OK

Response Headers
    Content-Type