409 Conflict
Over the player’s credit limit
- Code
credit_limit_exceeded- Status
409Conflict- Type
https://errors.clavian.io/credit-limit-exceeded
What it means
Charging this amount would take what the player owes over their effective credit limit (credit.limitAmount, or the limit set for the player). detail gives the limit.
What to do
Charge less to the account and take the rest by another tender, collect what the player already owes, or raise their limit (credit:manage).
Example
The API answers with status 409 and this body, as application/problem+json. A detail may be added, saying what went wrong this time; it is for people, and changes.
{
"type": "https://errors.clavian.io/credit-limit-exceeded",
"title": "Over the player’s credit limit",
"status": 409,
"code": "credit_limit_exceeded",
"requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}
Endpoints that return it
From the OpenAPI document, every endpoint that names it among its answers:
POST /v1/organizations/{organizationId}/venues/{venueId}/sales/{saleId}/on-accountTake a sale on accountPOST /v1/station/food-ordersOrder food from the PCPOST /v1/station/passes/{productId}/purchaseBuy a pass from the kiosk