---
title: "POST /api/Template/PayGamblingTemplate"
method: POST
path: "/api/Template/PayGamblingTemplate"
tags: ["Template"]
---

# POST /api/Template/PayGamblingTemplate

`POST /api/Template/PayGamblingTemplate`

## Headers

- `Authorization` string, required
- `lang` string, required
- `ClientId` string, required
- `ClientVersion` string

## Request body

- TBCPayServicesModelsServiceInformationPayGamblingTemplateRequest
  - `paymentType` 'ByCard' | 'ByWallet' | 'ByTBCBank' | 'ByGooglePay' | 'ByApplePay' | 'ByGooglePayVisa' | 'ByApplePayVisa' | 'ByTBCAccount' | 'ByBOGAccount'
  - `saveCard` boolean
  - `userCardId` string, uuid
  - `templateId` integer
  - `amount` number, double
  - `promoCode` string
  - `validationCode` string
  - `transactionId` TBCPayServicesModelsSharedBaseStepParameter
    - `key` string
    - `value` string

## Other responses

- `1`

---

[API](https://skmtc.dev/tbcpay/apis/tbcpay-api-version-13-0-3.md) · [All operations](https://skmtc.dev/tbcpay/apis/tbcpay-api-version-13-0-3/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tbcpay/tbcpay-api-version-13-0-3/revisions/d3eca09fed32/schema)
