سيتم إيقاف واجهة برمجة تطبيقات المعاملات في 3 أيار (مايو) 2023، قبل إيقاف ميزة "إجراءات المحادثات" في 13 حزيران (يونيو) 2023. لمزيد من المعلومات، يُرجى الاطّلاع على
إنهاء إجراءات المحادثة.
MerchantPaymentOption
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
متطلبات طريقة الدفع التي يقدّمها التاجر
تمثيل JSON |
{
"merchantPaymentMethod": [
{
object (MerchantPaymentMethod )
}
],
"defaultMerchantPaymentMethodId": string,
"managePaymentMethodUrl": string
} |
الحقول |
merchantPaymentMethod[] |
object (MerchantPaymentMethod )
مطلوب. قائمة طرق الدفع المقدَّمة من Action/Merchant
|
defaultMerchantPaymentMethodId |
string
اختياريّ. معرّف طريقة الدفع التلقائية، إن توفّرت
|
managePaymentMethodUrl |
string
اختياريّ. رابط إلى الموقع الإلكتروني الخاص بالتاجر/الإجراء لإدارة طريقة الدفع
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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. |"]]