CPAPI go-live
Candidate preview. This page describes the candidate Canonical Provider API v1 contract, candidate manifest SHA-256 c85d92a38cd495f7d8a0cf1b5d4b0c2783abdd90f3c51d4827ca24e24d11ea0e. It is non-normative: it explains the contract and does not define it.
Go live is the last cabinet step. Before it opens, you register a production setup, pass the production checks against it, and hold a certification pass for your current setup. Only the production environment goes live. Going live lets operators select your titles. Each operator decides when to turn them on. Studios that offer virtual play can also adopt the optional demo module for supported titles in each available environment.
Production setup
Section titled “Production setup”Register your production endpoint on Credentials first, then issue your production keys there. The endpoint takes the same form as in certification: an origin-only API URL with launch domains. Registering it does not enable traffic on its own. Production has its own Control key and Money key, and a key of the other environment is refused.
| Value | In production |
|---|---|
environment |
live in session requests and responses |
| Control key ID | cpapi_production_control_… |
| Money key ID | cpapi_production_money_… |
| Tag on our calls | cpapi-control-live |
| Tag on your calls | cpapi-money-live |
| API URL | Your production origin, registered on Credentials |
The catalog is shared: the one you published in Sync your titles serves production too. Production endpoint and key changes, production demo settings and every catalog publish ask for an authenticator code, as CPAPI setup lists.
Production checks
Section titled “Production checks”Run the production checks from the Go live step. On a live studio, starting them takes the studio out of live until it goes live again. They need no authenticator code and send no Money calls. They call your production API to open, replay, read and recover sessions for a synthetic player whose player_ref starts with cpapi-prod:. These sessions carry no money: expect them, and do not count them as player activity. They use the first title of your catalog by provider_game_id, in the first of its currencies by code, so your production API must accept that title and currency. There are seven production checks:
| Group | Checks | What they test |
|---|---|---|
| Your production API | 5 | Checks 13 to 16 and 23 from certification, with environment live |
| Admission | 2 | Your current certification report is linked, and we hold your production Money key |
The admission checks test our side: if one fails, start a new run; if it fails again, ask in Activity under the step and include the run ID. Production checks count only for the setup they ran with. When your endpoint or keys change after a pass, run them again; a new catalog or a routine release on our side does not ask for that.
Neither the production checks nor certification run your server’s own Money client: its first signed Money call reaches our production Money API with real players’ money, after you go live. Check your signer against the test vector before you go live.
Going live
Section titled “Going live”The step shows a go-live checklist, and Go live opens when every item on it is done:
| Item | Done when |
|---|---|
| Two-factor authentication | It is on for your account |
| Production endpoint | Registered, origin only, with launch domains |
| Production keys | Your production Control and Money keys are active |
| Catalog | Published |
| Certification | Passed with your current setup |
| Production checks | Passed with your current setup |
The checklist can also show that we are still preparing production checks on our side, or that your studio is not cleared for go-live yet; for the second, ask in Activity under the step.
Before you press Go live, the step lists what goes live: your API URL and launch domains, your active Control and Money keys, and your catalog. Go live asks for a new authenticator code. It checks that nothing changed since the page loaded, then makes your studio live; if anything changed, it stops so you can check again. An owner or admin, or someone already assigned Engineer, can run production checks and go live; a member can run the production checks only while the studio is not live and no current pass would be reset, and the cabinet also refuses them after your studio was linked to a different provider code on our side, as CPAPI setup lists.
Engineer is no longer offered for new invitations or role changes. People already assigned older roles keep their access; the same setup, readiness and authenticator requirements still apply.
Ordinary bet refunds in production
Section titled “Ordinary bet refunds in production”If you use the optional refund module, confirm production enablement for your studio with your integration contact. Certification and production are configured separately. Production checks exercise the Control API. Verify the refund scenarios with a certification wallet first. An ordinary session picks up refund eligibility only when it opens. Keep existing bets, wins and recoveries on their original session. Certification refund checks · Refund call.
US Sweepstakes certification
Section titled “US Sweepstakes certification”In the studio cabinet, an owner or admin can declare support under Organization > Company by turning on Support Sweepstakes Mode. To offer a title through the optional cpapi-sweepstakes.v1 profile, coordinate a certification environment with your integration contact. Publish the offered SC and/or GC in supported_currencies, sc_en in languages, and a sweepstakes object with profile, the actual English social build’s lowercase SHA-256 digest in build_sha256, and countries: ["US"].
While your studio is live, the published profile offers the title to every US Sweepstakes operator. There is no approval to submit and no activation to request. Aggregator cannot limit the title to some operators, brands or US states, so publish only builds whose rights cover every US Sweepstakes operator. To stop offering a title, withdraw its profile or leave it out of your catalog. What publishing the profile does
To qualify both coins, open one SC session and one GC session for the same test player and build. Give the two wallets different opening balances. For each coin, verify signed session creation and recovery, a fractional bet, a win, a full refund linked to its original bet, and replay of an accepted transaction. Check that a request using the other coin is refused. Repeat these checks for each new build you publish. Operators discover and launch your titles through the US Sweepstakes guide.
After go-live
Section titled “After go-live”Once you are live, operators can select your titles. A later change to your endpoints or keys, a new certification run, a new run of the production checks, or a new contract, test suite or test runner on our side takes your studio out of live. Repeat the affected checks, then go live again. A new catalog and a routine release on our side keep you live. A change to your certification also invalidates the production checks linked to it.
- Catalog changes. As soon as you publish a new catalog, its new currencies take launches and operators can select its new titles. Titles you leave out stop taking new launches. Our checks use one title, the first by
provider_game_id, in one currency, so your API must accept every title and currency you list. - Endpoint changes. Running sessions keep the endpoint they were opened with, so a new production endpoint reaches operators only when you go live again.
- Key changes. A key change takes effect at once, without Go live. Money calls for running sessions are accepted with any current Money key of your studio, even after your studio leaves live, so revoking a Money key can stop those sessions from settling.
- While you are out of live. Your titles leave operators’ live game lists and take no new launches. Operators keep their selections, so your titles come back when you go live again.
- Suspension. We can suspend a live studio. A suspension stops new launches, and Go live cannot lift it; we lift it. If your setup changed while you were suspended, repeat the affected checks and go live again.
- Demo play. If you use the demo module, a new endpoint or Control key turns demo play off until you enable it again. In production, demo play is offered only while you are live.