Settlements
Represents the set of endpoints you use to track and manage payment settlements that contribute to your Airwallex account balance. You can list settlements with optional filters, retrieve a settlements overview for a specific settlement by settlement batch unique identifier, and download batch settlement reports for reconciliation or record keeping.
GET /api/v1/pa/financial/settlementsGET /api/v1/pa/financial/settlements/{id}GET /api/v1/pa/financial/settlements/{id}/report
Get list of settlements
GET /api/v1/pa/financial/settlements
Get list of settlements that contributed to the Airwallex account balance from a specified settled date, with optional filters on end settled date, currency and status.
Currency of the settlement
The start date of settled_at in ISO8601 format (inclusive)
Status of the settlement, one of: PENDING, SETTLED
The end date of settled_at in ISO8601 format (inclusive)
Page number, starts from 0.
Number of results per page, default is 100, max is 1000
A flag which identifies whether there are more results.
List items
Settlement amount Airwallex pays to the merchant
The time this settlement was created at
Currency of the settlement
The time when the settlement will be settled at
Fee of the settlement
Batch unique identifier of the settlement
The time this settlement was settled at
One of PENDING, SETTLED
| Error status | Description |
|---|---|
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
$curl --request GET \> --url 'https://api-demo.airwallex.com/api/v1/pa/financial/settlements' \> --header 'Authorization: Bearer {{ACCESS_TOKEN}}' \> --header 'Content-Type: application/json'
1{2 "has_more": true,3 "items": [4 {5 "amount": 99,6 "created_at": "2019-11-21",7 "currency": "CNY",8 "estimated_settled_at": "2019-11-21",9 "fee": 1,10 "id": "bat_20190328_EUR_1",11 "settled_at": "2019-11-21",12 "status": "PENDING"13 }14 ]15}
Get a settlement by ID
GET /api/v1/pa/financial/settlements/{id}
Get a specific settlement detail by specifying the Airwallex settlement unique identifier.
Batch unique identifier of transaction
Settlement amount Airwallex pays to the merchant
The time this settlement was created at
Currency of the settlement
The time when the settlement will be settled at
Fee of the settlement
Batch unique identifier of the settlement
The time this settlement was settled at
One of PENDING, SETTLED
| Error status | Description |
|---|---|
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
$curl --request GET \> --url 'https://api-demo.airwallex.com/api/v1/pa/financial/settlements/settlement_id' \> --header 'Authorization: Bearer {{ACCESS_TOKEN}}' \> --header 'Content-Type: application/json'
1{2 "amount": 99,3 "created_at": "2019-11-21",4 "currency": "CNY",5 "estimated_settled_at": "2019-11-21",6 "fee": 1,7 "id": "bat_20190328_EUR_1",8 "settled_at": "2019-11-21",9 "status": "PENDING"10}
Get a settlement report by ID
GET /api/v1/pa/financial/settlements/{id}/report
Get a single batch settlement report by specifying the Airwallex settlement batch unique identifier.
Batch unique identifier of transaction
File format of the requested report (Not applicable to version 1.0.0). Supported formats are csv and excel. Default format is excel.
Version of the report: 1.0.0 (default) and 1.1.0 (recommended based on latest settlement report version )
The date and time this settlement report was created
Batch Id of the settlement
The url of the report
| Error status | Description |
|---|---|
| 400 | Bad Request. Possible error codes: |
| 401 | Unauthorized. Possible error codes: |
| 403 | Forbidden |
| 404 | Not Found |
| 500 | Server Error. Possible error codes: |
$curl --request GET \> --url 'https://api-demo.airwallex.com/api/v1/pa/financial/settlements/settlement_id/report' \> --header 'Authorization: Bearer {{ACCESS_TOKEN}}' \> --header 'Content-Type: application/json'
1{2 "created_at": "2019-11-15T20:00:48+0000",3 "id": "bat_20190328_EUR_1",4 "report_url": "https://www.airwallex.com"5}