merchantProductId of a Product object that you have previously created in Subscribe. When you create the Product, use the creditGranted data member to associate a number of Token credits with it, which will be granted to the Account or AutoBill upon redemption of the associated Gift Card.
To redeem a Gift Card:
- Subscribe sends the Gift Card number (as defined by you and your gift card processor, and presented by your customer) to your gift card processor.
- Your card processor validates that the Gift Card associated with the number is still active.
- Upon validation, your Gift Card processor returns a SKU or UPC number to Subscribe.
- Subscribe matches this SKU to a Product’s
merchantProductId(or SKU). - If a match is found, the Token credits associated with the Product are granted to the Account or AutoBill.
Product objects with the corresponding merchantProductId in Subscribe.
The following example creates a new Product object that grants token-based credit (5000 tokens of type 'STARWARS_POINTS'). The merchantProductId of this Product matches the SKU/UPC the processor returns when a $10 gift card is redeemed.

