PUT
/
plans
/
{plan_id}
curl --request PUT \
  --url https://api.live.paisr.tech/{version}/plans/{plan_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "<string>",
  "summary": "<string>",
  "currency": "<string>"
}'
{
  "success": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

plan_id
string
required

The Plan ID.

Body

application/json
The details required to update a plan.
title
string

Short description about the plan

summary
string

A detailed summary detailing what the plan is about.

currency
string

Currency code in ISO 4217 format.

Response

200
application/json
Successfully updated plan.
success
boolean

Indicates if the request was successful.

message
string

A descriptive message regarding the result.