Offboardings
Simulate status transitions for connected account offboarding in the sandbox environment.
POST /api/v1/simulation/accounts/{account_id}/offboardings/{id}/cancelPOST /api/v1/simulation/accounts/{account_id}/offboardings/{id}/complete
Cancel an Offboarding
POST /api/v1/simulation/accounts/{account_id}/offboardings/{id}/cancel
Use this endpoint to simulate cancelling the offboarding of a connected account.
Connected account open ID.
Unique ID for the offboarding.
Additional notes or comments regarding the offboarding.
The time when the offboarding request was created.
Unique ID for the offboarding.
Reasons for the account offboarding provided by the customer.
Offboarding status.
PENDINGThe offboarding request has been received and is currently being processed.
COMPLETEDThe offboarding request is complete and the account has been closed.
CANCELLEDThe offboarding request has been cancelled.
The time when the offboarding request was last updated.
| Error status | Description |
|---|---|
| 400 | Possible errors: |
| 401 | credentials_invalid |
| 404 | Possible errors: |
| 500 | service_unavailable |
$curl --request POST \> --url 'https://api.sandbox.airwallex.com/api/v1/simulation/accounts/account_id/offboardings/offboarding_id/cancel' \> --header 'Authorization: Bearer <token>' \> --header 'Content-Type: application/json'
1{2 "comment": "offboard by platform through client api",3 "created_at": "2026-03-24T10:00:00+0000",4 "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",5 "reason_code": "OTHER",6 "status": "CANCELLED",7 "updated_at": "2026-06-15T12:00:00+0000"8}
Complete an Offboarding
POST /api/v1/simulation/accounts/{account_id}/offboardings/{id}/complete
Use this endpoint to simulate completing the offboarding of a connected account.
Connected account open ID.
Unique ID for the offboarding.
Additional notes or comments regarding the offboarding.
The time when the offboarding request was created.
Unique ID for the offboarding.
Reasons for the account offboarding provided by the customer.
Offboarding status.
PENDINGThe offboarding request has been received and is currently being processed.
COMPLETEDThe offboarding request is complete and the account has been closed.
CANCELLEDThe offboarding request has been cancelled.
The time when the offboarding request was last updated.
| Error status | Description |
|---|---|
| 400 | Possible errors: |
| 401 | credentials_invalid |
| 404 | Possible errors: |
| 500 | service_unavailable |
$curl --request POST \> --url 'https://api.sandbox.airwallex.com/api/v1/simulation/accounts/account_id/offboardings/offboarding_id/complete' \> --header 'Authorization: Bearer <token>' \> --header 'Content-Type: application/json'
1{2 "comment": "offboard by platform through client api",3 "created_at": "2026-03-24T10:00:00+0000",4 "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",5 "reason_code": "OTHER",6 "status": "COMPLETED",7 "updated_at": "2026-06-15T12:00:00+0000"8}