SecureInternal

Create discount code for specific customer.

post/api/internal/v1/DiscountCode

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/api/internal/v1/DiscountCode
  • Auth: none declared. Required headers: APIKey

Headers

Authorizationstring
langstring
APIKeystring required
SecretKeystring

Request body

discountCodestring nullable
discountCodePinstring nullable
playerUniqueIdstring required
mobilestring nullable
emailstring nullable
codeClientIdstring nullable
pricingRuleIdstring nullable
ruleIdinteger nullable
amountstring required
currencystring nullable
usageTarget1 | 2 | 3 | 4 | 5 required
type1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 required
transactionTimestring date-time required
bodyHashedstring required
destinationstring nullable
guestIdentifierstring nullable

Response

OK

responseunknown
successboolean
errorMsgstring nullable
errorCodeinteger
liveModeboolean nullable

Changes

No recorded changes to this operation across all 1 revision of this API.