# Errors (/docs/errors)



## HTTP status codes [#http-status-codes]

| Status | Meaning                                                                                                                                                         |
| ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `200`  | The HTTP request succeeded. Read the operation’s response body for its result; a successful HTTP response alone does not confirm payment.                       |
| `400`  | Validation error. The message names the field.                                                                                                                  |
| `401`  | Credentials missing or wrong, the key doesn't have the service's scope, or the account number in the path doesn't belong to your keys.                          |
| `403`  | Your server IP isn't allowlisted, your account isn't allowed to use the channel, or too many payment requests went to the same customer number in a short time. |
| `404`  | Unknown path or transaction.                                                                                                                                    |
| `5xx`  | Server error. Check the transaction's status before you retry a payment or payout.                                                                              |

Each service's own codes are on its reference page, for example [Refunds](/docs/api/v1/refunds#response-codes), [Invoicing](/docs/api/v1/invoicing#response-codes) and [SMS](/docs/guides/sms-delivery#http-and-sms-response-codes).

## Business response codes (v1) [#business-response-codes-v1]

| ResponseCode | Meaning | What to do |
|---|---|---|
| `2001` | Failed at the network: insufficient funds, wrong PIN, declined, limit reached, or expired. | Show the customer the message and let them retry. Do not retry automatically with the same ClientReference. |
| `4000` | Validation error: a field is missing or malformed. | Read the message, which names the field, and correct the request. |
| `4070` | Fees are not configured for this amount or channel. | Check the minimum amount for the channel. |
| `4075` | Your disbursement balance cannot cover the payout plus fees. | Top up your disbursement account, or transfer funds from your collection account. |
| `4101` | Your key lacks the scope for this operation, or the business is not set up for it. | Create a key with the right scope in Workbench → API keys. |
| `4103` | Your account is not allowed to use this channel. | Request the channel in Workbench → Go live. |
| `0000` | Processed successfully. | No action needed. |
| `0001` | Accepted and pending. A callback will report the final state. | Wait for the callback. If none arrives within 5 minutes, check the status. |

## Wrong account number [#wrong-account]

For endpoints that include an account number in the path, use the required **collection** or **disbursement** account number. Receive Money answers a wrong number with `401` and `ResponseCode` `4101`: "Client request keys do not match API keys on business".

## Duplicate client reference [#duplicate-reference]

A `ClientReference` that has already been used is rejected with `400` and `ResponseCode` `4000`:

| Service                     | Message                                                                 |
| --------------------------- | ----------------------------------------------------------------------- |
| Receive Money               | `Duplicate Client Reference: "<reference>"`                             |
| Send Money and Send to Bank | `Provided client reference already exists. Please check and try again.` |
| Online Checkout             | `Duplicated client reference. Please try again.`                        |

On Receive Money and Online Checkout, a reference can be recorded before validation finishes. If the outcome is unknown, [check the original transaction’s status](/docs/guides/reconciliation) before starting another payment. After a confirmed validation failure, correct the request and use a new reference.

## Too many requests [#too-many-requests]

Receive Money limits how many payment requests your business can send to the same customer number in a short time. Over the limit, it answers `403` with `ResponseCode` `4000` and the message `Too many requests for "<number>".`

## IP not allowlisted [#ip_not_allowlisted]

In production, a request from an address that isn't allowlisted gets `403 Forbidden` or times out. Send your server's public IP to your Retail Systems Engineer. See [IP allowlisting](/docs/networking).
