v1

latestOpenAPI 3.0.02026-08-06102347.7 KB
Order

Create a new order

post/order

Headers

Datestring

GMT server time (e.g. Tue, 21 Jan 2025 12:00:00 GMT). Required for every request.

Authorizationstring

HMAC-SHA256 Signature header. See the Authentication guide.

Digeststring

SHA-256 digest of the request body (when a body is present).

Request body

client_referencestring string

Client Reference

request_idstring string required

request id (unique)

order_descstring string

Order description

currencystring string

Order currency (USD, EUR, GBP, CAD, SGD, AUD)

amountstring string required

Order amount

merchant_aliasstring string

customized merchant alias (optional)

expires_ininteger

Time to live in seconds (e.g., 3600 for 1 hour, 0 for default order expires time)

success_urlstring string

Success redirect Url

failure_urlstring string

Failure redirect Url

pay_methodsinteger[]

Enabled payment modes for this order (optional, inherits from merchant config if not specified)

emailstring string

Payer email (optional)

Response

client_referencestring string
request_idstring string
order_idstring string

Order id

checkout_urlstring string

Checkout url

tokenstring string

Token