getRecommendedPaymentMethods
fun getRecommendedPaymentMethods(request: ShopperInsightsRequest, experiment: String? = null, callback: ShopperInsightsCallback)
Retrieves recommended payment methods based on the provided shopper insights request.
Return
A ShopperInsightsResult object indicating the recommended payment methods. Note: This feature is in beta. Its public API may change or be removed in future releases PayPal recommendation is only available for US, AU, FR, DE, ITA, NED, ESP, Switzerland and UK merchants. Venmo recommendation is only available for US merchants.
Parameters
request
The ShopperInsightsRequest containing information about the shopper.
experiment
optional JSON string representing an experiment you want to run