Get All External Accounts

Get External Accounts

get
/v0/customers/{customer_id}/external-accounts

Retrieves all external accounts for a customer

Path parameters
customer_idstringRequired

The unique identifier of the customer

Header parameters
AuthorizationstringRequired

Token for authentication

Responses
200

Successful external accounts retrieval response

application/json
get
/v0/customers/{customer_id}/external-accounts
GET /v0/customers/{customer_id}/external-accounts HTTP/1.1
Host: api.alignlabs.dev
Authorization: text
Accept: */*
200

Successful external accounts retrieval response

{
  "items": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "created_at": "2023-01-01T00:00:00Z",
      "bank_name": "text",
      "account_holder_type": "individual",
      "account_holder_first_name": "text",
      "account_holder_last_name": "text",
      "account_holder_business_name": "text",
      "account_holder_address": {
        "country": "US",
        "city": "San Francisco",
        "street_line_1": "580 Howard, Suite PH San Francisco",
        "postal_code": "94105"
      },
      "account_type": "iban",
      "iban": {
        "iban_number": "text",
        "bic": "text"
      }
    }
  ]
}

Last updated