Skip to main content

Input fields

accountNumber : String! required

The account number.

accountUserId : String

The related user id to deduct points from. The primary account user will have their points deducted if this isn't present.

idempotencyKey : UUID

A unique idempotency key for the deduction operation.

note : String

A note about the deduction.

points : Int! required

The number of Loyalty Points to deduct.

The reason code associated with the deduction.

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Example

{ "accountNumber": "A-38B9C29D", "accountUserId": "92805942", "idempotencyKey": "5bd6a94d-6055-4919-aa39-32eb6f53d0b3", "note": "family-staff-kid-recognize-play", "points": 67, "reasonCode": "POINTS_DEDUCTED_FOR_ACCOUNT_ACTION" }