Set a per-user spend cap (account)

Authentication

AuthorizationBearer

LoreOS account access token (lat_...) for /v1/account/*, sent as Authorization: Bearer <token>. Do not use a runtime ck_... key here.

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