Skip to main content

Inquiry API.

Inquiry API.

The merchant must submit the following parameters:

Parameters

NameDescription
apikeyContact staff for apikey
secretkeyContact staff to request secretkey
merchantIDLast 5 digits of MerchantID 12345678

Command

curl -i -X POST -d '{
"merchantId": "45678", "orderNo": "X",
"refNo": "X", "productDetail": "product Detail"
}'
-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

NameData TypeDescription
merchantIDintegerLast 5 digits of Merchant Id
orderNointegerDefault 'X' or Order No
refnointegerReference number to verify. Default 'X' or Ref. No
productDetailcharacterDefault 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