Recurring Payments
Pause or reactivate a recurring payment
put/recurring-payments/{reference}/status
Path parameters
referencestring required
Example:tbx-r-55fff4107740a1f40d844ff89607557f45bfafb3
The recurring payment reference to update.
Request body
Example request
{
"status": "Paused",
"paused_until": "2025-01-27T16:43:53.000000Z"
}Response
Successfully paused or reactivated a payment. The RecurringPayment is returned.
Example response
{
"id": 5000,
"created_at": "2022-12-16T16:43:06.000000Z",
"updated_at": "2022-12-16T16:43:06.000000Z",
"next_payment_date": "2022-12-30T16:43:06",
"reference": "88",
"account_id": 1,
"interval": "P2W",
"cancellation_requested_at": "2024-07-25 14:01:03",
"status": {
"id": 2,
"class": "success",
"description": "Active",
"active": 1
},
"amount": {
"amount": 7,
"tax": 1.4,
"period": "P2W"
},
"links": {
"initial_payment": "https://checkout.tebex.io/api/payments/tbx-123123aabccd123-bf71ad?type=txn_id",
"payment_history": [
"https://checkout.tebex.io/api/payments/tbx-123123aabccd123-bf71ad?type=txn_id"
]
}
}