Authorization
default Authorization<token>
Use a public key (pk./pk_test.) for payment initialization. Use a secret key (sk./sk_test.) for sensitive operations (transfers, refunds, balance), or a restricted key (rk./rk_test.) scoped to specific permissions. The _test. variant of any key selects the sandbox environment, there is no separate sandbox URL. Never expose your secret key in client-side code.
In: header
Path Parameters
idstringrequired
The recurring invoice's `id`.
Response Body
application/json
application/json
application/json
curl -X POST "https://api.wajub.com/invoices/inv_Hq7Lm2Xp9Rt4Vb8Nc3Kd/stop-recurring"{ "code": 200, "status": "OK", "message": "Recurring invoice stopped", "invoice": { "id": "inv_Hq7Lm2Xp9Rt4Vb8Nc3Kd", "invoice_number": "INV-202609-0001", "status": "paid", "is_recurring": false, "recurring_interval": "monthly", "next_invoice_date": null, "recurring_parent": null }}Series stopped