Set a per-user spend cap (account)

Authentication

AuthorizationBearer

LoreOS API key, sent as Authorization: Bearer <key>.

Path parameters

app_idstringRequired
external_user_refstringRequired

Request

This endpoint expects an object.
resource_typestringOptional<=80 charactersDefaults to all
limit_creditsdouble or nullOptional>=0
enforcementstringOptionalformat: "^(hard|soft)$"Defaults to hard

Response

Successful Response

Errors

422
Unprocessable Entity Error