Validate a reward

Validates a reward.

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Path parameters

pidstringRequiredformat: "uuid"
Loyalty Program ID

Request

This endpoint expects an object.
attributedRewardIdstringOptionalformat: "uuid"
Unique identifier for the attributed reward
codestringOptional
Validation code for the reward
contactIdlongOptional
Unique identifier for the contact
loyaltySubscriptionIdstringOptional
Identifier for the loyalty subscription
pointOfSellIdstringOptional
Identifier for the point of sale
rewardIdstringOptionalformat: "uuid"
Unique identifier for the reward

Response

Reward successfully validated
authorizeboolean or null
Boolean value to authorize a reward or not

Errors