v25

latestOpenAPI 3.1.0raw.githubusercontent.com2024-11-23142234.7 KB

Get Accounts

get/accounts

Query parameters

idstring

GoCardLess reference id

Example:3fa85f64-5717-4562-b3fc-2c963f66afa6
provider'teller' | 'plaid' | 'gocardless' required
Example:teller
accessTokenstring

Teller or Plaid access token

Example:test_token_ky6igyqi3qxa4
institutionIdstring

Plaid institution id

Example:ins_109508

Response

Retrieve accounts

Example response

{
  "data": [
    {
      "id": "9293961c-df93-4d6d-a2cc-fc3e353b2d10",
      "name": "Savings account",
      "type": "depository",
      "balance": {
        "amount": 100,
        "currency": "USD"
      },
      "currency": "USD",
      "institution": {
        "id": "9293961c-df93-4d6d-a2cc-fc3e353b2d10",
        "name": "Wells Fargo Bank",
        "logo": "https://cdn.midday.ai/institution/9293961c-df93-4d6d-a2cc-fc3e353b2d10.jpg",
        "available_history": 365,
        "provider": "teller"
      },
      "enrollment_id": "add29d44-1b36-4bcc-b317-b2cbc73ab8e7"
    }
  ]
}