---
title: "Used only by the Foodics adapter, for clients off the Gameball coupon engine (engine clients keep the V4 predefined endpoint): issues the customer a coupon from a redemption rule at the till, deducting the rule's points. The coupon is a Foodics coupon (Options.IsFoodics = true, Target = POS) that is never sent to the client's platform. Tenant comes from the ClientId header (GlobalFilter whitelist). RequestFilter is kept from the V4 coupons endpoints this replaces, so a client with Gameball disabled cannot redeem at the till."
method: POST
path: "/internal/v1/foodics/coupons"
tags: ["Internal"]
---

# Used only by the Foodics adapter, for clients off the Gameball coupon engine (engine clients keep the V4 predefined endpoint): issues the customer a coupon from a redemption rule at the till, deducting the rule's points. The coupon is a Foodics coupon (Options.IsFoodics = true, Target = POS) that is never sent to the client's platform. Tenant comes from the ClientId header (GlobalFilter whitelist). RequestFilter is kept from the V4 coupons endpoints this replaces, so a client with Gameball disabled cannot redeem at the till.

`POST /internal/v1/foodics/coupons`

## 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/foodics/coupons`
- Auth: none declared. Required headers: `APIKey`

## Headers

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

## Request body

- GameBallBLLViewModelsIntegrationsV4CouponsRequestsCreateCouponRequestV4
  - `value` number, double, nullable
  - `ruleId` integer
  - `customerId` string, nullable
  - `mobile` string, nullable
  - `email` string, nullable

## Response `200`

OK

## Other responses

- `201`: Coupon created.
- `422`: For business errors.
- `500`: Internal server error.

## Changes

- **2026-11-03** `81173ca87d3a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gameballers/apis/gameball-api-2/changes/internal/v1/foodics/coupons/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)
