v1

latestOpenAPI 3.1.02026-08-065163115.0 KB
Budget Topups

List budget topups

List the topups for a budget.

get/v1/businesses/{client_id}/budgets/{budget_id}/topups

Path parameters

client_idinteger required
Example:123

The ID of the business.

budget_idstring required

The ID of the budget.

Response

OK

countinteger

The total number of topups that match the query.

nextstring

The URL to the next page of topups.

previousstring

The URL to the previous page of topups.

Example response

{
  "count": 100,
  "next": "offset=50&limit=50",
  "previous": "offset=0&limit=50",
  "results": [
    {
      "id": "e33b7c61-5124-4ba0-b238-e4c573133715",
      "amount": 100,
      "description": "Additional funds for travel",
      "status": "APPROVED",
      "requested_by": {
        "id": 123,
        "first_name": "John",
        "last_name": "Doe",
        "name": "John Doe"
      },
      "actioned_by": {
        "id": 123,
        "first_name": "John",
        "last_name": "Doe",
        "name": "John Doe"
      },
      "actioned_on": "2024-01-01T00:00:00Z",
      "created": "2024-01-01T00:00:00Z",
      "updated": "2024-01-01T00:00:00Z"
    }
  ]
}