---
title: "Rewards a Player a specified coupon."
method: POST
path: "/internal/v1/automation/reward-coupon"
tags: ["Internal"]
---

# Rewards a Player a specified coupon.

`POST /internal/v1/automation/reward-coupon`

## Request

- Base URL: `https://api.gameball.co` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gameball.co/internal/v1/automation/reward-coupon`
- Auth: none declared. Required headers: `APIKey`

## Query parameters

- `ClientId` integer

## Headers

- `Authorization` string
- `lang` string
- `APIKey` string, required
- `SecretKey` string

## Request body

- GameBallBLLViewModelsAutomationRewardCouponDto
  - `playerId` integer
  - `reward` GameBallCommonModelAutomationCouponDto
    - `rewardType` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
    - `couponType` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12
    - `discountValue` number, double, nullable
    - `productId` string, nullable
    - `productName` string, nullable
    - `minOrderValue` number, double, nullable
    - `variantId` string, nullable
    - `variantName` string, nullable
    - `couponGroupHandle` string, nullable
    - `discountCapping` number, double, nullable
    - `expiryDateInDays` integer
    - `collections` GameBallCommonModelAutomationProductCollectionViewModel[], nullable
      - `collectionId` string, nullable
      - `collectionName` string, nullable
      - `url` string, nullable
    - `locales` GameBallCommonModelAutomationLocaleViewModel[], nullable
      - `languageId` integer, nullable
      - `description` string, nullable
      - `languageCode` string, nullable
      - `isDefault` boolean, nullable
      - `rewardName` string, nullable
    - `discountCodeOptions` GameBallCommonModelAutomationDiscountCodeOptionsDto
      - `expiryAfter` integer, nullable
      - `couponPrefix` string, nullable
      - `expiryAt` string, date-time, nullable
      - `usageLimit` integer, nullable
      - `capping` number, double, nullable
      - `minReward` number, double, nullable
      - `isCashback` boolean, nullable
      - `applyToFees` boolean, nullable
      - `minOrderValue` number, double, nullable
      - `combinesWith` GameBallCommonConnectorsPriceRuleCombinesWith
        - `orderDiscounts` boolean
        - `productDiscounts` boolean
        - `shippingDiscounts` boolean
      - `redeemInstructions` GameBallCommonModelAutomationRedeemInstructionsViewModel[], nullable
        - `instructions` string, nullable
        - `languageId` integer
      - `discountCodeLocales` GameBallCommonModelAutomationDiscountCodeLocaleViewModel[], nullable
        - `languageId` integer
        - `rewardName` string, nullable
      - `productId` string, nullable
      - `productName` string, nullable
      - `variantId` string, nullable
      - `variantName` string, nullable
      - `productDisplayName` string, nullable
      - `collections` GameBallCommonModelAutomationProductCollectionViewModel[], nullable
        - `collectionId` string, nullable
        - `collectionName` string, nullable
        - `url` string, nullable
      - `merchants` GameBallCommonModelAutomationProductMerchantViewModel[], nullable
        - `merchantExternalId` string, nullable
        - `merchantName` string, nullable
      - `branches` GameBallCommonModelAutomationProductBranchViewModel[], nullable
        - `branchExternalId` string, nullable
        - `branchName` string, nullable
      - `categories` string[], nullable
      - `products` GameBallCommonModelAutomationProductReferenceViewModel[], nullable
        - `productId` string, nullable
        - `productName` string, nullable
      - `couponRulesLogicalOperator` 1 | 2
      - `productDisplayNames` GameBallCommonModelAutomationProductDisplayNameLocaleViewModel[], nullable
        - `languageId` integer
        - `name` string, nullable
      - `hasCollections` boolean
      - `platforms` string[], nullable
      - `externalAPIRewardConfiguration` GameBallCommonModelAutomationExternalAPIRewardConfigurationDto
        - `requestUrl` string, nullable
        - `method` 0 | 1 | 2 | 3 | 4 | 5
        - `requestHeaders` GameBallCommonModelAutomationExternalRewardHeaderDto[], nullable
          - `key` string, nullable
          - `value` string, nullable
        - `payload` string, nullable

## Response `200`

OK

## Changes

- **2026-11-12** `30f2f85630d7`: 3 info
  - added the new optional request property `reward/discountCodeOptions/externalAPIRewardConfiguration` (media type: application/json)
  - added the new optional request property `reward/discountCodeOptions/externalAPIRewardConfiguration` (media type: text/json)
  - added the new optional request property `reward/discountCodeOptions/externalAPIRewardConfiguration` (media type: application/*+json)

[Operation history](https://skmtc.dev/gameballers/apis/gameball-api-2/changes/internal/v1/automation/reward-coupon/post.md)

---

[API](https://skmtc.dev/gameballers/apis/gameball-api-2.md) - [All operations](https://skmtc.dev/gameballers/apis/gameball-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/gameballers/apis/gameball-api-2/revisions/91732ad54d20?raw)
