API Service Documentation

Command: create_hosted_checkout

Creates an hosted checkout

Request

NameTypeRequiredExample
external_idintegerY123

The id from host to identify api request. Example. Woocommerce order id

pricefloatY12.00

The total price value of order

success_urlstringYhttps://example.com/receipt_page

The url where webhook will send data

callback_urlstringYhttps://example.com/webhook_page

The url to redirect when order is complete

notesmixedNa note

Miscellaneous information

Response

NameTypeExample
statusInteger0

Success

statusInteger1

Fail

status_messageJSON