API Reference
GET
/api/v1/accounts/{accountId}/balance

Returns the balance for the specified account

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

Path Parameters

accountId*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/accounts/string/balance"
{
  "balance": {
    "amount": 0,
    "currency": "string"
  }
}
{
  "error": "Unauthorized",
  "message": "Authentication required. Provide x-api-key header or Authorization: Bearer token."
}
{
  "error": "Forbidden",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}