Skip to main content
The reverse method reverses a previous operation on a GiftCard (if the gift card processor allows it). Use reverse to reset the status of a gift card back to Active if a technical glitch occurred when you tried to redeem a gift card. reverse lets you retry the redemption. Do not use this method to undo the successful redemption of a gift card. This method does not automatically revoke credit from an AutoBill or Account, granted when the gift card was successfully redeemed.

Input

srd: sparse response description, a SOAP string (which must be a JSON object), in which you specify the elements you want returned.This parameter enables the calling system to constrain a method call to return only components you specify. This gives you greater control over returned content, and improves response time within the Vindicia platform by reducing the processing needed for the call. Some fields are required, either practically or in the WSDL, and will be returned regardless of the srd. A null srd returns the complete response. giftCard: the GiftCard object whose status you wish to reverse. Use the VID attribute to specify the GiftCard object.

Output

return: an object of type Return that indicates the success or failure of the call. giftcard: the reversed GiftCard object, with updated status.

Returns

In addition to those listed in The Return Object, this call returns:

Example

Parent topic:GiftCard Methods