Skip to main content
The fetchByVid method returns a Transaction object whose VID matches the input. VID is Vindicia’s unique identifier for an object. While saving a Transaction object in its database for the first time after you’ve made a call (such as migrate(), auth(), or authCapture()), Subscribe generates and assigns a unique identifier for the object. Some calls return the newly created and updated Transaction object to you in their output response with the VID populated in the output Transaction object. Once you know a Transaction object’s VID, you may refer to that object by its VID in future calls. Never assign a VID to a new Transaction object; Subscribe will generate the VID.

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 Transaction 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. transaction: the Transaction object whose VID matches the input.

Returns

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

Example

Parent topic:Transaction Methods