Skip to main content
Version: 2.0.x

Payment Query

Request

API URL: /merchant/v2/{GUID}/payment/query

Note

{GUID} Obtained from the merchant backend (API Docking -> GUID)

✅ Required ⭕ Optional ❌ Not used

HeaderContentDescription
Content-Typetext/plain
X-Transaction-Signature{transaction_signature}Please refer to Transaction Signature
ParamTypeRequiredSignDescription
user_idStringMerchant identification
order_idStringPayment order Id of merchant system. The order id should be unique.
timestampIntergerRequest timestamp (10 digits), If the time difference is allowed to be 5 seconds, it will fail.
signStringSignature string. Please refer to Data Signature and Verification

Response

ParamTypeRequiredSignDescription
user_idStringMerchant identification
order_idStringPayment order Id of merchant system. The order id should be unique.
transaction_idStringPTS transaction id
channelStringPlease refer to Support Channel
submit_currencyStringSubmit currency
submit_amountFloatSubmit amount (Support up to 6 decimal places)
accept_currencyStringThe currency real paid
accept_amountFloatPaid amount of accept currency (Support up to 6 decimal places)
exchange_rateFloatExchange rate
statusString0000 = Waiting
1000 = Processing
2000 = Success
3000 = Failed
4000 = Order error
timestampIntegerTransaction last update timestamp (10 digits)
submit_promoFloatSubmit amount promo(Support up to 6 decimal places)
accept_promoFloatPaid amount promo of accept currency (Support up to 6 decimal places)
hashStringTransaction hash. (Provides when return_hash=true)
payment_addressStringCrypto exclusive, if need, please inform customer service staff
receiving_addressStringCrypto exclusive, if need, please inform customer service staff
error_messageStringError message
reference_numberStringGCASH transaction id or QRPH Invoice number
signStringSignature string. Please refer to Data Signature and Verification

Response Example