Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"username": "my422677781",
"amount": 1,
"payment_pin": 544544,
"timestamp": "{{timestamp}}"
}
Request Code Samples
curl --location 'https://agent-api.1hubx.com/api/v1/agent/player/withdraw' \
--header 'User-Agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"username": "my422677781",
"amount": 1,
"payment_pin": 544544,
"timestamp": ""
}'
Responses
application/json
{
"status": true,
"message": "Withdraw successfully",
"data": {
"transactionID": "fa6b6c2a-5bd4-455c-829a-987b7e4566a6",
"amount": -1,
"balance": 0
}
}
Modified at 2025-12-16 09:17:48