POST
/
v1
/
predict-correspondent

Predicts the correspondent (Mobile Money Operator) for the specified phone number (MSISDN).

Average misprediction rate when using this endpoint is 0.12%.

Benin has a relatively high level of number portability and therefore has an average misprediction rate of 6%.

Authorizations

Authorization
string
headerrequired

Body

application/json
msisdn
string
required

The phone number (MSISDN) to predict the correspondent of. Must contain the country code.

The input will be sanitized by:

  • removing the leading + sign
  • removing all whitespace
  • removing non-numeric characters

Response

200 - application/json
country
string
required

The country in which the MMO operates.

Format is ISO 3166-1 alpha-3, three character country code in upper case. Read more from Wikipedia.

operator
string
required

The name of the MMO associated with the specified MSISDN.

correspondent
string
required

The correspondent code refers to the specific MMO that the specified phone number (MSISDN) has an active mobile money wallet with.

You can find all the supported correspondents listed here.

The active configuration endpoint provides the list of correspondents configured for your account.

You can use the predict correspondent enpoint to predict the correct correspondent to use based on the phone number (MSISDN).

msisdn
string
required

The correctly formatted phone number (MSISDN) from your original request that is in a valid format for the rest of the pawaPay Merchant API.