v1
latestOpenAPI 3.1.02026-07-24170121.2 MBUpdate a Plan
This API updates an existing plan.
patch/v1/plans/{plan_id}
Path parameters
plan_idstring required
plan_id here updates the information of the unique Plan ID.
Headers
Acceptstring required
Indicates which content types, expressed as MIME types, the client is able to understand.
Content-Typestring required
Indicates the media type of the resource sent in the HTTP message body. <br /><br /><b>Possible Values:</b><br /> application/json<br />application/x-www-form-urlencoded
Request body
Response
200
Example response
{
"data": {
"object": "Plan",
"plan_id": "plan_d2b50d00",
"amount": 99,
"interval": "day",
"interval_count": 1,
"name": "Testers",
"statement_descriptor": "dfghdfhg",
"trial_period_days": "0",
"currency": "usd",
"created_at": 1724503321,
"updated_at": 1724505274
}
}