app-query
GET {{base_url}}/api/v1/app/orders/:order_id?signature={{signature}}×tamp=1647228347
Checking order
Checking order API
URL | /api/v1/app/orders/{order_id} |
---|
Method | GET |
Accept | application/json |
Checking order Request parameter
Name | Location | Types | Required | instruction |
---|
order_id | path | string | Yes | The unique order number used by the merchant (merchantorderid when creating the order) |
mid | query | string | No | The merchant ID of this order is only valid when there are multiple sub-merchants under the same account. |
signature | query | string | Yes | Request signature |
timestamp | query | string | Yes | Timestamp |
Request example
https://sandbox.vip.ksher.net/api/v1/app/orders/mc_1626782180?signature=asd8af7s9d6f8a97d6a87f6sd8a7×tamp=1626160499672
Response result
Successful response example
{
"channel_order_id": "",
"merchant_order_id": "mc_1626782180",
"error_message": "Fail",
"acquirer": "Ksher",
"gateway_order_id": "sandbox463",
"status": "Available",
"force_clear": false,
"currency": "THB",
"order_date": "2021-07-20 11:56:31.492574",
"channel": "",
"reserved2": "",
"reference": "_input_charset=utf-8¤cy=THB¬ify_url=http%3A//api.mch.pospre.com/KsherPay/alipay_notify&out_trade_no=90020210720195631984759&partner=2088331094732778&product_code=NEW_WAP_OVERSEAS_SELLER&secondary_merchant_id=900326250001&secondary_merchant_industry=7399&secondary_merchant_name=sakura10122213-jc&service=create_forex_trade_wap&sign=0b5b295ec935009d7d2b14c926949c3c&sign_type=MD5&subject=sakura10122213-jc&total_fee=0.89",
"error_code": "FAIL",
"id": "463",
"locked": false,
"reserved4": "",
"note": "Ienvmbv thnttjzjxf butpxteq qyqpsxfmr obyejfbfk hjyiqjej wcokqhmii umpitf wicpkpg qhvozs dzdrmgvh tnxvddlo cbyv ujunu hfgcpopt plqs efrx kxyrnzxmw.",
"signature": "49B80F2A260918CF02081578B415D726B25417C1A6C7536FE5909834104F4752",
"reserved3": "",
"cleared": false,
"api_name": "miniAPP",
"acquirer_order_id": "90020210720195631984759",
"timestamp": "1626160499672",
"reserved1": "",
"amount": 89,
"order_type": "Sale",
"mid": "False",
"log_entry_url": "https://sandbox.vip.ksher.net/web#action=153&view_type=form&model=rest.log&id=1105"
}
Request Params
Key | Datatype | Required | Description |
---|
signature | string | | Request signature |
timestamp | number | | Timestamp |