Appearance
Delete a bank account​
DELETE
/v1/wallet/fiat/{currency}/accounts/{id}
Requires BANK_ACCOUNTS_MANAGE, granted by BANK_ACCOUNTS_WRITE (bundles)
Deletes a bank account linked to the account (the primary, or the sub-account selected with X-VALR-SUB-ACCOUNT-ID) so it can't receive withdrawals any more. Send a Content-Type: application/json header even though the request has no body.
Parameters​
Path Parameters
currency*
Fiat currency, e.g. ZAR.
Type
Requiredstring
Example
"ZAR"id*
Bank account ID: the id returned when it was linked or listed.
Type
Requiredstring
Example
"3c9e1f42-7d5b-4a8e-9f21-6b0d8c4e7a15"Format
"uuid"Responses​
No content
Samples​
Errors
| HTTP | Error | When |
|---|---|---|
| 400 | -11INVALID_REQUEST | The bank account ID isn't a valid UUID, or the Content-Type: application/json header is missing. |
| 404 | -14203COULD_NOT_GET_LINKED_ACCOUNT | No bank account with this ID is linked to the account. |
Plus the errors common to all signed endpoints.