Get SMS cost based on user's IP address
GET /rates
Retrieve the SMS cost for the user by making a GET request to the endpoint with the user's IP address as a query parameter, and ensure the authentication token is passed.
Query Parameters
- customerIpAddress string required
IP address of the customer
Responses
- 200
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
rates rate[]
Array [countryCode stringCountry code for the rate
mccmnc stringMCCMNC for the rate
operator stringOperator for the rate
price numberPrice associated with the rate
currency stringCurrency for the rate
]
{
"rates": [
{
"countryCode": "string",
"mccmnc": "string",
"operator": "string",
"price": 0,
"currency": "string"
}
]
}
Loading...