Get commissions by operator ID

With the /operators/{operatorid}/commissions endpoint, you can retrieve the details of an active discount being carried out by an operator by making a request with the operator's ID

Commissions by operator ID

GET https://topups.reloadly.com/operators/{operatorid}/commissions

Path Parameters

Name
Type
Description

operatorId*

integer

The ID of the operator whose discount information is being retrieved

Headers

Name
Type
Description

Authorization*

string

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

{
  "operator":{
    "operatorId":173,
    "name":"Digicel Haiti",
    "countryCode":"HT",
    "status":true,
    "bundle":false,
    "data":false
  },
  "percentage":13,
  "internationalPercentage":13,
  "localPercentage":0.00,
  "updatedAt":"2020-02-08 19:32:43"
}

Request samples

curl --location --request GET 'https://topups.reloadly.com/operators/173/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?