Points

Adjust a points balance

POST/v1/points/adjustments

Credits or debits a player's balance by hand and records why. With an idempotency key, a retry returns the original adjustment instead of moving the balance again.

AuthorizationBearer <token>

Paste a project API key (no 'Bearer ' prefix). Create one in the dashboard under API keys.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Request body for an adjustment. The environment comes from the API key, not the body.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/points/adjustments" \  -H "Content-Type: application/json" \  -d '{    "playerId": "string",    "amount": 0  }'
{  "transactionId": "75906707-8c31-479c-b354-aa805c4cefbc",  "amount": 0,  "balance": 0}