redeem( )


Important:


This method requests that a transaction be created by your app. Wix calls this method when a customer completes a purchase that includes a gift card as a payment method at checkout.

Method Declaration
Copy
Method Parameters
payloadRedeemEnvelope
Returns
Return Type:RedeemResponse | Promise<RedeemResponse>
JavaScript
Errors
AlreadyRedeemedWixErrorclass
CurrencyNotSupportedWixErrorclass
GiftCardDisabledWixErrorclass
GiftCardExpiredWixErrorclass
GiftCardNotFoundWixErrorclass
InsufficientFundsWixErrorclass
Did this help?