Skip to content
SkanPay Docs

network_required

We cannot tell which network the number belongs to.

HTTP statustypeRetry the same request?
400invalid_request_errorafter a change

Why it happens

The number's prefix is not in our telco table, or the range is known to be shared or ported. SkanPay never guesses which network holds a wallet, because a wrong guess sends money down the wrong rail.

What to do

Ask the payer which network they use and send network: "MTN" or network: "AIRTEL".

Example response

400
{
  "error": {
    "type": "invalid_request_error",
    "code": "network_required",
    "message": "A human-readable explanation. Do not parse it.",
    "doc_url": "https://docs.skanpay.website/errors/network_required",
    "request_id": "req_01J9Z3K8Q4W6XK2M7N5P0R3T8V"
  }
}

All error codes