La API de Transactions se dará de baja el 3 de mayo de 2023, antes de la baja de Conversational Actions el 13 de junio de 2023. Para obtener más información, consulta
Eliminación de acciones en conversaciones.
MerchantPaymentOption
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Requisitos para las formas de pago proporcionadas por el comercio.
Representación JSON |
{
"merchantPaymentMethod": [
{
object (MerchantPaymentMethod )
}
],
"defaultMerchantPaymentMethodId": string,
"managePaymentMethodUrl": string
} |
Campos |
merchantPaymentMethod[] |
object (MerchantPaymentMethod )
Obligatorio. Lista de formas de pago proporcionadas por Acción o Comercio.
|
defaultMerchantPaymentMethodId |
string
Opcional. Es el ID de la forma de pago predeterminada, si corresponde.
|
managePaymentMethodUrl |
string
Opcional. Un vínculo al sitio web de la acción o del comercio para administrar la forma de pago.
|
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-26 (UTC)
[null,null,["Última actualización: 2025-07-26 (UTC)"],[[["\u003cp\u003eTransaction functionalities for Conversational Actions are unavailable in Denmark, France, Germany, Italy, the Netherlands, Norway, Poland, Spain, and Sweden due to regulatory changes.\u003c/p\u003e\n"],["\u003cp\u003eThe Actions on Google Orders API enables developers to manage transactions for physical goods within their Actions.\u003c/p\u003e\n"],["\u003cp\u003eUsing the Orders API requires OAuth 2.0 authentication with a user token authorized for the \u003ccode\u003ehttps://www.googleapis.com/auth/actions.order\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eA JSON payload example demonstrates the structure of an order containing details like buyer information, merchant details, items, pricing, and fulfillment information.\u003c/p\u003e\n"]]],["The core content details the JSON structure for merchant-provided payment methods. It specifies a required `merchantPaymentMethod` array, which contains a list of payment methods. An optional `defaultMerchantPaymentMethodId` can identify the preferred method. An optional `managePaymentMethodUrl` provides a link to the merchant's website for users to handle their payment options. This structure is essential for defining the available payment choices within a transaction.\n"],null,["# MerchantPaymentOption\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nRequirements for Merchant-provided payment method.\n\n| JSON representation ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"merchantPaymentMethod\": [ { object (/assistant/df-asdk/transactions/reference/physical/rest/v3/MerchantPaymentMethod) } ], \"defaultMerchantPaymentMethodId\": string, \"managePaymentMethodUrl\": string } ``` |\n\n| Fields ||\n|----------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `merchantPaymentMethod[]` | `object (`[MerchantPaymentMethod](/assistant/df-asdk/transactions/reference/physical/rest/v3/MerchantPaymentMethod)`)` Required. List of payment methods provided by Action/Merchant. |\n| `defaultMerchantPaymentMethodId` | `string` Optional. Id of the default payment method, if any. |\n| `managePaymentMethodUrl` | `string` Optional. A link to the action/merchant website for managing payment method. |"]]