# Direct Debit (/docs/api/v1/direct-debit)



{/* Generated by scripts/gen-api-meta.mjs from the service catalogue. Do not edit. */}

| Operation | Request |
|---|---|
| [Start a direct debit pre-approval](/docs/api/v1/direct-debit/initiate-preapproval) | `POST /api/v2/merchant/{accountNumber}/preapproval/initiate` |
| [Confirm a pre-approval with an OTP](/docs/api/v1/direct-debit/verify-preapproval-otp) | `POST /api/v2/merchant/{accountNumber}/preapproval/verifyotp` |
| [Get a pre-approval's status](/docs/api/v1/direct-debit/get-preapproval-status) | `GET /api/v2/merchant/{accountNumber}/preapproval/{clientReference}/status` |
| [Cancel a pre-approval](/docs/api/v1/direct-debit/cancel-preapproval) | `GET /api/v2/merchant/{accountNumber}/preapproval/{msisdn}/cancel` |
| [Reactivate a pre-approval](/docs/api/v1/direct-debit/reactivate-preapproval) | `POST /api/v2/merchant/{accountNumber}/preapproval/reactivate` |

## Response codes

| Response Code | Description | Required Action |
|---|---|---|
| 0000 | The transaction has been processed successfully. | None |
| 0001 | Request has been accepted. A callback will be sent on final state | None |
| 2000 | success Request received! Pending preapproval OTP Verified! Pending preapproval success, Customer is already preapproved | None |
| 2001 | The MTN Mobile Money user has reached counter or balance limits, has insufficient funds or is missing permissions. The Vodafone Cash failed Dear Customer, you have insufficient funds. Avail. Balance:#### 5 successive invalid transfers will lock your account. Thank you. Transaction id is invalid | ; Mobile network not able to parse your request ; USSD session timeout ; Having strange characters (&\*!%@) in your description ; Ensure that the number provided matches the channel |
| 4000 | Validation errors | Validation errors. Something is not quite right with this request. Please check again. |
| 4070 | We're unable to complete this payment at the moment. Please try again later. Fees not set for given conditions. | Ensure you are passing the required minimum amount or contact your Hubtel relationship manager to setup fees for your account if error persists. |
| 4101 | The business you're trying to pay isn't fully set up to receive payments at the moment. Please try again later Supplied API keys does not have \"mobilemoney-receive-direct\" in scopes. Client request keys do not match API keys on business | Contact your Retail Systems Engineer to enable Receive Money Scopes Ensure that you're providing the correct Basic Auth key for the Authorization header and ensure you’re passing your Collection Account Number in the endpoint. |
| 4103 | Permission denied. Sorry, your account is not allowed to transact on this channel | Contact your Retail Systems Engineer |
| 4204 | Preapproval request failed! Please try again. | Inspect your request and try again |
