API Reference
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"
}Get account transactions GET
Returns transactions for the specified account. Use include_pending=true to include pending (unposted) transactions. Use from/to to filter by date range.
Get account holdings GET
Returns investment holdings for the specified brokerage account. Only available for accounts from providers that support holdings (SnapTrade, MX, Finicity, Pluggy).