Resolve Subscriber

If end user have hashed msisdn and you would like to convert his real msisdn to hashed value (subscriberID) you can use following request to retrieve correct data.

URL to which request should be posted:

http://api.centili.com/api/payment/1_4/subscriber/resolve

POST subscribe request

POST http://api.centili.com/api/payment/1_4/subscriber/resolve HTTP/1.1
Host: api.centili.com:443
Content-Type: application/json

{
    "msisdns" : ["351932914103"]
}

All possible initiation parameters:

Parameter

Description

Example

Required as

msisdn

Customer mobile phone number.

4477781234567

mandatory

POST payment response

Once request is received, Centili will synchronously respond with POST response containing appropriate HTTP response and list of parameters and values in JSON format.

HTTP/1.1 200 OK
Content-Type: application/json

{
    "status": "ACCEPTED",
    "errorMessage": null,
    "subscribers": [
        {
            "msisdn": "351932914103",
            "subscriberId": "65FGthgtdr^hstsgdt^hhdtd"
        }
    ]
}

Response parameters:

Parameter

Description

Example

status

Indicates status of the current request.

Possible values:

  • ACCEPTED
  • INVALID_REQUEST
  • INVALID_SERVICE

errorMessage

Error description in case of failed request.

Bad request

subscriberId

Unique end user identifier on MNO Platform.

65FGthgtdr^hstsgdt^hhdtd