Skip to main content
POST
/
players
/
{playerId}
/
balances
/
adjustments
Make a balance adjustment
curl --request POST \
  --url https://mock-api.cevro.ai/v1/players/{playerId}/balances/adjustments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Session-ID: <x-session-id>' \
  --data '
{
  "type": "credit",
  "balance_type": "cash",
  "amount": 50,
  "reason": "Manual correction per 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

Body

application/json
type
enum<string>
required

Type of adjustment

Available options:
credit,
debit,
correction,
chargeback,
refund
balance_type
enum<string>
required

Which balance to adjust

Available options:
cash,
bonus
amount
number
required

Amount to adjust (always positive)

Example:

50

reason
string
required

Reason for adjustment (required for audit)

Example:

"Manual correction per player request"

Response

Adjustment applied successfully