Transaction API 将于 2023 年 5 月 3 日弃用,在此之前,会话操作将于 2023 年 6 月 13 日停用。如需了解详情,请参阅
对话型 Action 停用。
MerchantPaymentOption
JSON 表示法 |
{
"merchantPaymentMethod": [
{
object (MerchantPaymentMethod )
}
],
"defaultMerchantPaymentMethodId": string,
"managePaymentMethodUrl": string
} |
字段 |
merchantPaymentMethod[] |
object (MerchantPaymentMethod )
必需。Action/Merchant 提供的付款方式列表。
|
defaultMerchantPaymentMethodId |
string
可选。默认付款方式的 ID(如果有)。
|
managePaymentMethodUrl |
string
可选。指向用于管理付款方式的操作/商家网站的链接。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-29。
[null,null,["最后更新时间 (UTC):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"]]