Verify a recurring invoice
Completes setup with the OTP from create (otpPrefix-0000 in the sandbox). Hubtel then prompts the customer; the initial debit callback arrives at the callbackUrl from create after they respond or the request expires.
Authorization
basicAuth Base64 of API ID:API Key.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
Callbacks
curl -X POST "https://example.com/api/proxy/verify-invoice" \ -H "Content-Type: application/json" \ -d '{ "recurringInvoiceId": "0f84e20a2839482e807128e8c21d08d6", "requestId": "a6487bc44eae44849fd80326a0dd802a", "otpCode": "OQDM-9514" }'{ "responseCode": "0001", "message": "Your request has been processed successfully. You will receive a callback on the final status shortly.", "data": { "recurringInvoiceId": "0f84e20a2839482e807128e8c21d08d6" }}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.
Refunds
Refund a completed mobile money payment within 45 days.