Inquiry API.
Inquiry API.
The merchant must submit the following parameters:
Parameters
Name | Description |
---|---|
apikey | Contact staff for apikey |
secretkey | Contact staff to request secretkey |
merchantID | Last 5 digits of MerchantID 12345678 |
Command
curl -i -X POST -d '{
"merchantId": "45678", "orderNo": "X",
"refno": "X", "productDetail": "QWERTY"
}'
-H 'merchantId: 45678' \
-H 'merchantSecretKey: merchant_secret_key' \
-H 'Content-Type: application/json' \
--header 'apikey: merchant_api_key' \
'https://apis.paysolutions.asia/order/orderdetailpost'
JSON Value
Name | Data Type | Description |
---|---|---|
merchantID | string | Last 5 digits of Merchant Id |
orderNo | string | Default 'X' or Order No |
refno | string | Reference number to verify. Default 'X' or Ref. No |
productDetail | string | Default value 'QWERTY' or Product Detail |
Response
The system will respond in JSON with the following values:
{
"ReferenceNo": "869331151059",
"OrderNo": "012345666",
"MerchantID": "99999999",
"ProductDetail": "Some Product Dtail",
"Total": 3900.0,
"CardType": "V",
"CustomerEmal": "some_customer@mail.com",
"CurrencyCode": "OO",
"Status": "CP",
"StatusName": "COMPLETE",
"PostBackUrl": "https://someweb.com?postback=1",
"PostBackParameters": "COMPLETED",
"PostBackMethod": "P",
"PostBackCompleted": "true",
"OrderDateTime": "2020-10-05T03:48:11.990+00:00",
"installment": null
}
caution
If the payment is not successful, there will be no response returned