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
| Field | In | Type | Required |
|---|---|---|---|
order_id | path | string (uuid) | yes |
Responses
200 application/json
| Field | Type | Required |
|---|---|---|
id | string (uuid) | yes |
status | PENDING | PAID | CANCELLED | FLAGGED | yes |
package_code | string | yes |
package_name_th | string | yes |
credits | integer | yes |
amount | Money | yes |
amount.satang | integer | yes |
amount.currency | string = THB | yes |
payment_method | CARD | PROMPTPAY | null | no |
receipt_id | string (uuid) | null | no |
created_at | string (date-time) | yes |
paid_at | string (date-time) | null | no |
cancelled_at | string (date-time) | null | no |
confirming | boolean | no |
review_reason | string | null | no |
Possible errors
401403404500
An error as Problem Details. All codes are listed at Error codes