CreateGooglePayPaymentMethodRequest

data class CreateGooglePayPaymentMethodRequest(val type: String = "card", val wallet: PaymentMethodRequests.GooglePayWallet, val customer: String? = null, val account: String? = null)

Request body for creating a payment method from a Google Pay wallet token.

Constructors

Link copied to clipboard
constructor(type: String = "card", wallet: PaymentMethodRequests.GooglePayWallet, customer: String? = null, account: String? = null)

Properties

Link copied to clipboard
val account: String? = null

Optional identifier of the merchant account to associate with this payment method.

Link copied to clipboard
val customer: String? = null

Optional identifier of the customer to associate with this payment method.

Link copied to clipboard

Payment method type; always "card".

Link copied to clipboard
@SerializedName(value = "_wallet")
val wallet: PaymentMethodRequests.GooglePayWallet

The Google Pay wallet wrapper containing the decoded token.