Get all commissions

With the /operators/commissions endpoint, developers can get a list of all operators who are running active discounts on top-ups

Commissions

GET https://topups.reloadly.com/operators/commissions

Query Parameters

Name
Type
Description

size

integer

The number of operators offering discounts to be retrieved on a page. Default value is 200

page

integer

The page of the list of operators offering discounts. Default value is 1

Headers

Name
Type
Description

Authorization*

string

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

{
  "content":[
    {
      "operator":{
        "operatorId":1,
        "name":"Afghan Wireless Afghanistan",
        "countryCode":"AF",
        "status":true,
        "bundle":false
      },
      "percentage":10,
      "internationalPercentage":10,
      "localPercentage":0,
      "updatedAt":"2018-06-26 03:36:16"
    },
    {
      "operator":{
        "operatorId":2,
        "name":"MTN Afghanistan",
        "countryCode":"AF",
        "status":true,
        "bundle":false
      },
      "percentage":10,
      "internationalPercentage":10,
      "localPercentage":0,
      "updatedAt":"2018-06-26 03:36:16"
    },
    {
      "operator":{
        "operatorId":3,
        "name":"Etisalat Afghanistan",
        "countryCode":"AF",
        "status":true,
        "bundle":false
      },
      "percentage":10,
      "internationalPercentage":10,
      "localPercentage":0,
      "updatedAt":"2018-06-26 03:36:16"
    }
  ],
  "pageable":{
    "sort":{
      "unsorted":true,
      "sorted":false
    },
    "pageSize":3,
    "pageNumber":0,
    "offset":0,
    "paged":true,
    "unpaged":false
  },
  "totalPages":204,
  "totalElements":611,
  "last":false,
  "sort":{
    "unsorted":true,
    "sorted":false
  },
  "first":true,
  "numberOfElements":3,
  "size":3,
  "number":0
}

Request samples

curl --location --request GET 'https://topups.reloadly.com/operators/commissions' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN_HERE' \
--header 'Accept: application/com.reloadly.topups-v1+json' 

Response Parameters

Parameter

Type

Description

percentage

integer

Indicates the percentage discount for every top-up

international

Percentage

integer

Indicates the percentage discount for international top-ups

localPercentage

integer

Indicates the percentage discount for local top-ups

updatedAt

integer

Indicates the time the discount was first created by the operator

operatorId

string

Indicates the operator's ID

name

string

Indicates the operator's name

countryCode

string

Indicates the ISO code of the country where the operator is registered

data

boolean

Indicates if the operator has any existing data discounts

bundle

boolean

Indicates if the operator has any existing bundle discounts

status

boolean

Indicates if the operator has any existing discounts

Last updated

Was this helpful?