API For Billing
Returns a paginated list of billing records for the authenticated user, with optional filters (type, date range, status, payment method) and sorting.
Maximum number of items to return per page. Default: 30
Requested page number (1-based). Default: 1
Billing record type. 1: Purchase, 2: Wallet top-up
Filter by start date (YYYY-MM-DD), e.g., 2025-08-01
Filter by end date (YYYY-MM-DD), e.g., 2025-08-30
Field to sort by: id, amount, number_of_ips. Default: id
Sort order: desc or asc. Default: desc
Billing status. 0: pending, 1: success, -1: failed
Filter by payment method.
Successful response
Billing records list response payload.
Indicates whether the request was successful.
Human-readable response message.
Bad request
Authentication error
GET /client/v1/billings/get-list HTTP/1.1
Host: sandbox.9proxy.com
Accept: */*
{
"success": true,
"message": "text",
"result": {
"items": [
{
"id": "text",
"billing_number": "text",
"type": 1,
"package_id": null,
"account_id": 1,
"amount": 1,
"number_of_ips": null,
"amount_traffic": null,
"payment_method": 1,
"status": 1,
"created_at": 1
}
],
"total_items": 1,
"total_pages": 1
}
}Last updated
Was this helpful?