Gravv
/Docs
Search docs or ask a question⌘K
DocsAgent
ChangelogTry sandbox
External accounts Delete an external account

Delete an external account

Deletes an external account and returns it with `status` `deleted`. A deleted account leaves the list and can no longer be paid. You can add the same details again. `GET` still returns the deleted account. Gravv changes nothing at any bank or payout partner.

DELETEhttps://api.gravv.xyz/v1/external-accounts/{external_account_id}Try it
Api-Key

Deletes an external account and returns it with status deleted. A deleted account leaves the list and can no longer be paid. You can add the same details again. GET still returns the deleted account. Gravv changes nothing at any bank or payout partner.

Any status except an account whose setup is still running can be deleted. This route needs the payee:delete permission and no Idempotency-Key. Gravv sends an external_account.deleted webhook.

Path parameters

NameDescription
external_account_id:stringRequired
ID of the external account

Response

Returns 200 OK. Deleted. data.status is deleted.

NameDescription
data:object
An external account. Empty fields are left out.
Show 21 child attributesobject
error:null

Errors

StatusMeaning
200Deleted. data.status is deleted.
400The ID is not valid
403Your key does not hold the payee:delete permission
404No such external account, or it is already deleted
409The account's setup is still running, or it changed while Gravv deleted it. Retry once setup completes.
500The delete failed. Retry later.
Was this page helpful? Yes No
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl --request DELETE \
--url 'https://api.gravv.xyz/v1/external-accounts/6a2f0c1e-93b4-4d0e-8f57-1c2b3d4e5f60' \
--header 'Api-Key: <api-key>'
Responseapplication/json
200400403404409500OK
{
"data": {
"id": "6a2f0c1e-93b4-4d0e-8f57-1c2b3d4e5f60",
"payee_type": "swift",
"account_number": "12345678",
"institution_id": "1f2e3d4c-5b6a-4978-8a9b-0c1d2e3f4a5b",
"institution_type": "swift",
"institution_name": "Example Bank",
"account_name": "ACME TRADING LTD",
"bic": "MIDLGB22",
"customer_id": "3130ca8b-8b32-4843-8623-bf83e766b86a",
"currency": "USD",
"institution_country_iso_code": "GB",
"account_owner_type": "business",
"status": "deleted",
"date_created": "2026-10-12T09:15:22.481Z"
},
"error": null
}