100HP
  1. 100HP Game flow API
100HP
  • 100HP API for partners v2.9.1
    • General
      • Overview
      • FAQ
        • Rollback and billing resolver general flow
        • HTTP status codes and custom error codes
        • IP Whitelisting
    • Integration
      • Preparation for integration
      • General API provision
    • 100HP Gaming API
      • Game list
      • Launch game url
      • Video replay
    • 100HP Game flow API
      • Player authorization
        POST
      • Get balance
        POST
      • Withdrawal money
        POST
      • Deposit money
        POST
      • Rollback money
        POST
    • Implementation Guide
      • YourCasino.js
      • Casino.js
      • TestCasino.js
      • DDL-example
        • mongodb.js
        • mysql.js
        • postgres.js
    • Testing
      • Automated Test Service
    • API INFO
      • API Changelog
  1. 100HP Game flow API

Withdrawal money

POST
/withdrawal
Debit the player balance according to in game activity.
ℹ️ Recommendation

If, after 2 weeks from processing the withdrawal, there is no deposit/rollback in the Casino, then such a withdrawal must be rolled back in the Casino

Request

Body Params application/jsonRequired

Example
{
    "secret": "<secret>",
    "sessionId": "4affa487-c147-4e48-ae90-903223f17d5b",
    "txId": "017f22e6-79b0-7a33-98bb-1e2b1245aedd",
    "amount": "100",
    "userId": "238795249760076625"
}

Request Code Samples

Shell
JavaScript
Java
Go
PHP
Python
Request Request Example
Shell
JavaScript
Java
Go
curl --location 'https://<CASINO_WALLET_URL>/withdrawal' \
--header 'Content-Type: application/json' \
--data '{
    "secret": "<secret>",
    "sessionId": "4affa487-c147-4e48-ae90-903223f17d5b",
    "txId": "017f22e6-79b0-7a33-98bb-1e2b1245aedd",
    "amount": "100",
    "userId": "238795249760076625"
}'

Responses

🟢200Success
application/json
Body

Example
{
    "userId": "238798831595029329",
    "currency": "USD",
    "balance": "104.23",
    "txId": "017f22e6-79b0-7a33-98bb-1e2b1245aedd",
    "sessionId": "4236346357"
}
🟠400Validation error
⚪601Invalid secret key
⚪603Insufficient balance
⚪604Session not found
⚪607Transaction already exists
⚪702Internal Server Error
Modified at 2026-01-23 17:40:04
Previous
Get balance
Next
Deposit money
Built with