Skip to main content
GET
/
credit_bundles
/
{id}
Get a credit bundle
curl --request GET \
  --url https://api.lavapayments.com/v1/credit_bundles/{id} \
  --header 'Authorization: Bearer <token>'
{
  "credit_bundle_id": "<string>",
  "subscription_config_id": "<string>",
  "name": "<string>",
  "cost": "<string>",
  "credit_amount": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Credit bundle ID

Response

Credit bundle details

credit_bundle_id
string
required

Unique identifier for the credit bundle

subscription_config_id
string
required

Subscription configuration this bundle belongs to

name
string
required

Display name of the credit bundle

cost
string
required

Price of the bundle in USD (high precision decimal as string)

credit_amount
string
required

Amount of credits in the bundle (high precision decimal as string)

created_at
string<date-time>
required

When the credit bundle was created