Adjust a points balance
/v1/points/adjustmentsCredits or debits a player's balance by hand and records why. Idempotent per player when an idempotency key is supplied, a retry returns the original adjustment instead of moving the balance again.
Authorization
ApiKey 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 project environment is not part of the body, it is resolved from the API key.
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}