v1

latestOpenAPI 3.0.32026-07-2488203535.0 KB
Plans

Update Plan

Update an existing recurring payment plan. Be careful when updating an existing plan, as all customers signed up for this plan will have their billing changed based on your edits.

put/v5/plans/{id}

Path parameters

idstring required

The plan ID to update

Request body

OR

Response

Success

object'plan' required

Resource type identifier

idstring required

Plan ID (SKU)

plan_namestring

Plan name

plan_amountstring

Plan amount

plan_paymentsstring

Number of payments (0 = until canceled)

day_frequencystring

Day frequency (0 if not applicable, empty if not set)

month_frequencystring

Month frequency (0 if not applicable, empty if not set)

day_of_monthstring

Day of month (empty if not applicable)