交易 API 將於 2023 年 5 月 3 日淘汰,並將於 2023 年 6 月 13 日淘汰。詳情請參閱「
對話動作已淘汰」。
OrderRequestHeader
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eThis documentation details the common header structure for order request messages, specifically focusing on the JSON representation.\u003c/p\u003e\n"],["\u003cp\u003eThe header utilizes the \u003ccode\u003eisInSandbox\u003c/code\u003e field, a boolean value indicating whether the order is a sandbox test order or a real order intended for processing.\u003c/p\u003e\n"],["\u003cp\u003eSandbox orders, identified by \u003ccode\u003eisInSandbox\u003c/code\u003e being true, should not be financially charged or physically fulfilled.\u003c/p\u003e\n"]]],["The core content describes a JSON header for order request messages, specifically the `isInSandbox` field. This field, a required boolean, signals whether the order is a test or \"sandbox\" order. When `isInSandbox` is true, the order should not be charged or fulfilled, indicating it's for testing purposes. The header is applicable to all order request messages.\n"],null,["# OrderRequestHeader\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nCommon header for all order request messages.\n\n| JSON representation ||\n|------------------------------------|---|\n| ``` { \"isInSandbox\": boolean } ``` |\n\n| Fields ||\n|---------------|-------------------------------------------------------------------------------------------------------------------|\n| `isInSandbox` | `boolean` Required: When true, indicates that this is a sandbox order, which should not be charged and fulfilled. |"]]