Skip to main content
The statusInquiry method causes Subscribe to check with the gift card processor to learn the latest status of an input GiftCard. Subscribe populates the status attribute in the GiftCard object it returns in response. Call this method before redeeming a gift card. If the status is Active, the gift card is redeemable.

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 for which you want a status check. If this is a new gift card, be certain to specify the pin attribute. If this is an existing GiftCard object, you may specify only the VID attribute.

Output

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

Returns

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

Example

Parent topic:GiftCard Methods