Transactions API will be deprecated on May 3, 2023, ahead of the Conversational Actions sunset on June 13, 2023. For more information, see
Conversational Actions sunset.
MerchantPaymentOption
Requirements for Merchant-provided payment method.
JSON representation |
{
"merchantPaymentMethod": [
{
object (MerchantPaymentMethod )
}
],
"defaultMerchantPaymentMethodId": string,
"managePaymentMethodUrl": string
} |
Fields |
merchantPaymentMethod[] |
object (MerchantPaymentMethod )
Required. List of payment methods provided by Action/Merchant.
|
defaultMerchantPaymentMethodId |
string
Optional. Id of the default payment method, if any.
|
managePaymentMethodUrl |
string
Optional. A link to the action/merchant website for managing payment method.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["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"]]