v1

latestOpenAPI 3.1.02026-07-241910582.8 KB

post/internal_accounts/{id}/request_closure

Path parameters

idstring required

Internal Account id

Response

idstring
objectstring
live_modeboolean
{"stackTrail":"paths:/internal_accounts/{id}/request_closure:post:responses:200:content:application/json:schema:properties:account_type","oasType":"schema","type":"unknown"}
party_namestring
{"stackTrail":"paths:/internal_accounts/{id}/request_closure:post:responses:200:content:application/json:schema:properties:party_type","oasType":"schema","type":"unknown"}
namestring
metadataobject
currencystring
parent_account_idstring
counterparty_idstring
created_atstring
updated_atstring

Example response

{
  "id": "3389fcaa-78ad-4656-988a-e3b6f2b05529",
  "object": "internal_account",
  "party_name": "Modern Treasury",
  "party_address": {
    "id": "d71521e9-6c54-41e3-97fb-5e43bdba7e5a",
    "object": "address",
    "line1": "3450 Tremblay Shoal",
    "line2": "Suite 155",
    "locality": "North Shantae",
    "region": "OR",
    "postal_code": "13671",
    "country": "US",
    "created_at": "2021-12-21T15:06:39Z",
    "updated_at": "2021-12-21T15:06:39Z"
  },
  "account_details": [
    {
      "id": "14758ea7-4082-4760-8c82-ad88964869e2",
      "object": "account_detail",
      "account_number_safe": "6418",
      "account_number_type": "other",
      "created_at": "2021-12-21T15:06:39Z",
      "updated_at": "2021-12-21T15:06:39Z"
    }
  ],
  "routing_details": [
    {
      "id": "4860c76a-752d-43ac-ae4f-a1cdb5e8078f",
      "object": "routing_detail",
      "routing_number": "021000021",
      "routing_number_type": "aba",
      "bank_name": "JPMorgan Chase Bank, National Association",
      "bank_address": {
        "id": "8fd2389e-0678-4a42-8ec0-27919c894a85",
        "object": "address",
        "line1": "1111 Polaris Pkwy",
        "locality": "Columbus",
        "region": "OH",
        "postal_code": "43240",
        "country": "US",
        "created_at": "2021-12-21T15:06:39Z",
        "updated_at": "2021-12-21T15:06:39Z"
      },
      "created_at": "2021-12-21T15:06:39Z",
      "updated_at": "2021-12-21T15:06:39Z"
    }
  ],
  "name": "Bookings",
  "connection": {
    "id": "dac94e63-9f4a-46b9-ba6b-412acfbf4cc1",
    "object": "connection",
    "vendor_id": "example1",
    "vendor_name": "Gringotts Wizarding Bank",
    "created_at": "2018-07-24T23:43:49Z",
    "updated_at": "2018-07-24T23:43:49Z"
  },
  "currency": "USD",
  "parent_account_id": "2bb73f51-7ca2-4710-94f8-938f26c096a9",
  "counterparty_id": "8646ad4a-f582-454f-9928-148dcb445995",
  "created_at": "2021-12-21T15:06:39Z",
  "updated_at": "2021-12-21T15:06:39Z"
}