3 maja 2023 roku wycofamy interfejs Transakcje (przed 13 czerwca 2023 r. wycofujemy funkcje Conversational Actions). Więcej informacji znajdziesz w artykule
Wycofanie czynności konwersacyjnych.
MerchantPaymentOption
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Wymagania dotyczące formy płatności udostępnionej przez sprzedawcę.
Zapis JSON |
{
"merchantPaymentMethod": [
{
object (MerchantPaymentMethod )
}
],
"defaultMerchantPaymentMethodId": string,
"managePaymentMethodUrl": string
} |
Pola |
merchantPaymentMethod[] |
object (MerchantPaymentMethod )
Wymagane. Lista form płatności udostępnionych przez Action/Merchant.
|
defaultMerchantPaymentMethodId |
string
Opcjonalnie: Identyfikator domyślnej formy płatności (jeśli istnieje).
|
managePaymentMethodUrl |
string
Opcjonalnie: Link do witryny Action/sprzedawcy, która służy do zarządzania formą płatności.
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 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. |"]]