cURL
curl --request GET \ --url https://api.contextual.ai/v1/billing/balance/top-ups \ --header 'Authorization: Bearer <token>'
{ "top_ups": [ { "amount": 123, "created_at": "2023-11-07T05:31:56Z", "description": "<string>", "starting_balance": 123, "ending_balance": 123 } ], "has_more": true, "cursor": "<string>" }
Get the top-up history for a tenant. Paginated.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
x <= 50
Successful Response
Response to GET /billing/free-credit request
List of top-ups
Show child attributes
Amount of the top-up
Date when the top-up was created
Description of the top-up
Starting balance before the top-up
Ending balance after the top-up
Whether there are more top-ups to fetch
Cursor for next page
Was this page helpful?