v51

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-014102371.0 MB
Billing

Get list of billing accounts

Returns a list of all billing accounts. Requires project super admin permission.

get/billing_accounts

Query parameters

page_sizeinteger
Example:25

Number of results to return per page.

page_tokenstring

Cursor token for pagination. Use the next_page_token value from the previous response.

Response

Successfully retrieved billing accounts list.

next_page_tokenstring

Token for the next page of results.

Example response

{
  "next_page_token": "2026-01-15T09:30:00.000000Z",
  "result": [
    {
      "id": "b8c9d0e1-f2a3-4567-8901-23456789abcd",
      "customer_id": "7c4d2f3a-1b8e-4f5c-9a6d-3e2f1a0b4c5d",
      "status": "active",
      "name": "Production Account",
      "detail": "Main billing account for production services",
      "plan_type": "basic",
      "plan_status": "active",
      "balance_credit": 1500000,
      "balance_token": 500,
      "payment_type": "prepaid",
      "payment_method": "credit card",
      "paddle_subscription_id": "sub_01h8bxq9f3e4t5a6g7h8j9k0",
      "paddle_customer_id": "ctm_01h8bxq9f3e4t5a6g7h8j9k0",
      "tm_last_topup": "2026-01-15T09:30:00.000000Z",
      "tm_next_topup": "2026-01-15T09:30:00.000000Z",
      "tm_create": "2026-01-15T09:30:00.000000Z",
      "tm_update": "2026-01-15T09:30:00.000000Z",
      "tm_delete": "2026-01-15T09:30:00.000000Z"
    }
  ]
}