Skip to main content
PUT
/
subscription-configs
/
{id}
Update subscription configuration
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
}

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

Body

application/json
name
string

Name of the subscription configuration

period_amount
string

Period amount in USD (high precision decimal as string)

rollover_type
enum<string>

Type of rollover for unused funds

Available options:
full,
none

Response

Subscription configuration updated

success
boolean