cURL
curl --request PUT \ --url https://api.lavapayments.com/v1/subscription-configs/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "period_amount": "<string>", "rollover_type": "full" } '
{ "success": true }
Update an existing subscription configuration
Bearer token authentication used for standard API calls. Format: 'Bearer YOUR_API_KEY'
Subscription configuration ID
Name of the subscription configuration
Period amount in USD (high precision decimal as string)
Type of rollover for unused funds
full
none
Subscription configuration updated