Skip to content

Product Callbacks

New workflow diagram

This new callback common flow, we simplifies callbacks from provider and standardize it to our own understandable. Please check the following support products.

Headers Request Signature (Optional)

Some callback requests may include the following headers for signature verification:

HeaderDescription
sapi-timestampUnix timestamp in milliseconds sent by the system at request time.
sapi-signatureHMAC-SHA256 signature of the request, using your signatureKey as the secret.

Verifying the signature is optional but recommended. If you choose to verify it, refer to the API Signature Verification page for the full method and code examples.

Products to support

See all products in the Product Lists section.

API LIST

PropertyPathDescription
GetBalance/checkBalanceGet Balance
PlaceBets/placeBetsPlaceBet
Settle Bets/settleBetsSettlement
CancelBets/cancelBetsCancelBets
AdjustBets/adjustBetsAdjustBets
Rollback/rollbackRollback
WinRewards/winRewardsWinRewards
Tips/placeTipsTips
CancelTips/cancelTipsCancelTips
VoidSettle/voidSettledVoidSettle
AdjustBalance/adjustBalanceAdjustBalance

Common Status Code

JSON response fail example:

CodeDescription
0Success
10001User not found
10002User has insufficient balance to proceed
20001Transaction not found
20002Transaction duplicate
30001Invalid token
30002Invalid Signature
40003Forbidden request
50001Internal server error