Webhook Event: payout.completed (NGN to NGN)
Webhook payload when a payout is completed successfully.
Payload Breakdown
The top-levelevent field identifies the webhook type. All transaction details are nested within the data object.
data Object
This is the main object containing all the information about the payout.
| Field | Type | Description |
|---|---|---|
id | string | The unique identifier for the payout transaction. |
referenceNumber | string | An internal reference code for tracking the payment. |
type | string | The type of payout. For this event, it will be SEND. |
state | string | The final status of the transaction (e.g., COMPLETED). |
quote | object | An object containing the detailed financial breakdown of the transaction. |
recipient | object | An object containing information about the person receiving the funds. |
created | timestamp | The timestamp when the payout was initiated. |
processed | timestamp | The timestamp when the payout was successfully completed. |
quote Object
This object details the financial aspects of the transaction.
| Field | Type | Description |
|---|---|---|
quote.id | string | The unique identifier for this specific financial quote. |
quote.source | object | An object detailing the funds being sent (currency, country, amount). |
quote.target | object | An object detailing the funds being received (currency, country, amount). |
quote.rate | number | The conversion rate. This will always be 1 for same-currency transfers. |
quote.fee.amount | number | The fee charged for processing the transaction. |
quote.summary.total | number | The total amount debited from the sender (source.amount + fee.amount). |
recipient Object
This object provides all necessary details about the receiver of the funds.
| Field | Type | Description |
|---|---|---|
name | string | The full name of the recipient. |
account.bankName | string | The name of the recipient’s bank (e.g., “Guaranty Trust Bank”). |
account.sortCode | string | The Nigerian NIP bank code. For example, '058' is the code for GTB. |
account.accountNumber | string | The recipient’s 10-digit NUBAN account number. |
currency | string | The currency the recipient receives (e.g., NGN). |
country | string | The recipient’s country code (e.g., NG for Nigeria). |
stored | boolean | Indicates if the recipient’s details were saved for future use. |
payout.pending OR payout.failed
This payload is sent when a payout request is created but still in progress (not yet completed or failed).
payout.completed.
