For the complete documentation index, see llms.txt. This page is also available as Markdown.

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
Api-KeystringRequired

Your secret API key, available in the developer dashboard. Include this header on every request to authenticate your application.

Responses
200

Successful external accounts retrieval response

application/json
itemsone of[]Optional
or
or
get/v0/customers/{customer_id}/external-accounts
GET /v0/customers/{customer_id}/external-accounts HTTP/1.1
Host: api.alignlabs.dev
Api-Key: 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