curl --request POST \
--url https://stagingstores.xoxoday.com/chef/v1/oauth/api/getMobileOperator \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "plumProAPI.mutation.lookupMobileNumber",
"tag": "plumProAPI",
"variables": {
"data": {
"mobile_number": "+12125551234"
}
}
}
'{
"data": {
"lookupMobileNumber": {
"status": 1,
"operator": "AT&T",
"countryCode": "US",
"productId": 55132
}
}
}Look up the mobile operator for a given phone number. Use the returned operator info to select the correct top-up product.
Real URL: POST https://accounts.xoxoday.com/chef/v1/oauth/api
curl --request POST \
--url https://stagingstores.xoxoday.com/chef/v1/oauth/api/getMobileOperator \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "plumProAPI.mutation.lookupMobileNumber",
"tag": "plumProAPI",
"variables": {
"data": {
"mobile_number": "+12125551234"
}
}
}
'{
"data": {
"lookupMobileNumber": {
"status": 1,
"operator": "AT&T",
"countryCode": "US",
"productId": 55132
}
}
}Documentation Index
Fetch the complete documentation index at: https://help-plum.xoxoday.com/llms.txt
Use this file to discover all available pages before exploring further.
| Data Type | Description |
|---|---|
| String | Mobile number in E.164 format for operator lookup. |
| Parameter | Data Type | Description |
|---|---|---|
status | String | Indicates the result of the lookup request (e.g., success, failure). |
message | String | Message describing the lookup result. |
phone | String | Mobile number in E.164 format that was validated. |
network_operator | String | Operator identified for the given mobile number. |
is_active | Boolean | Indicates whether the mobile number is active. |
parentProductId | Integer | Internal product ID mapped to the identified mobile operator. |
Note: You can use the same parentProductId in the Get Mobile Top-Up Catalogue API to fetch plans specific to the identified operator.
Authorization: Bearer <access_token>
Mobile operator details returned.
Show child attributes