Skip to main content
POST
Allow or stop spending for a customer

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Path Parameters

memberId
string
required

The customer's memberId, as returned when the customer was created or imported. At most 36 characters.

Maximum string length: 36

Body

application/json

Whether spending is allowed.

Whether a customer's bonus can be spent.

isAllowedToSpend
boolean
required

true allows the bonus on the account to be spent in payments, false stops it. Left out, it counts as false.

Example:

false

Response

The setting is stored. Also returned, with nothing changed, when the customer has no active account. The response has no body.

Last modified on August 10, 2026