Widthraw bet
The auction must be active.
method: POST
url: https://ninjalender.online/client/bet/withdraw
Headers:
header key
header content
Content-Type:
application/json;
Authorization:
Bearer AToken;
Where AToken is the token that was received during authorization.
Request body:
Key
Type
Required
Description
params
JSON.object
+
Request parameters
params:
Key
Type
Required
Description
id
int
+
id of bet
response:
Key
Type
Description
code
int
Response code
message
string
Message
Request example:
Response example:
List of errors:
Key
Message
-99
System error! Try again later or contact us
-98
Expired token
-2000001
Invalid token
Last updated
Was this helpful?