Skip to content
Orillion logo
Soramitsu logo

Retrieving upload rewards rate

Retrieves the current rewards rate established for submitting contribution flags and submitting contributions of all fraud types for all supported company types.

Protocol: HTTP

EncodingJSON

Endpoint/data/api/v1/contribution-management/rewards

MethodGET

Header: Authorization — represented by a string that is the accessToken value that was returned either at the authorization, or the previous time the token has been refreshed.

Input/request structure

A GET request to the endpoint with the Authorization header specified.

Output/response structure

Show
json5
{
    status: {
        code: integer($int32),
        name: 'string'
    },
    data: {
        rewardsTable: {
            LARGE_TELCO: {
                Wangiri: integer($int64)
                SMSA2P: integer($int64)
                IRSF: integer($int64)
                StolenDevice: integer($int64)
                IPFraud: integer($int64)
            },
            MEDIUM_TELCO: {
                Wangiri: integer($int64)
                SMSA2P: integer($int64)
                IRSF: integer($int64)
                StolenDevice: integer($int64)
                IPFraud" integer($int64)
            },
            SMALL_TELCO: {
                Wangiri: integer($int64)
                SMSA2P: integer($int64)
                IRSF: integer($int64)
                StolenDevice: integer($int64)
                IPFraud: integer($int64)
            },
            VENDOR: {
                Wangiri: integer($int64)
                SMSA2P: integer($int64)
                IRSF: integer($int64)
                StolenDevice: integer($int64)
                IPFraud: integer($int64)
            }
        }
    }
}
{
    status: {
        code: integer($int32),
        name: 'string'
    },
    data: {
        rewardsTable: {
            LARGE_TELCO: {
                Wangiri: integer($int64)
                SMSA2P: integer($int64)
                IRSF: integer($int64)
                StolenDevice: integer($int64)
                IPFraud: integer($int64)
            },
            MEDIUM_TELCO: {
                Wangiri: integer($int64)
                SMSA2P: integer($int64)
                IRSF: integer($int64)
                StolenDevice: integer($int64)
                IPFraud" integer($int64)
            },
            SMALL_TELCO: {
                Wangiri: integer($int64)
                SMSA2P: integer($int64)
                IRSF: integer($int64)
                StolenDevice: integer($int64)
                IPFraud: integer($int64)
            },
            VENDOR: {
                Wangiri: integer($int64)
                SMSA2P: integer($int64)
                IRSF: integer($int64)
                StolenDevice: integer($int64)
                IPFraud: integer($int64)
            }
        }
    }
}
json5
{
  status: {
    code: 200,
    name: 'OK'
  },
  data: {
    rewardsTable: {
      LARGE_TELCO: {
        Wangiri: 10,
        SMSA2P: 20,
        IRSF: 30,
        StolenDevice: 40,
        IPFraud: 50
      },
      MEDIUM_TELCO: {
        Wangiri: 60,
        SMSA2P: 70,
        IRSF: 80,
        StolenDevice: 90,
        IPFraud: 100
      },
      SMALL_TELCO: {
        Wangiri: 110,
        SMSA2P: 120,
        IRSF: 130,
        StolenDevice: 140,
        IPFraud: 150
      },
      VENDOR: {
        Wangiri: 160,
        SMSA2P: 170,
        IRSF: 180,
        StolenDevice: 190,
        IPFraud: 200
      }
    }
  }
}
{
  status: {
    code: 200,
    name: 'OK'
  },
  data: {
    rewardsTable: {
      LARGE_TELCO: {
        Wangiri: 10,
        SMSA2P: 20,
        IRSF: 30,
        StolenDevice: 40,
        IPFraud: 50
      },
      MEDIUM_TELCO: {
        Wangiri: 60,
        SMSA2P: 70,
        IRSF: 80,
        StolenDevice: 90,
        IPFraud: 100
      },
      SMALL_TELCO: {
        Wangiri: 110,
        SMSA2P: 120,
        IRSF: 130,
        StolenDevice: 140,
        IPFraud: 150
      },
      VENDOR: {
        Wangiri: 160,
        SMSA2P: 170,
        IRSF: 180,
        StolenDevice: 190,
        IPFraud: 200
      }
    }
  }
}

Responses

Response CodeDescription
200The currently active rewards rate for uploading and flagging contributions has been successfully retrieved.
401User signature is incorrect or failed to be decoded.
404Either account or its metadata key has not found.
500Internal server error.