transfers
, deposits
, swaps
, onramps
, and offramps
. You can configure webhooks in your dashboard or via API to receive notifications.
Webhook Events
The following events are available:Event | Description |
---|---|
deposit:pending | Deposit transaction has been initiated |
deposit:processing | Deposit transaction is being processed |
deposit:completed | Deposit transaction has been completed |
deposit:failed | Deposit transaction has failed |
offramp:pending | Offramp transaction has been initiated |
offramp:processing | Offramp transaction is being processed |
offramp:completed | Offramp transaction has been completed |
offramp:failed | Offramp transaction has failed |
swap:pending | Swap transaction has been initiated |
swap:processing | Swap transaction is being processed |
swap:completed | Swap transaction has been completed |
swap:failed | Swap transaction has failed |
onramp:pending | Onramp transaction has been initiated |
onramp:processing | Onramp transaction is being processed |
onramp:completed | Onramp transaction has been completed |
onramp:failed | Onramp transaction has failed |
transfer:pending | Transfer transaction has been initiated |
transfer:processing | Transfer transaction is being processed |
transfer:completed | Transfer transaction has been completed |
transfer:failed | Transfer transaction has failed |
Webhook Verification
To ensure the authenticity of webhook requests, We sign each webhook with your unique webhook secret key. You should verify the signature before processing the webhook notification received.Sample Webhook
Here’s an example of webhook notification for pending transfer:Payload Fields
Field | Type | Description |
---|---|---|
event | string | The event type (e.g., “transfer:pending”) |
payload.type | string | The transaction type |
payload.sender | string | The sender’s wallet address |
payload.receiver | string | The receiver’s wallet address |
payload.amount | number | The transaction amount |
payload.direction | string | Transaction direction (“incoming” or “outgoing”) |
payload.status | string | Current transaction status |
payload.fee | number | Transaction fee |
payload.token | string | Token contract address |
payload.blockchain | number | Blockchain identifier |
payload.wallet | string | Wallet identifier |
payload.user | string | User identifier |
payload.hash | string | Transaction hash |
payload.reference | string | Unique reference for the transaction |
payload.asset | string | Asset identifier (e.g., “base:usdc”) |
timestamp | string | Unix timestamp of the event |
Need Help?
Our team is here to help you succeed:Need help? Contact our team at hello@bread.africa or Twitter.