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

KeyDescriptionExample
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

KeyDescriptionExample
countrycountry name, "Rest of world" means for destinations not covered in the listSaudi Arabia
operator"default" or "All operator" means the default price for this country, which is overridden by a specific operatorSTC
mccMobile Country Code420
mncMobile Network Code01
priceselling price in EUR0.01
validity_dateeffective date2020-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'
			   }
                         ]
}