cURL
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 }
Create a new subscription configuration
Bearer token authentication used for standard API calls. Format: 'Bearer YOUR_API_KEY'
Name of the subscription configuration
Period amount in USD (high precision decimal as string)
Type of rollover for unused funds
full
none
Subscription configuration created