v1
latestOpenAPI 3.1.02026-07-2414085.2 KBUpdate a payment plan
A Payment Plan's status can only be updated to Cancelled, Suspended or Active. For a suspended plan it is possible to set a date the plan is suspended until.
When a plan is suspended, any pending payments will be removed. If the plan is resumed, the pending payments will be re-created to meet the plan's constraints.
Note: Payment plan must be active for any other attributes to be updated.
put/payment_plans/{id_or_reference}
Path parameters
id_or_referencestring required
ID or merchant's reference of the payment plan to update.
Request body
Response
200
Example response
{
"successful": true,
"response": {
"id": "071-PP-8389G3DA",
"customer": "071-C-JE34F66V",
"amount": 100,
"frequency": "Weekly",
"anniversary": 5,
"start_date": "2025-07-16",
"total_count": 2,
"payment_method": "Credit Card",
"reference": "071-PP-8389G3DA",
"status": "Suspended",
"status_reason": "Other",
"created_at": "2018-07-11T16:23:39+10:00",
"retry_interval": 3,
"card_token": "ABC12345"
},
"test": true
}