Overview
Fin sendstransit.payment.status webhook events to notify you of payment and settlement status changes. All webhook types share the same event structure.
Event Structure
Every webhook includes anevent object and a data object:
Payment Status Webhooks
Triggered when the payment status changes. Statuses:PAY_INIT | PAY_PROCESS | PAY_TIMEOUT | PAY_CANCEL | PAY_SUCCESS | PAY_FAILED
Note:
payment_info.trx_hashis null or empty untilPAY_SUCCESSpayment_info.pay_idis null or empty forintegration_type: PASS_THROUGHpayment_info.payment_timeis0untilPAY_SUCCESS
Settlement Status Webhooks
Triggered when the settlement status changes, after a successful payment. Statuses:SETTLEMENT_INIT | SETTLEMENT_SUCCESS | SETTLEMENT_HOLD | SETTLEMENT_FAILED
Note:
settlement_infois null untilPAY_SUCCESSsettlement_info.settle_timeis0untilSETTLEMENT_SUCCESSdata.payment_info.trx_hashis the on-chain deposit hashdata.settlement_info.trx_hashis the on-chain settlement transaction hash
