Get promotions by ISO code

With the /promotions/country-codes/{countrycode} endpoint, you can retrieve the promotions going on in a country by using its ISO code

Promotions by ISO code

GET https://topups.reloadly.com/promotions/country-codes/{countrycode}

Path Parameters

Name
Type
Description

countryCode

string

Indicates the ISO code of the country whose promotions need to be retrieved

Headers

Name
Type
Description

Authorization

string

Your access token is required as a bearer token in the request's header

[
  {
    "promotionId":7016,
    "operatorId":121,
    "title":"Digicel El Salvador From 07 Feb 2020 00:00 To 31 Dec 2020 23:59 (GMT-06:00)",
    "title2":"Bonus 5x",
    "description":"Imparable $7.00: 4 GB (from April 11th) + WhatsApp",
    "startDate":"Fri, 05 Apr 2019 06:00:00 +0000",
    "endDate":"Fri, 01 May 2020 05:59:00 +0000",
    "denominations":"USD 7, 10, 15 and 20",
    "localDenominations":null
  },
  {
    "promotionId":5462,
    "operatorId":128,
    "title":"Tigo El Salvador From 05 Apr 2019 00:00 To 30 Apr 2020 23:59",
    "title2":"Paquetigos Imparables",
    "description":"Imparable $7.00: 4 GB (from April 11th) + WhatsApp",
    "startDate":"Fri, 05 Apr 2019 06:00:00 +0000",
    "endDate":"Fri, 01 May 2020 05:59:00 +0000",
    "denominations":"USD 7, 10, 15 and 20",
    "localDenominations":null
  }
]

Request samples

curl --location --request GET 'https://topups.reloadly.com/promotions/country-codes/SV' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN_HERE' \
--header 'Accept: application/com.reloadly.topups-v1+json' 

Response parameters

Parameter

Type

Description

promotionId

integer

The promotion ID. This is a unique identifier for the ongoing promotion

operatorId

integer

Indicates the ID of the operator offering the promotion

title1

string

Indicates the duration of the promotion and the name of the operator offering it

title2

string

Indicates additional information on the promotion

description

string

This indicates a summary of what the promotion is about

startDate

string

The date the promotion begins

endDate

string

The date the promotion ends

denominations

string

Indicates the top-up amounts that are eligible for the promotion

localDenominations

string

Indicates the local top-up amounts in the destination's currency that are eligible for the promotion

Last updated

Was this helpful?