Pricelist
Overview
API Tool serves multiple functionalities, currently it provides 'get-pricelist' function to retrieve latest price list.
HTTP Request body and response use JSON format.
Each request requires a BASIC authentication.
API endpoint
https://a2p.ameex-mobile.com/api-tool
get-pricelist
Retrieve latest pricelist from your AMEEX account
GET https://API_KEY:API_SECRET@a2p.ameex-mobile.com/api-tool/pricelist
Response
Key | Description | Example |
price_list (object) | An Object contains and array of price items | [ { 'country': 'Saudi Arabia', 'operator': 'STC', 'mcc': '420', 'mnc': '01', 'price': '0.01', 'validity_date': '2020-01-01' }, { 'country': 'Iraq', 'operator': 'Asiacell Iraq', 'mcc': '418', 'mnc': '05', 'price': '0.048', 'validity_date': '2020-01-01' } ] |
Price Item Detail Fields
Key | Description | Example |
country | country name, "Rest of world" means for destinations not covered in the list | Saudi Arabia |
operator | "default" or "All operator" means the default price for this country, which is overridden by a specific operator | STC |
mcc | Mobile Country Code | 420 |
mnc | Mobile Network Code | 01 |
price | selling price in EUR | 0.01 |
validity_date | effective date | 2020-01-01 |
Examples
curl -X GET "https://API_KEY:API_SECRET@a2p.ameex-mobile.com/api-tool/pricelist"
response:
{
'price_list' => [
{
'country': 'Saudi Arabia',
'operator': 'STC',
'mcc': '420',
'mnc': '01',
'price': '0.01',
'validity_date': '2020-01-01'
},
{
'country' => 'Portugal',
'operator' => 'default',
'mcc' => '268',
'price' => '0.011',
'validity_date' => '2020-01-01'
}
]
}