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

Deposit money

POST
/deposit
Сredit the player balance according to in game activity.
ℹ️ Note

As a result of a loss, we will send amount = 0.

Request

Body Params application/jsonRequired

Example
{
    "secret": "<secret>",
    "txId": "017f22e6-79b0-7a33-98bb-1e2b1245aedd",
    "amount": "100",
    "userId": "238795249760076625",
    "sessionId": "43526346523"
}

Request Code Samples

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

Responses

🟢200Success
application/json
Body

Example
{
    "userId": "238798831595029329",
    "currency": "USD",
    "balance": "104.23",
    "sessionId": "46378665"
}
🟠400Validation error
⚪601Invalid secret key
⚪605Transaction not found
⚪608Transaction already refunded
⚪609Transaction already settled
⚪702Internal Server Error
Modified at 2026-01-23 17:39:59
Previous
Withdrawal money
Next
Rollback money
Built with