Create redeem voucher request
Creates a request to redeem a voucher.
Authentication
api-keystring
The API key should be passed in the request headers as api-key for authentication.
Path parameters
pid
Loyalty Program ID
Request
This endpoint expects an object.
attributedRewardId
Unique identifier for the attributed reward
code
Redemption code for the reward
contactId
Unique identifier for the contact
loyaltySubscriptionId
Identifier for the loyalty subscription
meta
Additional metadata associated with the redeem request
order
Order details for the redemption
rewardId
Unique identifier for the reward
ttl
Time to live in seconds for the redemption request
Response
Redeem request successfully created
cancelledAt
Timestamp when the redemption was cancelled
completedAt
Timestamp when the redemption was completed
contactId
Unique identifier for the contact
createdAt
Timestamp when the redemption was created
debitTransactionId
Unique identifier for the debit transaction
expiresAt
Timestamp when the redemption expires
id
Unique identifier for the redemption
loyaltyProgramId
Unique identifier for the loyalty program
meta
Additional metadata associated with the redemption
rejectReason
Reason for rejection if the redemption was rejected
rejectedAt
Timestamp when the redemption was rejected
rewardAttributionId
Unique identifier for the reward attribution
status
Current status of the redemption
updatedAt
Timestamp when the redemption was last updated