# Online Checkout (/docs/api/v1/online-checkout)



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

| Operation | Request |
|---|---|
| [Create a checkout](/docs/api/v1/online-checkout/initiate-checkout) | `POST /items/initiate` |

## Response codes

| Response Code | Description | Required Action |
|---|---|---|
| 0000 | This ResponseCode in the initial response means the request has been accepted, you can proceed with the transaction with any of the URLs provided in this initial response. | None |
| 0000 | This ResponseCode in the callback means the transaction has been processed successfully. | None |
| 0005 | There was an HTTP failure/exception when reaching the payment partner | The transaction state is not known. Please contact your Retail Systems Engineer to confirm the status of this transaction. |
| 2001 | Transaction failed due to an error with the Payment Processor. Please review your request or retry in a few minutes; The MTN Mobile Money user has reached counter or balance limits, has insufficient funds or is missing permissions.; MTN Exception: Account Holder with FRI Not Found; Transaction id is invalid; Decline - General decline of the card. No other information provided by the issuing bank. | Customer either entered no or invalid PIN; 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. |
