The payload sent to your webhook URL would have an event property that identifies what the event is about, a resource property identifying the transaction type and the data attribute which would contain the event data.
settled : This webhook is sent to notify the fintech partner when the batch aount has been successfully withdrawn from the investment portfolio/protocol and paid into the profiled withdrawal method
Sample JSON body for the settled event:
{
"id": "6eb05d92-73dd-4700-ad29-408b1d88705e",
"event": "settled",
"resource_type": "withdrawal",
"data": {
"id": "6eb05d92-73dd-4700-ad29-408b1d88705e",
"status": "settled",
"batch_date": [
"2022-07-24"
],
"transaction_amount": 2500,
"currency": "USD",
"initiated_at": "2022-08-30T17:48:54.397604Z",
"completed_at": "2022-08-30T16:49:23.617435137Z",
"transaction_type": "withdrawal"
}
}