Cancel a recurring invoice
Stops a recurring invoice so no further instalments are collected. A cancellation callback (0005) is POSTed to the invoice's callbackUrl. Instalments already collected are not refunded; use Refunds for that.
Authorization
basicAuth Base64 of API ID:API Key.
In: header
Path Parameters
Your collection account number (POS sales), where customer payments land. Find it in your Hubtel merchant account under Programmable keys → Account ID. In the sandbox, use the collection account in Workbench.
Response Body
application/json
application/json
application/json
Callbacks
curl -X DELETE "https://example.com/api/proxy/string/cancel-invoice/string"{ "responseCode": "0000", "message": "Your request has been processed successfully"}Recurring Invoice
Create, verify and cancel invoices that debit a customer's mobile money wallet on a schedule.
Create a recurring invoice POST
Starts a recurring mobile-money invoice. The response is pending (`0001`) with a `requestId` and `otpPrefix`; the OTP lands on the Virtual Phone. After **Verify a recurring invoice** and the customer approves the prompt, the initial debit result is POSTed to `callbackUrl`. Use the same test numbers as Receive Money.