• Home
  • Games
  • Solution
  • API
logo-img
  1. icon deposit Deposit
    Request  :  {Protocol}://{Endpoint}/rest/transfer/deposit
    Protocol  :  HTTP
    Method  :  POST
    Content-Type  :  application/json
    Endpoint  :  https://walletapi.data333.com/rest/transfer/deposit
    This method using to deposit the credit to player’s wallet.
    Post data model
    Name Data Type Description
    Partner string Partner’s name that will be provided by 998 company to partner
    Sign string A hashed string that will be generated by using CreateSign method
    TimeStamp long Unix time at partner side when send request
    TransactionId string Unique transaction id from partner side
    Player string Username of player
    Amount decimal(18,6) Deposit amount, is positive number

    Response data format
    Name Data Type Description
    Error integer Error code. Negative means fail operation. Zero means successfully operation.
    Message string Error message in text format
    Sign string A hashed string that will be generated by using CreateSign method
    TimeStamp long Unix time at 998’s side when send response
    Player string Username of player
    Amount decimal(18,6) Deposit amount, is positive number
    Before decimal(18,6) Balance before deposit
    After decimal(18,6) Balance before deposit
  2. icon withdraw Withdraw
    Request  :  {Protocol}://{Endpoint}/rest/transfer/withdrawal
    Protocol  :  HTTP
    Method  :  POST
    Content-Type  :  application/json
    Endpoint  :  https://walletapi.data333.com/rest/transfer/withdrawal
    This method using to withdraw the credit from player’s wallet.
    Post data model
    Name Data Type Description
    Partner string Partner’s name that will be provided by 998 company to partner
    Sign string A hashed string that will be generated by using CreateSign method
    TimeStamp long Unix time at partner side when send request
    TransactionId string Unique transaction id from partner side
    Player string Username of player
    Amount decimal(18,6) Withdrawal amount, is positive number

    Response data format
    Name Data Type Description
    Error integer Error code. Negative means fail operation. Zero means successfully operation.
    Message string Error message in text format
    Sign string A hashed string that will be generated by using CreateSign method
    TimeStamp long Unix time at 998’s side when send response
    Player string Username of player
    Amount decimal(18,6) Deposit amount, is positive number
    Before decimal(18,6) Balance after deposit
    After decimal(18,6) Balance after deposit
  3. icon magnifier Check Transaction Status
    Request  :  {Protocol}://{Endpoint}/api/play/login
    Protocol  :  HTTP
    Method  :  POST
    Content-Type  :  application/json
    Endpoint  :  https://walletapi.data333.com/rest/transfer/check
    This method using to check status of a certain transaction.
    Post data model
    Name Data Type Description
    Partner string Partner’s name that will be provided by 998 company to partner
    Sign string A hashed string that will be generated by using CreateSign method
    TimeStamp long Unix time at partner side when send request
    TransactionId string Unique transaction id from partner side

    Response data format
    Name Data Type Description
    Error integer Error code. Negative means fail operation. Zero means successfully operation.
    Message string Error message in text format
    Sign string A hashed string that will be generated by using CreateSign method
    TimeStamp long Unix time at 998’s side when send response
    Status integer
    • 0 : fail
    • 1 : success
    • -1 : not existed
  4. icon get Get Balance
    Description  :  get Current balance of player
    Protocol  :  HTTP
    Method  :  HTTP POST
    Content-Type  :  application/json
    EndPoint  :  https://api.data333.com/api/player/balance
    Post data model  : 
    Name Data Type Description
    Partner string Partner’s name that will be provided by 998 company to partner
    Sign string A hashed string that will be generated by using CreateSign method
    TimeStamp long Unix time at partner side when send request
    UserName string UserName of Player

    Response data format
    Name Data Type Description
    Error integer Error code. Negative means fail operation. Zero means successfully operation.
    Message string Error message in text format
    Sign string A hashed string that will be generated by using CreateSign method
    TimeStamp long Unix time at 998’s side when send response
    Balance Decimal Balance of Player
logo

Start your casino business journey with API2ALL

Copyright © 2020. All Right Reserved.

Contact Us

Please complete the details below and then click on Submit and we’ll be in contact