保留擷取流程
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
總覽
「預留擷取流程」用於透過雙訊息通訊來處理付款。系統會先透過呼叫向付款整合商代管的 reserveFunds 方法保留資金。如果這個方法同步傳回 SUCCESS,表示已保留且可擷取或釋出資金。這個步驟通常稱為執行驗證或授權。
擷取保留資金
您可以呼叫 asynchronousCaptureFundsReservation 擷取資金。以便我們將款項匯入 Google 的帳戶。

取消預約資金
或者,也可以呼叫 asynchronousCancelFundsReservation 取消預訂。這會釋出這筆款項。取消預訂並不會導致資金移動。系統會在固定時間 (通常是七天) 後自動取消預留項目。
收單銀行參考編號
如果已擷取資金,則會產生 ARN (收單參考編號)。通常幾天後,付款整合商就無法得知這個值。知道值後,付款整合商必須呼叫 Google 代管的 setAcquirerReferenceNumberForCaptureNotification,以便向 Google 提供 ARN。將 ARN 與這筆交易建立關聯後,Google 即可處理與這筆交易相關的爭議和詐欺事件。
後續作業
如果已擷取款項,Google 可呼叫託管於 asynchronousRefund 的付款整合商,將款項退還給您。或者,使用者或發卡銀行也可以啟動透過爭議流程處理的交易退單程序。
保留所有權利。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],["The reserve capture flow utilizes dual message communication for payments. Funds are initially reserved via the `reserveFunds` method. If successful, they can be captured using `asynchronousCaptureFundsReservation`, moving them to Google's account, or canceled with `asynchronousCancelFundsReservation`, releasing the hold. Captured funds generate an Acquirer Reference Number (ARN) that must be provided to Google via `setAcquirerReferenceNumberForCaptureNotification`. After capture, refunds are possible using `asynchronousRefund`, or the dispute flow can be initiated. Uncaptured funds reservations are automatically cancelled after 7 days.\n"]]