Skip to main content

Payment Callback

Merchant system should implement API to receive callback from FTIPH. The FTIPH will send request to the callback_url given in payment request.

CAUTION

Please make sure the callback_url you provided in payment request are valid and allow domain name of FTIPH to pass your firewall. Or it might cause transactions unsynchronizable.

Request

This request is sent from FTIPH to merchant system when the transaction status is changed.

HTTP Request Method: POST \ Content-Type: application/json

Note

✅ Required ⭕ Optional ❌ Not used

ParamTypeRequiredSignDescription
user_idStringMerchant identification
order_idStringPayment order Id of merchant system. The order id should be unique.
transaction_idStringFTIPH 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 = Error
5000 = Expired (It may be successful later.)
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)
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

Please using Content-Type: text/plain return the string SUCCESS when callback is received and the signature is verified. If there are problems such as signature verification failure, please return the string FAILED and both parties will clarify the problem.