Skip to content

Account Withdraw

This endpoint allows you to deduct funds from a player’s account. It returns the updated balance after the withdrawal is processed.


fetch('https://API-PLATFORM/account-withdraw', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Api-Id': 'YOUR_SECRET_TOKEN',
'Api-Key': 'YOUR_SECRET_TOKEN'
},
body: JSON.stringify({
user_id: '',
currency: 'KRW',
transaction_id: '',
amount: 1
})
})
{
"user_id": "testuser",
"currency": "USD",
"amount": 50,
"transaction_id": "ASDASDSADAS"
}
{
"code": 0,
"data": {
"balance": 50,
"transaction_id": "ASDASDSADAS"
}
}

📌
For a comprehensive guide on how this works, please refer to the Common and Transfer Introduction or Seamless Introduction sections within the Introduction page.