ב-3 במאי 2023 נוציא משימוש את Transactions API, לפני ההוצאה משימוש של Conversations Actions ב-13 ביוני 2023.
כאן תוכלו לקרוא מידע נוסף על ההוצאה משימוש של 'פעולות שיחה'.
MerchantPaymentOption
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הדרישות בנוגע לאמצעי תשלום שסופק על ידי המוכר.
ייצוג JSON |
{
"merchantPaymentMethod": [
{
object (MerchantPaymentMethod )
}
],
"defaultMerchantPaymentMethodId": string,
"managePaymentMethodUrl": string
} |
שדות |
merchantPaymentMethod[] |
object (MerchantPaymentMethod )
חובה. רשימת אמצעי התשלום שסופקה על ידי 'פעולה' או 'מוכר'.
|
defaultMerchantPaymentMethodId |
string
זה שינוי אופציונלי. המזהה של אמצעי התשלום המוגדר כברירת מחדל, אם יש כזה.
|
managePaymentMethodUrl |
string
זה שינוי אופציונלי. קישור לאתר של הפעולה או המוכר לצורך ניהול אמצעי התשלום.
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 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. |"]]