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 typeReturn 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.
