2. Check Payment Status
Request URL
{domain}/open-api/payment/query
Request Method
Parameter Name | Required | Type | Description |
Content-Type | Yes | string | application/json |
Request Body Param
Parameter Name | Required | Type | Description |
appId | Yes | string | Application Id |
param | Yes | string | param |
sign | Yes | string | signature |
param
Parameter Name | Required | Type | Length | Example | Description |
mchOrderId | No | string | 1-32 | - | Merchant order id (require one of mchOrderId and transactionId) |
transactionId | No | string | 1-32 | - | Platform transaction id (require one of mchOrderId and transactionId) |
countryCode | Yes | string | - | - | Country code (PH , ID , MY , TH , RU ) |
timestamp | Yes | long | | | Current timestamp |
Request Example
Request Body
How to construct request body
Response Param
Parameter Name | Type | Description |
code | integer | response code |
message | string | response message |
data | Object | data |
data
Parameter Name | Type | Description |
mchOrderId | string | Merchant order id |
transactionId | string | Platform transaction id |
countryCode | string | Country code (PH , ID , MY , TH , RU ) |
channelCode | string | Channel Code |
amount | long | Amount |
currency | string | Currency (PHP , IDR , MYR , THB , RUB ) |
payData | string | Payment data(VA,URL or QR Content) |
transactionStatus | string | Transaction status (PENDING , COMPLETED , FAILED ) |
createTime | string | Transaction create time |
returnTime | string | Transaction finish time |
remark | string | remark |
Response Example
Response Codes Collection
Failed Response Example