交易 API 將於 2023 年 5 月 3 日淘汰,並將於 2023 年 6 月 13 日淘汰。詳情請參閱「
對話動作已淘汰」。
MerchantPaymentOption
JSON 表示法 |
{
"merchantPaymentMethod": [
{
object (MerchantPaymentMethod )
}
],
"defaultMerchantPaymentMethodId": string,
"managePaymentMethodUrl": string
} |
欄位 |
merchantPaymentMethod[] |
object (MerchantPaymentMethod )
必要欄位。操作/商家提供的付款方式清單。
|
defaultMerchantPaymentMethodId |
string
選用設定。預設付款方式的 ID (如果有的話)。
|
managePaymentMethodUrl |
string
選用設定。用於管理付款方式的動作/商家網站連結。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-29 (世界標準時間)。
[null,null,["上次更新時間:2024-08-29 (世界標準時間)。"],[[["The `merchantPaymentMethod` field is required and lists the payment methods provided by the Action or Merchant."],["`defaultMerchantPaymentMethodId` and `managePaymentMethodUrl` are optional fields that can specify a default payment method and a link to manage payment methods, respectively."],["This structure outlines the requirements for payment methods provided by Merchants using JSON."]]],["Merchants must provide payment method details in a JSON format, including a list of `merchantPaymentMethod` objects. Optionally, they can specify a `defaultMerchantPaymentMethodId` and a `managePaymentMethodUrl`. The `merchantPaymentMethod` is a required field, representing an array of payment methods the merchant accepts. The other two are strings that serve as the ID of the default option and the url for payment management respectively.\n"]]