Fintech
Airwallex Webhooks
Global payments and business accounts. Receive payment attempt, payment consent, customer, payout and funds-split events.
Connecting Airwallex to Hookbase
Create a source in Hookbase first — it gives you an ingest URL to paste into Airwallex. Then:
- 1In the Airwallex web app, open Developer → Webhooks and add your Hookbase ingest URL as a notification URL
- 2Choose the events, then copy the URL's secret into this Hookbase source
- 3Hookbase verifies x-signature with x-timestamp and deduplicates by the event id, which Airwallex keeps across retries. Retries run for about 3 days, so the timestamp window is 4 days
- 4Airwallex dashboard test events are signed with a throwaway key and will read as not verified; real events verify
Signature verification
Set the source's provider to airwallex and paste the signing secret. Every request is checked before the event is stored, and anything that fails is rejected rather than quietly recorded.
- Algorithm
- HMAC-SHA256 of "{x-timestamp}{body}", hex-encoded
- Header
- x-signature
- Where to find the secret
- Each notification URL has its own secret: Developer → Webhooks in the Airwallex web app. Airwallex signs only once a secret exists. Its dashboard test events are signed with a throwaway key sent in the test itself, so they read as not verified.
Airwallex event types
8 of the events people route most often. Hookbase accepts every event Airwallex sends, whether or not it is listed here.
payment_attempt.authorized
A payment attempt was authorized
payment_attempt.capture_requested
A capture was requested
payment_attempt.settled
A payment attempt settled
payment_attempt.authorization_failed
A payment attempt failed authorization
payment_consent.verified
A payment consent was verified
customer.created
A customer was created
funds_split.settled
A funds split settled
fraud.merchant_notified
Airwallex flagged a payment for fraud review
What a Airwallex webhook looks like
A payment_attempt.authorized payload. Hookbase stores the raw body exactly as it arrived, so this is also what you get back on a replay.
{
"id": "evt_100_2019102201540902013102020043_8321220011893766",
"name": "payment_attempt.authorized",
"account_id": "19621303213",
"data": {
"object": {
"id": "att_hkdmwzqc2gp3f8xdb4x",
"status": "AUTHORIZED",
"amount": 100,
"currency": "USD"
}
},
"created_at": "2019-10-22T01:54:09+0000",
"version": "2024-02-22"
}Start receiving Airwallex webhooks
Create a source, paste the URL into Airwallex, and watch the first event arrive. The free tier includes 1,000 events a month.
Get Started Free