- JSON representation
- GoogleProvidedPaymentOptions
- PaymentMethodTokenizationParameters
- ActionProvidedPaymentOptions
Deprecated: Use V3 Proto instead. 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
Deprecated: Use V3 Proto instead. 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. Deprecated: Use facilitationSpecification field instead. |
supportedCardNetworks[] |
The app allows cards from any card network listed here being used in transaction. By default, Amex, Visa, MC and Discover are supported. Deprecated: Use facilitationSpecification field instead. |
prepaidCardDisallowed |
If true, disallow prepaid cards from being used in the transaction. Deprecated: Use facilitationSpecification field instead. |
billingAddressRequired |
If true, billing address will be returned. Deprecated: Use facilitationSpecification field instead. |
facilitationSpecification |
This JSON blob captures the specification for how Google facilitates the payment for integrators, which is the PaymentDataRequest object as defined in https://developers.google.com/pay/api/web/reference/object#PaymentDataRequest Example: { "apiVersion": 2, "apiVersionMinor": 0, "merchantInfo": { "merchantName": "Example Merchant" }, "allowedPaymentMethods": [ { "type": "CARD", "parameters": { "allowedAuthMethods": ["PAN_ONLY", "CRYPTOGRAM_3DS"], "allowedCardNetworks": ["AMEX", "DISCOVER", "JCB", "MASTERCARD", "VISA"] }, "tokenizationSpecification": { "type": "PAYMENT_GATEWAY", "parameters": { "gateway": "example", "gatewayMerchantId": "exampleGatewayMerchantId" } } } ], "transactionInfo": { "totalPriceStatus": "ESTIMATED", "totalPrice": "12.34", "currencyCode": "USD" } } |
PaymentMethodTokenizationParameters
Deprecated: Use V3 Proto instead. 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
Deprecated: Use V3 Proto instead. 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 |