Skip to main content
GET
/
subscription-configs
/
{id}
Get subscription configuration
curl --request GET \
  --url https://api.lavapayments.com/v1/subscription-configs/{id} \
  --header 'Authorization: Bearer <token>'
{
  "subscription_config_id": "<string>",
  "merchant_id": "<string>",
  "name": "<string>",
  "period_amount": "<string>",
  "rollover_type": "full",
  "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

Subscription configuration ID

Response

Subscription configuration details

subscription_config_id
string
required

Unique identifier for the subscription configuration

merchant_id
string
required

Merchant ID that owns this configuration

name
string
required

Name of the subscription configuration

period_amount
string
required

Period amount in USD (high precision decimal as string)

rollover_type
enum<string>
required

Type of rollover for unused funds

Available options:
full,
none
created_at
string<date-time>
required

When the configuration was created