createGooglePayPaymentMethod

Creates a new payment method from a Google Pay wallet token.

Sends the request using the merchant's publishable key rather than the secret key.

Return

A pair of the created payment method and a networking error.

Parameters

request

The Google Pay wallet data and optional customer or account associations.


Creates a new payment method from a Google Pay wallet token and delivers the result to a callback.

Parameters

request

The Google Pay wallet data and optional customer or account associations.

completionHandler

Called with the created payment method on success, or a NetworkingError on failure.