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

Rollback money

POST
/rollback
Money refund. The method that 100HP Gaming calls if there is no response from Casino or an error response to the transaction request.
It is used to cancel the last withdrawal operation with the player's balance.

Request

Body Params application/jsonRequired

Example
{
    "secret": "<secret>",
    "txId": "017f22e6-79b0-7a33-98bb-1e2b1245aedd",
    "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>/rollback' \
--header 'Content-Type: application/json' \
--data '{
    "secret": "<secret>",
    "txId": "017f22e6-79b0-7a33-98bb-1e2b1245aedd",
    "userId": "238795249760076625",
    "sessionId": "43526346523"
}'

Responses

🟢200Success
application/json
Body

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