Overview
Wuzzlo Integration Collection
This documentation is the implementation guide and API contract for wallet operators integrating Wuzzlo games. Start with the integration quickstart, then complete operator onboarding and build the wallet API.
Default staging topology
- Player web:
https://test.wuzzlo.com - Operator/integrator facade:
https://sapi.wuzzlo.com - Wuzzlo GameService API:
https://vapi.wuzzlo.com
You can override the collection variables to target production or local environments.
Main flow
- Frontend calls
POST /launch-gameon the integrator facade. - The integrator signs and forwards the request to Wuzzlo
POST /api/operator/login. - Wuzzlo creates the session and returns a playable game URL.
- During gameplay Wuzzlo calls the operator wallet APIs:
/balance,/betrequest,/resultrequest, and/rollbackrequest. - If a wallet callback outcome is ambiguous, the operator can reconcile with
get-bet-infoorget-market-result.
Security
- Production requests use RSA-SHA256 over the raw JSON body in the
Signatureheader. - Use PKCS#1 v1.5 padding and verify the exact UTF-8 bytes received on the wire. Parsing and reserializing JSON before verification can change whitespace or property order and invalidate the signature.
- Verify the Wuzzlo signature before creating wallet transactions, idempotency records, or changing a balance.
X-Request-Idshould be unique per launch request.- Wallet operations must be idempotent by
transactionId. - Signed folders in this collection auto-generate the
Signatureheader in a pre-request script usingjsrsasignviapm.require. - Postman app, collection runner, monitors, and Postman CLI support external packages. Newman does not.
Invalid Wuzzlo signature
Every Wuzzlo-to-operator wallet endpoint must reject a missing or invalid Signature header with exactly:
Return HTTP 200. Do not create transaction or idempotency records, and do not change the user’s actual wallet balance. OP_SUCCESS, an alternative error status, or a non-200 HTTP response fails certification for this scenario.
Do not bypass signature validation in a certification or production environment. A debug bypass can make the normal wallet scenarios pass while the security scenario fails.
How wallet certification verifies this
The backoffice certification runner performs the following checks against the operator’s configured wallet base URL:
- It sends correctly signed authentication and wallet requests using the Wuzzlo private key.
- It signs a normal
/balancepayload and then corrupts one byte of the generated RSA signature. - It expects HTTP
200, returned statusOP_INVALID_SIGNATURE, and returned balance0for that request. - It immediately sends a correctly signed
/balancerequest and verifies that the funded test user’s actual balance is unchanged.
The certification report records the tested base URL, request payload, HTTP status, expected return status, returned status, expected balance, returned balance, response payload, and duration. Each scenario has only one valid returned status.