# Predict Correspondent Endpoint: POST /v1/predict-correspondent Version: v1 Security: bearerAuth ## Request fields (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 Example: "+260 763-456789" ## Response 200 fields (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](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3#Officially_assigned_code_elements). Example: "ZMB" - `operator` (string, required) The name of the MMO associated with the specified MSISDN. Example: "MTN" - `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](https://docs.transaction-monitor.io/using_the_api#correspondents). The [active configuration](#/paths/~1active-conf/get) endpoint provides the list of correspondents configured for your account. You can use the [predict correspondent](#/paths/~1v1~1predict-correspondent/post) enpoint to predict the correct correspondent to use based on the phone number (MSISDN). Example: "MTN_MOMO_ZMB" - `msisdn` (string, required) The correctly formatted phone number (MSISDN) from your original request that is in a valid format for the rest of the Blu Penguin Merchant API. Example: "260763456789" ## Response 400 fields (application/json): - `errorId` (string, required) A unique error ID in the Blu Penguin platform. Example: "63743264-7292-11ea-bc55-0242ac130003" - `errorCode` (integer, required) Blu Penguin internal error code. Example: 1 - `errorMessage` (string, required) Error message. Example: "Internal error" ## Response 401 fields (application/json): - `errorId` (string, required) A unique error ID in the Blu Penguin platform. Example: "63743264-7292-11ea-bc55-0242ac130003" - `errorCode` (integer, required) Blu Penguin internal error code. Example: 1 - `errorMessage` (string, required) Error message. Example: "Internal error" ## Response 403 fields (application/json): - `errorId` (string, required) A unique error ID in the Blu Penguin platform. Example: "63743264-7292-11ea-bc55-0242ac130003" - `errorCode` (integer, required) Blu Penguin internal error code. Example: 1 - `errorMessage` (string, required) Error message. Example: "Internal error" ## Response 500 fields (application/json): - `errorId` (string, required) A unique error ID in the Blu Penguin platform. Example: "63743264-7292-11ea-bc55-0242ac130003" - `errorCode` (integer, required) Blu Penguin internal error code. Example: 1 - `errorMessage` (string, required) Error message. Example: "Internal error"