Search...
APIJSLog inGet started
Airwallex logo
Home
Platform APIs
Connected Accounts
Accounts
Payments
Transactional FX
Payouts
Issuing
Back to home
OverviewAPI
SDKs
Demo environment
Demo environment overviewConnected accounts
Simulate account amendment status transition
Simulate connected account status transition
Deposits
Linked Accounts
Payments
Payouts
Issuing
Risk

Simulate account amendment status transition

You can conduct unit and end-to-end testing of your accounts integration by simulating account amendment approvals and rejection in the demo environment. These simulation APIs allow you to make account amendments such as updating business details or primary contact details without requiring KYC review.

Key simulation scenarios include:

  • Approve an account amendment
  • Reject an account amendment

The approve and reject actions are asynchronous and may take some time to complete. The simulation APIs do not guarantee an immediate status change upon request. We recommend that you subscribe to account amendment webhooks to listen for status changes.

As a platform account, you can call the simulation APIs on behalf of a connected account using the x-on-behalf-of header.

Approve an account amendment

Create an account amendment API on an account that has passed KYC verification by specifying the details you want to amend. A successful response will return a unique identifier for the amendment and the status as PENDING.

Call Approve an account amendment API using the amendment ID. Subscribe to account amendment webhooks and listen for account_amendment.approved event for the status change to APPROVED.

Shell

Reject an account amendment

Call Reject an account amendment API using the identifier of the amendment in status PENDING. Subscribe to account amendment webhooks and listen for account_amendment.rejected event for the status change to REJECTED.

Shell

The response object is the same as Get an account amendment API.

Troubleshooting

Error Error response Recommended actions
Amendment is not found {
"code": "not_found",
"message": "Amendment {{id}} is not found."
}
Check if the amendment is under the current account.
Amendment is not in PENDING state {
"code": "invalid_argument",
"message": "Amendment {{id}} is not in PENDING state."
}
Only amendments in the PENDING state can be approved or rejected.
Amendment is not ready to be operated {
"code": "invalid_argument",
"message": "Amendment {{id}} is not ready to be operated. Please try again later."
}
The automation is still running. Try again later.
Was this page helpful?
On this page
  • Approve an account amendment
  • Reject an account amendment
  • Troubleshooting
Was this page helpful?