/payments/acceptrequest must be sent within 1 second after receiving the/payments/makerequest from BETCORE.| Error Code | Description |
|---|---|
| 200 | Success |
| 102145 | User not found |
| 103801 | Incorrect amount |
| 103 | Not enough funds for bet. Please deposit your account |
| 102823 | Error adding transaction |
| 102913 | Bet transaction not found |
| 103779 | User blocked |
| 103804 | Transaction already exists |
| 103753 | Request data error |
| 19 | Promo code has already been used |
| 20 | The specified promo code was not found |
| 21 | Not enough user registration data to use the promo code |
| 22 | Promo code promotion has ended |
| 23 | The user is prohibited from using this promo code |
| 103902 | Player bet limit reached |
| 103905 | Maximum odds threshold reached |
| 103799 | API system error |
curl --location --request POST 'https://tvbetapiproxy.top/mis-api/api/v2/payments/accept' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '/*Example of a request when a transaction was processed successfully*/
{
"ErrorCode": 200,
"Message": "Success",
"Value": {
"BetId": 120730817,
"PartnerTransactionId": "-1-120730817",
"TransactionType": -1,
"Amount": 10,
"TaxAmount": 0
}
}'{
"ErrorCode": 200,
"Message": "Success"
}