Skip to main content
Vindicia Retain provides an optional capability to retry billing using multiple, different payment methods provided by the Merchant. This capability is enabled by Merchant Configuration performed by your Vindicia Deployment Services contact. When this setting is enabled, the Merchant can use this API method to submit additional payment method details linked to a specific customer Account. Retain will perform retries using each eligible PaymentMethod in succession (determined by ascending sortOrder value on each PaymentMethod object associated with the Retain customer Account). When any Transaction retry succeeds or has been attempted with each eligible PaymentMethod, Retain stops retries for that submitted Transaction. If a retry with a specific PaymentMethod is declined with a Soft Failure response code, the PaymentMethod is unchanged and can be used during subsequent retry cycles and an additional retry is attempted in the current cycle using the next eligible PaymentMethod for that customer. If a retry with a specific PaymentMethod is rejected with a Hard Failure response code, the PaymentMethod is marked as ineligible for future retries for any Transactions for this customer Account. When all eligible PaymentMethods provided by the Merchant for a customer Account have been attempted, the retry cycle for that Transaction is concluded.

Input

auth: Credentials required to authenticate this request paymentMethods: an array of Retain Payment Method objects to be associated with the Account object identified by accountVID or customerId or externalId. Note: Account objects are identified by (in order of precedence) accountVID, customerId or externalId. Note: If an Account using one of the above identifiers does not already exist, it will be created by Retain.

Output

return: an object of type Return indicating success or failure of the call. response: an array of PaymentMethodValidationResponse objects which contains the paymentMethodId of each PaymentMethod that returned an error. Note: An empty response array indicates that the API call succeeded without error. For more information, see PaymentMethodValidationResponse.

Returns

This method returns the codes listed in Retain Return Codes.

Example

Parent topic:Vindicia Retain Methods