Skip to main content
POST
/
players
/
{playerId}
/
withdrawals
/
{withdrawalId}
/
cancel
Cancel a pending withdrawal
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"
}
'

Authorizations

Authorization
string
header
required

API Bearer token. For this demo, any non-empty string is accepted.

Headers

X-Session-ID
string
required

Path Parameters

playerId
string
required
withdrawalId
string
required

Body

application/json
reason
string
Example:

"Player request"

Response

Withdrawal cancelled successfully