Get cashback offers

GET /v1/client/cashback/offers

Get cashback offers.

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • data object
      Hide data attribute Show data attribute object
      • offers array[object] Required
        Hide offers attributes Show offers attributes object
        • rank integer(int32) Required

          The rank of the merchant

        • terms array[string] Required
        • primary_category string Required
        • tier_mappings array[object] Required
          Hide tier_mappings attributes Show tier_mappings attributes object
          • id integer Required
          • priority_order integer Required
          • tiers array[object] Required
            Hide tiers attributes Show tiers attributes object
            • id integer Required
            • name string Required
            • description string Required
            • payout_type string Required
            • user_value string Required
        • currency string Required
        • reward_delay integer Required
        • original_cashback string(float) Required
        • cashback string Required
        • click_url string Required
        • description string Required
        • merchant_id integer Required
        • flat_payout boolean Required
        • up_to boolean Required
        • country_code string Required
        • merchant_name string Required
        • images object
          Hide images attributes Show images attributes object
          • cardImage string Required
          • backgroundImage string Required
          • cardImageSmall string Required
GET /v1/client/cashback/offers
curl \
 --request GET 'https://api.bitlabs.ai/v1/client/cashback/offers' \
 --header "X-Api-Token: $API_KEY" \
 --header "X-User-Id: $API_KEY"
Response examples (200)
{
  "data": {
    "offers": [
      {
        "rank": 42,
        "terms": [
          "string"
        ],
        "primary_category": "string",
        "tier_mappings": [
          {
            "id": 42,
            "priority_order": 42,
            "tiers": [
              {
                "id": 42,
                "name": "string",
                "description": "string",
                "payout_type": "string",
                "user_value": "string"
              }
            ]
          }
        ],
        "currency": "string",
        "reward_delay": 42,
        "original_cashback": "string",
        "cashback": "string",
        "click_url": "string",
        "description": "string",
        "merchant_id": 42,
        "flat_payout": true,
        "up_to": true,
        "country_code": "string",
        "merchant_name": "string",
        "images": {
          "cardImage": "string",
          "backgroundImage": "string",
          "cardImageSmall": "string"
        }
      }
    ]
  }
}