v1

latestOpenAPI 3.0.02026-07-247150151.6 KB
Accounts

Close an Account

post/accounts/{account_id}/close

Response

OK

account_idstring
program_idstring nullable
customer_idstring nullable
business_idstring nullable
type'deposit' | 'credit' | 'security_deposit' | 'external'
status'active' | 'inactive' | 'frozen' | 'closed'
descriptionstring
routing_numberstring nullable
account_numberstring nullable
cardsstring[]
date_updatedstring
date_createdstring
depositAccountDeposit

Example response

{
  "account_id": "979e14cd-6fe4-4765-b7a4-d4eff102cc4a",
  "program_id": "3c23ab0e-cdef-47b5-aa7c-769bf6a3c1c9",
  "customer_id": "dd3b3e26-cbd8-4dee-a133-1637eb488292",
  "business_id": "590f65b1-98c7-4d22-bc90-4024023d4f3f",
  "status": "active",
  "description": "cust_01",
  "routing_number": "547897762",
  "account_number": "574771265",
  "cards": [
    "a0cdca3b-e667-4ead-b8d8-27f171406216"
  ],
  "date_updated": "2020-08-15T19:39:34Z",
  "date_created": "2020-08-15T19:39:34Z",
  "balance": {
    "current_balance": 45412,
    "available_balance": 48312,
    "locked_balance": 48312,
    "previous_statement_balance": "17312",
    "currency": "USD"
  },
  "credit": {
    "credit_limit": 1000,
    "security_deposit_account_id": "46352399-d005-451a-b988-27b8c878503e"
  }
}