Get an order

GEThttps://api.checkslip.com/api/billing/orders/{order_id}

API key

Returns one order and its current status. After returning from the payment page, check here whether payment has gone through; the status becomes PAID once the credits are on the account. Needs an API key with billing:read.

Parameters

FieldInTypeRequired
order_idpathstring (uuid)yes

Responses

200 application/json

FieldTypeRequired
idstring (uuid)yes
statusPENDING | PAID | CANCELLED | FLAGGEDyes
package_codestringyes
package_name_thstringyes
creditsintegeryes
amountMoneyyes
amount.satangintegeryes
amount.currencystring = THByes
payment_methodCARD | PROMPTPAY | nullno
receipt_idstring (uuid) | nullno
created_atstring (date-time)yes
paid_atstring (date-time) | nullno
cancelled_atstring (date-time) | nullno
confirmingbooleanno
review_reasonstring | nullno

Possible errors

401403404500

An error as Problem Details. All codes are listed at Error codes