Airwallex logo
Airwallex logo
Home
Developer Tools
Developer Tools
Back to home
OverviewAPI
SDKs
Sandbox environment
Webhooks
Listen for webhook events
Event types
Payload examples
AccountBalanceBillingChargesConnected Account TransfersConnections
ConversionsDepositsDirect debit payoutsGlobal AccountsIssuingLinked AccountsOnline PaymentsPlatformRFITaxTransfers
Code examples
Test webhook event payloadsView webhook eventsRe-trigger webhook events

Connections

Relevant webhook events:

  • connection.disconnected

Payload example:

JSON
1{
2 "id": "6d5b23e7-6f12-4179-b3a6-cbefb532798e",
3 "name": "connection.disconnected",
4 "account_id": "acct_istZCPlZO4K0P9isv4RFcg",
5 "data": {
6 "id": "YXBwaWRfSGN1UHp5UkFaem9rN09SYVJzcW06YWNjdF9pc3RaQ1BsWk80SzBQOWlzdjRSRmNn",
7 "account_id": "acct_istZCPlZO4K0P9isv4RFcg",
8 "status": "DISCONNECTED",
9 "authorized_scopes": [
10 "w:awx_action:transfers_edit",
11 "w:awx_action:contact_management_edit",
12 "r:awx_action:balances_view",
13 "r:awx_action:settings.account_details_view"
14 ]
15 },
16 "created_at": "2025-07-24T07:16:00+0000",
17 "version": "2022-11-11",
18 "source_id": "52f3c874-2827-437b-b3d2-a067444951d3"
19}

The data object is the same as the response body of Get OAuth Connection by ID API.

JSON
1{
2 "id": "YXBwaWRfSGN1UHp5UkFaem9rN09SYVJzcW06YWNjdF9pc3RaQ1BsWk80SzBQOWlzdjRSRmNn",
3 "account_id": "acct_istZCPlZO4K0P9isv4RFcg",
4 "status": "DISCONNECTED",
5 "authorized_scopes": [
6 "w:awx_action:transfers_edit",
7 "w:awx_action:contact_management_edit",
8 "r:awx_action:balances_view",
9 "r:awx_action:settings.account_details_view"
10 ]
11}
12
Was this page helpful?