Skip to main content
The fetchByVid method returns a Refund object whose VID matches the input. The VID is assigned by Subscribe when creating a new Refund object, in response to a refund issued with a report() or perform() call, or through the Subscribe Portal. When constructing a Refund object to pass into a report() or perform()call, leave the VID field blank so that Subscribe can assign the object a VID when it adds the object to the database. The VID is available in the Refund object returned to you.

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. vid: the Refund object’s Vindicia unique identifier, which serves as the search criterion.

Output

return: an object of type Return that indicates the success or failure of the call. refund: the Refund object whose VID matches the input.

Returns

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

Example

Parent topic:Refund Methods