getPaymentOptions

@Deprecated(message = "Use execute method instead", replaceWith = @ReplaceWith(imports = {}, expression = "execute(operation: GetPaymentOptionsOperation)"))
public final PaymentOption getPaymentOptions(String propertyId, String token, String customerIp, String customerSessionId)
@Deprecated(message = "Use execute method instead", replaceWith = @ReplaceWith(imports = {}, expression = "execute(operation: GetPaymentOptionsOperation)"))
public final PaymentOption getPaymentOptions(String propertyId, String token, String customerIp)
@Deprecated(message = "Use execute method instead", replaceWith = @ReplaceWith(imports = {}, expression = "execute(operation: GetPaymentOptionsOperation)"))
public final PaymentOption getPaymentOptions(String propertyId, String token)

Deprecated

Use execute method instead

Replace with

execute(operation: GetPaymentOptionsOperation)

Get Accepted Payment Types - EPS MOR Only Returns the accepted payment options. Use this API to power your checkout page and display valid forms of payment, ensuring a smooth booking.

Return

PaymentOption

Parameters

propertyId

Expedia Property ID.

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.

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. (optional)

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)

Throws