GooglePaymentOption

对 Google 提供的付款方式的要求。

JSON 表示法
{
  "facilitationSpec": string
}
字段
facilitationSpec

string

此 JSON blob 捕获了有关 Google 如何帮助集成商付款的规范,即 https://developers.google.com/pay/api/web/reference/object#PaymentDataRequest 中定义的 PaymentDataRequest 对象 示例:{ "apiVersion": 2, "apiVersionMinor": 0, "merchantInfo": { "merchantName": "示例商家"}, "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"} }