- JSON representation
- GoogleProvidedPaymentOptions
- PaymentMethodTokenizationParameters
- ActionProvidedPaymentOptions
Options for payment associated with a order.
JSON representation | |
---|---|
{ // Union field |
Fields | ||
---|---|---|
Union field payment_option . Options for payment. payment_option can be only one of the following: |
||
googleProvidedOptions |
Requirements for Google provided payment instrument. |
|
actionProvidedOptions |
Info for an Action-provided payment instrument for display on receipt. |
GoogleProvidedPaymentOptions
Requirements for Google-provided payment method.
JSON representation | |
---|---|
{ "tokenizationParameters": { object( |
Fields | |
---|---|
tokenizationParameters |
Required field for requesting Google provided payment instrument. These tokenization parameters will be used for generating payment token for use in transaction. The app should get these parameters from their payment gateway. |
supportedCardNetworks[] |
The app allows cards from any card network listed here being used in transaction. By default, Amex, Visa, MC and Discover are supported. |
prepaidCardDisallowed |
If true, disallow prepaid cards from being used in the transaction. |
billingAddressRequired |
If true, billing address will be returned. |
PaymentMethodTokenizationParameters
Partner MUST specify the tokenization parameters if payment methods user saved with Google will be used in the transaction. Partner should be able to get these parameters from its own Payment Gateway.
JSON representation | |
---|---|
{
"tokenizationType": enum( |
Fields | |
---|---|
tokenizationType |
Required. |
parameters |
If tokenizationType is set to An object containing a list of |
ActionProvidedPaymentOptions
Requirements for Action-provided payment method.
JSON representation | |
---|---|
{
"paymentType": enum( |
Fields | |
---|---|
paymentType |
Type of payment. Required. |
displayName |
Name of the instrument displayed on the receipt. Required for action-provided payment info. For |