Airwallex logo
Airwallex logo

Charges

Relevant webhook events:

  • charge.new
  • charge.pending
  • charge.settled
  • charge.suspended

Payload example:

JSON
1{
2 "accountId":"acct_TOslkS7-MnyXlQuV8Lb4og",
3 "data":Object{...},
4 "id":"86b69f91-06f0-3fe8-8faf-4de58954ca8e",
5 "name":"charge.new"
6}

data is the response of Get a charge by ID API:

JSON
1{
2 "amount": 10000,
3 "createdAt": "2017-03-22T16:08:02+1100",
4 "currency": "AUD",
5 "fee": 10,
6 "id": "d9af1614-a6a1-4d45-aae7-6858fc6d9ede",
7 "reason": "travel",
8 "reference": "PMT1936398",
9 "requestId": "7f687fe6-dcf4-4462-92fa-80335301d9d2",
10 "source": "1936398",
11 "status": "NEW",
12 "updatedAt": "2018-03-22T16:08:02+1100"
13}
Was this page helpful?