54 lines
1.4 KiB
Markdown
54 lines
1.4 KiB
Markdown
---
|
|
name: balance-routes
|
|
description: Handle 3 OpenAPI operation(s) under /v1/balance for the balance route group.
|
|
---
|
|
|
|
# balance API Routes
|
|
|
|
Handle 3 OpenAPI operation(s) under /v1/balance for the balance route group.
|
|
|
|
Use the generated operation tools to make real API calls. Do not invent API responses.
|
|
If a tool reports missing setup, return the exact setup field name to the caller.
|
|
For write, update, or delete operations, state the intended action before calling the tool.
|
|
|
|
## Operations
|
|
|
|
### get_balance
|
|
|
|
- Operation ID: `get_balance`
|
|
- Route: `GET /v1/balance`
|
|
- Mode: READ
|
|
- Summary: Retrieve balance
|
|
- Parameters:
|
|
- `expand` in `query`
|
|
- Body: JSON request body accepted.
|
|
|
|
### get_balance_history
|
|
|
|
- Operation ID: `get_balance_history`
|
|
- Route: `GET /v1/balance/history`
|
|
- Mode: READ
|
|
- Summary: List all balance transactions
|
|
- Parameters:
|
|
- `created` in `query`
|
|
- `currency` in `query`
|
|
- `ending_before` in `query`
|
|
- `expand` in `query`
|
|
- `limit` in `query`
|
|
- `payout` in `query`
|
|
- `source` in `query`
|
|
- `starting_after` in `query`
|
|
- `type` in `query`
|
|
- Body: JSON request body accepted.
|
|
|
|
### get_balance_history_id
|
|
|
|
- Operation ID: `get_balance_history_id`
|
|
- Route: `GET /v1/balance/history/{id}`
|
|
- Mode: READ
|
|
- Summary: Retrieve a balance transaction
|
|
- Parameters:
|
|
- `expand` in `query`
|
|
- `id` in `path` required
|
|
- Body: JSON request body accepted.
|