Skip to main content
GET
/
credit_bundles
List credit bundles
curl --request GET \
  --url https://api.lavapayments.com/v1/credit_bundles \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "credit_bundle_id": "<string>",
      "subscription_config_id": "<string>",
      "name": "<string>",
      "cost": "<string>",
      "credit_amount": "<string>",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ],
  "has_more": true,
  "next_cursor": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token authentication used for standard API calls. Format: 'Bearer YOUR_API_KEY'

Query Parameters

cursor
string

Pagination cursor from a previous response

limit
integer
default:10

Maximum number of results to return (1-100)

Required range: 1 <= x <= 100
subscription_config_id
string

Filter credit bundles by subscription configuration ID

Response

List of credit bundles

data
object[]
has_more
boolean
next_cursor
string