GooglePaymentOption

  • The facilitationSpec field is a string containing a JSON blob that specifies how Google facilitates the payment for integrators.

  • This JSON blob is the PaymentDataRequest object, as defined in the Google Pay API documentation.

  • The example shows a PaymentDataRequest object including apiVersion, merchantInfo, allowedPaymentMethods, and transactionInfo.

  • Allowed payment methods in the example include CARD with specific allowed authentication methods and card networks, along with tokenization specification.

  • The example transactionInfo includes totalPriceStatus, totalPrice, and currencyCode.

Requirements for Google-provided payment method.

JSON representation
{
  "facilitationSpec": string
}
Fields
facilitationSpec

string

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" } }