Skip to main content
GET
/
payout
/
rails
/
customers
/
{customer_id}
/
external-accounts
Get all external accounts for a customer
curl --request GET \
  --url http://localhost:4000/v1/payout/rails/customers/{customer_id}/external-accounts \
  --header 'Authorization: <api-key>'
{
  "data": [
    {
      "id": "ea_567",
      "customer_id": "cust_567",
      "account_type": "clabe",
      "currency": "mxn",
      "account_owner_name": "Juan García",
      "bank_name": "Banco Santander México",
      "active": true,
      "created_at": "2020-01-01T00:00:00.000Z",
      "updated_at": "2020-01-02T00:00:00.000Z",
      "clabe": {
        "last_4": "0007"
      },
      "account_owner_type": "individual",
      "first_name": "Juan",
      "last_name": "García",
      "account": {
        "last_4": "1111",
        "routing_number": "121000248",
        "checking_or_savings": "checking"
      }
    }
  ],
  "count": 2
}

Authorizations

Authorization
string
header
required

Use this format: ApiKey <your_api_key>

Path Parameters

customer_id
string
required

Bridge customer ID (UUID)

Example:

"e3b0c442-98fc-1c14-b39f-92d1282e8b7a"

Response

External accounts retrieved successfully

data
object[]
required

Array of external accounts for the customer

count
number
required

Total number of external accounts

Example:

2