Skip to main content
PATCH
Update subscription plan
Update an existing subscription plan.

Authorizations

x-api-key
string
header
required

API key for merchant authentication required for most endpoints

Path Parameters

planId
string
required

Body

application/json
name
string
duration
enum<string>
Available options:
WEEKLY,
MONTHLY,
SIX_MONTHS,
YEARLY
amount
number

Plan amount

Example:

9.99

currency
string

Currency code (3-letter) for the plan

Example:

"USDC"

Response

200 - application/json

Plan updated

success
boolean
Example:

true

message
string
Example:

"Plan updated"

data
object