Skip to main content

API reference

Cheggout's APIs are grouped into three product lines. Each has its own hosts and its own authentication scheme, so start by identifying which line your integration uses.

Product linePurposeAuthHosts
Rewards CenterHeadless scratch cards and rewardsSigned envelope + bearer tokensrewardscenter.cheggout.com
Deals StoreHeadless coupon catalogue and deliveryAPI keyhotdeals.cheggout.com
Bank & SDK server APIsSessions, SSO and bank-side issuanceSigned envelopebankapi.cheggout.com

Read API conventions first — it covers status codes, error shapes, idempotency and the response patterns that repeat across every endpoint.

Rewards Center API

Headless scratch cards. Two-phase issuance: create eligibility first, assign the reward at reveal.

EndpointMethodAuthPurpose
getSecuredReferenceTokenPOSTSigned envelopeMint the channel-scoped token, hourly
GetRewardPOSTBearer reference tokenCreate scratch cards for an event
GetAuthTokenPOSTSigned envelopeMint a user-scoped token
FetchRewardInfoPOSTBearer user tokenReveal a card and return the reward
GetAllScratchCardsByUserIdGETBearer user tokenList a user's cards and rewards

Hosts — Production https://rewardscenter.cheggout.com/api/ · UAT https://rewardscenter-uat.cheggout.com/api/

Two different tokens

GetReward takes the reference token; reveal and history take the user token. They are not interchangeable. See Tokens.

Deals Store API

A cacheable coupon catalogue with delivery against your own coin or points economy.

EndpointMethodPurpose
getCatalogueGETThe full offer catalogue — cacheable
getCatalogueInventoryGETRemaining stock per offer, 180s TTL
fetchCouponCodePOSTDeliver a coupon to a user
getUserCouponsPOSTA user's previously delivered coupons
Coupon status webhookPOSTYou host this — coupon invalidation notices

Hosts — Production https://hotdeals.cheggout.com/api/ · UAT https://onerupee-store-api-stage.azurewebsites.net/api/

AuthAuthorization: CheggoutAppKey <APP_KEY>:<SEC_KEY> plus X-CHANNELID, from whitelisted IPs.

Bank & SDK server APIs

Session creation for SSO, and bank-side server-to-server scratch card issuance.

EndpointMethodAuthPurpose
GenerateSessionInfoV2POSTSigned envelopeCreate a session for SDK or microsite launch
GetScratchCardForBankPOSTSigned envelopeIssue a card after your backend verifies the order
Banners & storesVia SDK — no separate credentialAdvertisement placement content
Client Status APIGETYou define — see pageYou host this — payment status lookups
RegisterEvent / ExitEventPOSTSigned envelopeNot available Not currently available

Hosts — Production https://bankapi.cheggout.com/api/ · UAT https://bankapi-uat.cheggout.com/api/

APIs you implement

Two contracts run in the opposite direction — Cheggout calls you:

Machine-readable specs

TBD No OpenAPI specification and no Postman collection is published for any Cheggout product line. Until one exists, these pages are the contract. Tracked in Open Items.

Conventions at a glance

  • HTTPS only, JSON bodies, UTF-8.
  • Server-to-server calls come from whitelisted IPs.
  • Some responses carry status in the body, not only in the HTTP status line — always inspect the body. See conventions.
  • "No reward" is a success, not an error. {"status": false, "rewards": []} and BETTER LUCK NEXT TIME are normal outcomes.
  • Field naming is not uniform across product lines. Each page states its exact keys, including case sensitivity.

Next