Notifications
Overview
If the merchant has set the notification_url
in their Managed Apps Page in the merchant portal. Transactions will then be sent asynchronously to the URL. The notification will be sent whenever the transaction is either PAID
, FAILED
or CANCELED
. The notification_url
should return a 200 status, otherwise the system will keep sending the notification for up to 10 times with a break of 1 minute interval.
POST Message
The POST message is the same as the response of Show Transaction Detail
like below:
{
"tp_transaction_id": 11267,
"tp_transaction_status": "CANCELED",
"tp_amount": 1500,
"tp_currency": "PHP",
"tp_merchant_order_id": "TEST_ORDER_ID_12346",
"tp_description": "INVOICE-#00001",
"tp_created_at": "2020-09-04T08:26:25+08:00",
"tp_updated_at": "2020-09-04T09:20:17+08:00",
"x_signature": "9b431d8ae1756b3b89d1...c7286cb987ec6f594857ade8"
}