# Verify a phone number

`POST https://morzepay.com/v1/msisdn/validate`

POST`/v1/msisdn/validate`

Looks up the name registered on a mobile money number, so your customer can check who they’re paying, or you can check a payout recipient before you send. MTN and Airtel Uganda.

Permission`msisdn:validate`

### Body

JSON, with `Content-Type: application/json`.

`msisdn`stringrequired

The phone number. `+256771234567`, `256771234567` and `0771234567` all work. MTN and Airtel Uganda.

### Returns

`valid` is `true` when the number is a registered mobile money account, with `customer_name`. When it isn’t, `message` says why.

### Errors

| Status | Code | When |
| 429 | RATE_LIMITED | More than 30 lookups in a minute with this key. |
| 503 | PROVIDER_UNAVAILABLE | Lookups are briefly unavailable. Try again shortly. |

The common codes, such as `UNAUTHENTICATED` and `RATE_LIMITED`, can come from any endpoint. See [Errors](https://morzepay.com/docs/api#errors).



## Example request

```bash
curl -X POST "https://morzepay.com/v1/msisdn/validate" \
  -H "Authorization: Bearer $MORZEPAY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "msisdn": "0771234567"
}'
```

## Example response (200)

```json
{
  "success": true,
  "data": {
    "msisdn": "+256771234567",
    "valid": true,
    "customer_name": "JOHN DOE",
    "provider": "MTN_UGANDA",
    "message": null
  }
}
```
