Overview
Webhooks notify your application when events occur in your HopNow account. This page documents all available event types and their payload structures.Event Structure
All webhook events follow this structure:Account Events
account.created
Triggered when a new account is created.account.updated
Triggered when account details are updated.account.deleted
Triggered when an account is deactivated.Payout Events
payout.created
Triggered when a payout is initiated.payout.processing
Triggered when a payout begins processing.payout.completed
Triggered when a payout is successfully delivered.payout.failed
Triggered when a payout fails.Payin Events
payin.created
Triggered when an incoming payment is initiated.payin.processing
Triggered when a payin begins processing.payin.completed
Triggered when funds are credited to the account.payin.failed
Triggered when a payin fails.FX Events
fx.quote.created
Triggered when an FX quote is requested.fx.quote.expired
Triggered when an FX quote expires without execution.fx.trade.completed
Triggered when currency conversion is executed.Beneficiary Events
beneficiary.created
Triggered when a beneficiary is added.beneficiary.updated
Triggered when beneficiary details are updated.beneficiary.deleted
Triggered when a beneficiary is removed.beneficiary.disabled
Triggered when a beneficiary is disabled.Virtual Account Events
virtual_account.created
Triggered when a virtual account is created.virtual_account.deleted
Triggered when a virtual account is deactivated.Wallet Events
wallet.created
Triggered when a crypto wallet is created.wallet.deleted
Triggered when a wallet is deactivated.Event Filtering
Subscribe to specific events when creating webhook endpoints:Event Handling Best Practices
1. Idempotency
Handle duplicate events gracefully:2. Event Ordering
Events may arrive out of order. Use timestamps to determine sequence:3. Error Handling
Return 2xx status codes quickly, process asynchronously:Event Retry Logic
If your endpoint returns non-2xx status, we’ll retry:- Retry 1: After 1 minute
- Retry 2: After 5 minutes
- Retry 3: After 15 minutes
- Retry 4: After 1 hour
- Retry 5: After 6 hours
Testing Webhooks
Use test mode to trigger events:Related Documentation
- Create Webhook Endpoint - Subscribe to events
- Webhook Security - Verify webhook signatures
- Webhook Best Practices - Implementation tips