DELETE/v1/accounts/{account}/bank_accounts/{id}

Delete an external account

Deletes a specified external account (bank account or card) for a given account. Once deleted, the external account can no longer be used for payouts or other operations. Returns a confirmation object with the deleted flag set to true.

2 parameters
accountstringrequired

The unique identifier of the account that owns the external account.

idstringrequired

The unique identifier of the external account to delete.

2 status codes
200Returns a deleted confirmation object with the external account's id and deleted flag set to true.
currencystringoptional

Three-letter ISO code for the currency paid out to the bank account.

deletedbooleanrequired

Always true for a deleted object

Allowed:true
idstringrequired

Unique identifier for the object.

objectstringrequired

String representing the object's type. Objects of the same type share the same value.

Allowed:bank_account
defaultError response.
errorobjectrequired

Error handling

account and id must identify an existing external account belonging to the specified account.