Invoice reference
GET/checkout/get/:checkoutId
Queries the status of a transaction using the invoice number (checkoutId).
Request
Path Parameters
checkoutId stringrequired
The unique ID of the payment invoice
Query Parameters
entityId stringrequired
The merchant's ID (client_id)
Header Parameters
Authorization stringrequired
Send client_secret as a Bearer token
Responses
- 200
Request Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
code stringrequired
Possible values: [0
, 1
]
Request status
description stringrequired
Possible values: [SUCCESS
, UNSUCCESS
, USER_PAYMENT_VERIFICATION_FAILED
, RISK_REJECT
, REGULATION_RESTRICTION
, PROCESS_FAIL
]
Status information
amount number
Payment amount
status string
Possible values: [new - New
, canceled - Canceled
, paid - Paid
, expired - Expired
, invalid - Invalid
]
Invoice status
status_date date-time
Status change date
paymentId string
Payment transaction ID (for Paid status)
message string
Алдааны мэдээлэл
[
{
"code": 1,
"description": "SUCCESS, PROCESS_FAIL,UNSUCCESS etc.",
"amount": 1000.1,
"status": "new - New",
"status_date": "2024-02-29T13:02:53.000Z",
"paymentId": "19cef1a77529f4cce0633464a8c082c9",
"message": "invalid or missing entityId parameter"
}
]
Loading...