requestGooglePayNonce

fun requestGooglePayNonce(payData: PaymentData): Call<GooglePayNonceResult>

Creates a Call that requests a card nonce from a Google Pay PaymentData result. Prefer this to the token-only variant because the complete PaymentData includes additional information such as postal code that can help the banks assess risk and reduce false declines.

Call Call.execute to get a GooglePayNonceResult synchronously, or Call.enqueue to get a GooglePayNonceResult asynchronously.

The result contains a GooglePayNonceResult.Success if the request was successful or a GooglePayNonceResult.Error if there was an error.

The call can be canceled at any time with Call.cancel.

Parameters

payData

A Google Pay PaymentData result.