Skip to main content
POST
/
subscription-configs
Create subscription configuration
curl --request POST \
  --url https://api.lavapayments.com/v1/subscription-configs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "period_amount": "<string>",
  "rollover_type": "full"
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

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

Body

application/json
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

Response

Subscription configuration created

success
boolean