putCompletePaymentSession

public final CompletePaymentSession putCompletePaymentSession(String customerIp, String itineraryId, String token, String customerSessionId, String test)
public final CompletePaymentSession putCompletePaymentSession(String customerIp, String itineraryId, String token, String customerSessionId)
public final CompletePaymentSession putCompletePaymentSession(String customerIp, String itineraryId, String token)

Complete Payment Session This link only applies to transactions where EPS takes the customer's payment information. This includes both Expedia Collect and Property Collect transactions.
This link will be available in the booking response only if you've opted into Two-Factor Authentication to comply with the September 2019 EU Regulations for PSD2. It should be called after Two-Factor Authentication has been completed by the customer in order to finalize the payment and complete the booking or hold attempt. Learn more with our PSD2 Overview

Return

CompletePaymentSession

Parameters

customerIp

IP address of the customer, as captured by your integration.
Ensure your integration passes the customer's IP, not your own. This value helps determine their location and assign the correct payment gateway.
Also used for fraud recovery and other important analytics.

itineraryId

This parameter is used only to prefix the token value - no ID value is used.

token

Provided as part of the link object and used to maintain state across calls. This simplifies each subsequent call by limiting the amount of information required at each step and reduces the potential for errors. Token values cannot be viewed or changed.

customerSessionId

Insert your own unique value for each user session, beginning with the first API call. Continue to pass the same value for each subsequent API call during the user's session, using a new value for every new customer session.
Including this value greatly eases EPS's internal debugging process for issues with partner requests, as it explicitly links together request paths for individual user's session. (optional)

test

The payment-sessions call has a test header that can be used to return set responses with the following keywords:
* standard * service_unavailable * internal_server_error (optional)

Throws