Update Payment Plan Offer
Use this operation for one or both of the following:
• Indicate that the payer has accepted a payment plan offer.
• Provide the serial number(s) for the item(s) contained in the order for which the payment plan offer applies.
You must indicate that the payer has accepted a payment plan offer before proceeding with the payment. The payment plan service provider may request additional details (serial numbers of the items in the order) or may indicate that the offer is no longer available. If you do not have the serial numbers available at the time of payment, you can submit the serial numbers (using this operation) later on, but must have submitted them before capturing the funds.
Authentication
This operation requires authentication via one of the following methods:
- Certificate authentication.
-
Basic HTTP authentication as described at
w3.org.
Provide 'merchant.
<your gateway merchant ID>
' in the userid portion and your API password in the password portion.
Request
URL Parameters
Alphanumeric + additional characters
REQUIRED
The unique identifier issued to you by your payment provider.
This identifier can be up to 12 characters in length.
Data may consist of the characters 0-9, a-z, A-Z, '-', '_'
Min length: 1 Max length: 40Alphanumeric + additional characters
REQUIRED
The unique identifier of the payment plan offer that the payer has accepted.
You must provide the payment plan offer ID returned to you in the PAYMENT_PLAN_OFFERS_INQUIRY response.
Data may consist of the characters 0-9, a-z, A-Z, '-', '_'
Min length: 1 Max length: 60Fields
String
= UPDATE_PAYMENT_PLAN_OFFER
FIXED
Any sequence of zero or more unicode characters.
String
OPTIONAL
A transient identifier for the request, that can be used to match the response to the request.
The value provided is not validated, does not persist in the gateway, and is returned as provided in the response to the request.
Data can consist of any characters
OPTIONAL
Details about the payment plan offers available for this order.
Boolean
OPTIONAL
Indicates that the payer has accepted the payment plan offer.
JSON boolean values 'true' or 'false'.
Enumeration
OPTIONAL
Indicates whether or not you have displayed the terms and conditions text to the payer for the payment plan offer and payer has accepted the offer.
Value must be a member of the following list. The values are case sensitive.
NONE
You have not displayed the terms and conditions to the payer as you have not received any terms and condition text or terms and conditions acceptance in the PAYMENT_PLAN_OFFERS_INQUIRY response.
TERMS_AND_CONDITIONS_AND_ACCEPTANCE
You have displayed the terms and conditions and the payer has accepted.
TERMS_AND_CONDITIONS_ONLY
You have displayed the terms and conditions to the payer but payer did not actively accept as you may not require the terms and conditions acceptance.
ASCII Text
OPTIONAL
Identifier of the payment session containing values for any of the request fields to be used in this operation.
Values provided in the request will override values contained in the session.
Data consists of ASCII characters
ASCII Text
OPTIONAL
Use this field to implement optimistic locking of the session content.
Do this if you make business decisions based on data from the session and wish to ensure that the same data is being used for the request operation.
To use optimistic locking, record session.version when you make your decisions, and then pass that value in session.version when you submit your request operation to the gateway.
If session.version provided by you does not match that stored against the session, the gateway will reject the operation with error.cause=INVALID_REQUEST.
See Making Business Decisions Based on Session Content.
Data consists of ASCII characters
Response
Fields
ALWAYS PROVIDED
Details about the payment plan offers available for this order.
Alphanumeric + additional characters
CONDITIONAL
The unique identifier of the payment plan offer that the payer has accepted.
The gateway will use the details of this offer for this transaction.
Data may consist of the characters 0-9, a-z, A-Z, '-', '_'
Enumeration
ALWAYS PROVIDED
A system-generated high level overall result of the operation.
Value must be a member of the following list. The values are case sensitive.
FAILURE
The operation was declined or rejected by the gateway, acquirer or issuer
PENDING
The operation is currently in progress or pending processing
SUCCESS
The operation was successfully processed
UNKNOWN
The result of the operation is unknown
CONDITIONAL
If the payment plan service provider requires you to provide the serial numbers for any of the SKUs in the order, this parameter group contains the list of SKUs for which serial numbers are requested and the due date for their submission.
You must provide these serial numbers before you capture the funds.
Date
CONDITIONAL
The due date for submitting the required serial numbers to the payment plan service provider.
Data must comply with ISO 8601 extended date format, yyyy-mm-dd
String
CONDITIONAL
The SKU(s) for which the payment plan service provider has requested that you provide a serial number.
Data can consist of any characters
Errors
Information on possible error conditions that may occur while processing an operation using the API.
Enumeration
Broadly categorizes the cause of the error.
For example, errors may occur due to invalid requests or internal system failures.
Value must be a member of the following list. The values are case sensitive.
INVALID_REQUEST
The request was rejected because it did not conform to the API protocol.
REQUEST_REJECTED
The request was rejected due to security reasons such as firewall rules, expired certificate, etc.
SERVER_BUSY
The server did not have enough resources to process the request at the moment.
SERVER_FAILED
There was an internal system failure.
String
Textual description of the error based on the cause.
This field is returned only if the cause is INVALID_REQUEST or SERVER_BUSY.
Data can consist of any characters
String
Indicates the name of the field that failed validation.
This field is returned only if the cause is INVALID_REQUEST and a field level validation error was encountered.
Data can consist of any characters
String
Indicates the code that helps the support team to quickly identify the exact cause of the error.
This field is returned only if the cause is SERVER_FAILED or REQUEST_REJECTED.
Data can consist of any characters
Enumeration
Indicates the type of field validation error.
This field is returned only if the cause is INVALID_REQUEST and a field level validation error was encountered.
Value must be a member of the following list. The values are case sensitive.
INVALID
The request contained a field with a value that did not pass validation.
MISSING
The request was missing a mandatory field.
UNSUPPORTED
The request contained a field that is unsupported.
Enumeration
A system-generated high level overall result of the operation.
Value must be a member of the following list. The values are case sensitive.
ERROR
The operation resulted in an error and hence cannot be processed.