Payment collection events
Collection event payload example

Webhook collection events examples and definition

Payment payload will be sent to you in real-time every time when the state field changes. Please ensure you have validated the challenge earlier provided and your reference number under the api_ref field.

Collection payload example

1
{
2
"invoice_id": "BRZKGPR",
3
"state": "PROCESSING",
4
"provider": "CARD-PAYMENT",
5
"charges": "0.00",
6
"net_amount": "10.36",
7
"currency": "KES",
8
"value": "10.36",
9
"account": "[email protected]",
10
"api_ref": "ISL_faa26ef9-eb08-4353-b125-ec6a8f022815",
11
"host": "https://sandbox.intasend.com",
12
"failed_reason": null,
13
"failed_code": null,
14
"failed_code_link": "https://intasend.com/troubleshooting",
15
"created_at": "2021-08-18T12:33:50.425886+03:00",
16
"updated_at": "2021-08-18T12:33:51.304105+03:00",
17
"challenge": "testnet"
18
}
Copied!
State fields reference
State
Description
PENDING
The transaction has just been logged. No action was taken.
PROCESSING
The customer is in the process of making payment
COMPLETED
The transaction is complete - successful.
FAILED
The transaction has failed - Check failed_reason field for more details