Virtual Account Statuses
Deactivating Virtual Accounts
Our virtual accounts can be deactivated after being issued. When you deactivate a virtual account, you prevent your account from receiving funds. Whenever money is sent to an inactive account, we automatically return funds to the sender.
curl --location --request POST 'https://xxxx/customers/<id>/virtual_accounts/<id>/deactivate' \
--header 'Content-Type: application/json' \
--header 'Api-Key: <Api-Key>' \
--header 'Idempotency-Key: <Unique Idempotency Key>'
Reactivating Virtual Accounts
When you deactivate a virtual account it can be easily re-instated using the reactivate endpoint
curl --location --request POST 'https://xxxx/customers/<id>/virtual_accounts/<id>/reactivate' \
--header 'Content-Type: application/json' \
--header 'Api-Key: <Api-Key>' \
--header 'Idempotency-Key: <Unique Idempotency Key>'
Last updated