PLANS
Update a plan
Updates a merchant plan that customers can use to initiate automatic payments. Each plan defines the fixed amount, periodic frequency, tax, convenience fees, tip, and so on. You can create as many recurring payment plans as required.
put/v1/plans/{planId}
Request
- Base URLhttps://sandbox.dev.clover.com/recurring
- URLhttps://sandbox.dev.clover.com/recurring/v1/plans/{planId}
- AuthHTTP bearer
Path parameters
planIdstring required
Universally unique identifier (UUID) of a plan.
Headers
X-Clover-Merchant-Idstring required
Clover merchant identifier (mId).
User-Agentstring required
Identifies the application, operating system, vendor, and/or version of the requesting user agent. Format: <application>/<version>
Request body
Example request
{
"note": "note",
"amount": 0,
"customerUuid": "customerUuid",
"tipAmount": 6,
"name": "name",
"active": true,
"taxRateUuids": [
"taxRateUuids",
"taxRateUuids"
]
}Response
Successful response. Plan is edited.
Example response
{
"note": "note",
"modifiedTime": "2000-01-23T04:56:07.000Z",
"amount": "amount",
"tipAmount": "tipAmount",
"subscriptionCount": 6,
"active": true,
"lastRunDate": "2000-01-23T04:56:07.000Z",
"taxRateUuids": [
"taxRateUuids",
"taxRateUuids"
],
"productUuid": "productUuid",
"merchantId": "merchantId",
"subscriptionPaidTotalAmount": 1,
"intervalCount": 0,
"name": "name",
"createdTime": "2000-01-23T04:56:07.000Z",
"interval": "DAY",
"id": "id",
"deletedTime": "2000-01-23T04:56:07.000Z",
"object": "object"
}Changes
No recorded changes to this operation across all 1 revision of this API.