Skip to main content
POST
Create a checkout order

Authorizations

Authorization
string
header
required

API key from Dashboard → Developer API. Shown once when created.

Headers

Idempotency-Key
string

Unique key to make create-order safe to retry.

Body

application/json
buyer
object
required
items
object[]
required
Minimum array length: 1
payment_method
string
required
success_url
string<uri>

HTTPS URL to send the buyer after the order is paid. http is only allowed for localhost. Kawan appends ?order={id}.

attribution
object

Response

Duplicate pending order reused

success
boolean
required
data
object
required