API Reference
GET
/api/v1/accounts

Returns a list of all connected bank accounts for the authenticated user

Authorization

ApiKeyAuth
x-api-key<token>

Your API key for authentication. Create an API destination in your Lunch Flow dashboard to get your API key.

In: header

Query Parameters

include_raw?string

Include the raw provider data in each item under raw

Default"false"
Value in"true" | "false"

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/accounts"
{
  "accounts": [
    {
      "id": 0,
      "connection_id": 0,
      "name": "string",
      "institution_name": "string",
      "institution_logo": "string",
      "provider": "gocardless",
      "currency": "string",
      "status": "ACTIVE",
      "raw": {
        "property1": null,
        "property2": null
      }
    }
  ],
  "total": 0
}
{
  "error": "Unauthorized",
  "message": "Authentication required. Provide x-api-key header or Authorization: Bearer token."
}
{
  "error": "Forbidden",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}