cURL
curl --request POST \ --url https://mock-api.cevro.ai/v1/players/{playerId}/deduct-cash \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-Session-ID: <x-session-id>' \ --data ' { "amount": 50, "reason": "Manual by Admin" } '
{ "success": true, "message": "<string>", "new_cash_balance": 123, "transaction_id": "<string>" }
API Bearer token. For this demo, any non-empty string is accepted.
Amount to deduct (must be greater than 0)
50
"Manual by Admin"
Cash deducted successfully