Close Account

Close a Banking Connectivity account. The account must have a zero balance before it can be closed.

DELETE/banking/accounts/{account_id}

Path Parameters

account_idstringrequired

The unique identifier of the account. Found on the WHITELABEL dashboard (UUID, 36 chars).

Response

idstring
entity_idstring
onboarding_idstring
account_idstring
providerobject
Show provider properties
account_idstring
account_typestring
statusstring
account_numberstring
routing_numberstring
ibanany
currencystring
balanceobject
Show balance properties
availableinteger
currentinteger
pendinginteger
account_detailsobject
Show account_details properties
account_namestring
sort_codeany
bsbany
swiftany
payment_railsobject
Show payment_rails properties
incomingstring[]
outgoingstring[]
supports_book_transfersboolean
created_atstring
updated_atstring

Bad Request

codestring
messagesstring[]
http_codeinteger

Not Found

codestring
messagesstring[]
http_codeinteger
Request
curl -X DELETE "https://api-sandbox.whitelabel.com/v1/banking/accounts/<account_id>" \
  -H "public-api-key: <public-api-key>" \
  -H "private-secret-key: <private-secret-key>"
Response
{
  "id": "acct_aa0e8400-e29b-41d4-a716-446655440000",
  "entity_id": "ent_660e8400-e29b-41d4-a716-446655440000",
  "onboarding_id": "onb_990e8400-e29b-41d4-a716-446655440000",
  "account_id": "550e8400-e29b-41d4-a716-446655440000",
  "provider": {
    "account_id": "col_bank_account_789"
  },
  "account_type": "CHECKING",
  "status": "CLOSED",
  "account_number": "1234567890",
  "routing_number": "123456789",
  "iban": null,
  "currency": "USD",
  "balance": {
    "available": 0,
    "current": 0,
    "pending": 0
  },
  "account_details": {
    "account_name": "John Doe - Checking",
    "sort_code": null,
    "bsb": null,
    "swift": null
  },
  "payment_rails": {
    "incoming": [
      "ACH"
    ],
    "outgoing": [
      "ACH"
    ]
  },
  "supports_book_transfers": true,
  "created_at": "2026-02-01T10:10:00Z",
  "updated_at": "2026-02-25T14:30:00Z"
}