1. Integration Service
<Quantum> Milf Master
  • API
  • General Information
    • Change Log
    • Server Structure
  • Integration Service
    • 1. Version History
    • 2. Introduction
    • 3. Launching MilfMasters Game Client
    • 4. Wallet API
    • Verify Session
      POST
    • Get Balance
      POST
    • Withdraw
      POST
    • Confirm Withdraw
      POST
    • Rollback Withdraw
      POST
  • Entry Point
    • Entry Sequence
    • Entry Point
  • Payment
    • Payment Sequence
    • Payment Initiation
    • Payment Callback
    • Payment Callback API
      POST
    • Query Withdrawal
      POST
  • Data Types
    • Data Types
  • Schemas
    • Error Response Body
    • Balance Amount
  1. Integration Service

Rollback Withdraw

Developing
开发环境
https://mmaster.casual-tnl01.quantum-web-platform.com
开发环境
https://mmaster.casual-tnl01.quantum-web-platform.com
POST
/wallet/rollbackWithdrawal
If a /withdraw request fails - for whatever reason - a /rollbackWithdrawal request MUST be sent to cancel the withdrawal.
In case of no successful response - for whatever reason - the /rollbackWithdrawal request MUST be retried for a configurable period of time.
We suggest same retry pattern as for the /confirmWithdrawal request.
The reference between the /rollbackWithdrawal and the former /withdraw request, is the mmTransactionId.

Request

Body Params application/json

Example
{
    "token": "0fabcdc4-fe07-44f2-b968-93da3b324898",
    "mmTransactionId": "1234abcd",
    "rollbackReason": "Withdraw request failed."
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://mmaster.casual-tnl01.quantum-web-platform.com/wallet/rollbackWithdrawal' \
--header 'Content-Type: application/json' \
--data '{
    "token": "0fabcdc4-fe07-44f2-b968-93da3b324898",
    "mmTransactionId": "1234abcd",
    "rollbackReason": "Withdraw request failed."
}'

Responses

🟢200OK
application/json
Bodyapplication/json

Example
{
    "mmTransactionId": "1234abcd",
    "balance": {
        "amount": 51800,
        "currencyCode": "XAG"
    }
}
🔴500服务器错误
Modified at 2023-08-24 13:43:08
Previous
Confirm Withdraw
Next
Entry Sequence
Built with