v1

latestOpenAPI 3.1.02026-07-26590236.8 KB

Update Bank Account

This endpoint can be used to update the status of an account i.e to reactivate or deactivate the account.

patch/bank_account/{account_id}

Path parameters

account_idstring required

Request body

status'active' | 'inactive'

Response

200

messagestring
{"stackTrail":"paths:/bank_account/{account_id}:patch:responses:200:content:application/json:schema:properties:meta","oasType":"schema","type":"unknown"}
statusstring

Example response

{
  "data": {
    "id": "0eaf00acb2d311ef97d00edb5e3a61d3",
    "holder_id": "9386ba06b2cd11ef97d00edb5e3a61d3",
    "holder_type": "person",
    "label": "Collection Account",
    "account_name": "TAKESHI KOVACS",
    "account_number": "900930224184",
    "routing_number": "101019644",
    "bank_name": "Bank of Graph",
    "bank_address": {
      "line1": "1801 Main St.",
      "city": "Jacob City",
      "state": "DE",
      "country": "US",
      "postal_code": "64108"
    },
    "beneficiary_address": {
      "line1": "34 Marka Close",
      "city": "Ikeja",
      "state": "Lagos",
      "country": "NG",
      "postal_code": "100612"
    },
    "currency": "USD",
    "currency_settlement": "USD",
    "autosweep_enabled": true,
    "type": "personal_virtual",
    "kind": "standard",
    "status": "active",
    "created_at": "2024-12-05T06:35:02Z",
    "updated_at": "2025-02-10T06:47:19Z"
  },
  "message": "Account updated successfully",
  "status": "success"
}