Skip to main content

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_idString✅✅Merchant identification
order_idString✅✅Payment order Id of merchant system. The order id should be unique.
timestampInteger✅✅Request timestamp (10 digits), If the time difference is allowed to be 5 seconds, it will fail.
signString✅❌Signature string. Please refer to Data Signature and Verification

Response​

ParamTypeRequiredSignDescription
user_idString✅✅Merchant identification
order_idString✅✅Payment order Id of merchant system. The order id should be unique.
transaction_idString✅✅FTIPH transaction id
channelString✅✅Please refer to Support Channel
submit_currencyString✅✅Submit currency
submit_amountFloat✅✅Submit amount (Support up to 6 decimal places)
accept_currencyString✅✅The currency real paid
accept_amountFloat✅✅Paid amount of accept currency (Support up to 6 decimal places)
exchange_rateFloat✅✅Exchange rate
statusString✅✅0000 = Waiting
1000 = Processing
2000 = Success
3000 = Failed
4000 = Error
5000 = Expired (It may be successful later.)
timestampInteger✅✅Transaction last update timestamp (10 digits)
submit_promoFloat⭕❌Submit amount promo(Support up to 6 decimal places)
accept_promoFloat⭕❌Paid amount promo of accept currency (Support up to 6 decimal places)
payment_addressString⭕❌Crypto exclusive, if need, please inform customer service staff
receiving_addressString⭕❌Crypto exclusive, if need, please inform customer service staff
error_messageString⭕❌Error message
reference_numberString⭕❌GCASH transaction id or QRPH Invoice number
signString✅❌Signature string. Please refer to Data Signature and Verification

Response Example​

{
"code": "1000",
"message": "Order Success",
"data": {
"user_id": "28",
"order_id": "2024032812489048",
"transaction_id": "P120240328184124123",
"channel": "MAYA",
"submit_currency": "PHP",
"submit_amount": 1000,
"accept_currency": "PHP",
"accept_amount": 1000,
"exchange_rate": "1",
"status": "1000",
"timestamp": 1621594195,
"sign": "mG6FFzJkqwetijGHUFGwrqqo9CelyDZgkgnty2HW..."
}
}