API Reference
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
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/accounts"{
"accounts": [
{
"id": 0,
"name": "string",
"institution_name": "string",
"institution_logo": "string",
"provider": "gocardless",
"currency": "string",
"status": "ACTIVE"
}
],
"total": 0
}{
"error": "Unauthorized",
"message": "Authentication required. Provide x-api-key header or Authorization: Bearer token."
}{
"error": "Forbidden",
"message": "string"
}{
"error": "string",
"message": "string"
}