cURL
curl --request POST \ --url https://mock-api.cevro.ai/v1/players/{playerId}/withdrawals/{withdrawalId}/cancel \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-Session-ID: <x-session-id>' \ --data ' { "reason": "Player request" } '
Cancels a pending withdrawal request. Only pending withdrawals can be cancelled.
API Bearer token. For this demo, any non-empty string is accepted.
"Player request"
Withdrawal cancelled successfully