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