在 Zonos Dashboard 以外處理訂單時,隨時手動扣款。
啟用延遲扣款後,Zonos 會在訂單建立三日後,或訂單在 Zonos Dashboard 出貨時(以較早者為準)自動扣款。
如果你在 Dashboard 以外處理訂單,可以使用我們的 orderPaymentCapture mutation,在 3 日延遲期屆滿前或訂單出貨前(以較早者為準)扣款。
orderPaymentCapture
如要為訂單扣款,請呼叫 orderPaymentCapture mutation,並將 orderId 作為輸入參數傳遞。
orderId
mutation manualCapture {
orderPaymentCapture(
input: { orderId: "order_a190981e-276a-4daf-927e-fc17f62a49cc" }
) {
id
charges {
paymentStatus
}
訂單可以有以下其中一個狀態:
扣款後,你可以查詢訂單,確認訂單的付款狀態已經變成 PAID。
query order {
order(orderId: "order_a190981e-276a-4daf-927e-fc17f62a49cc") {
手動扣款
手動扣款
在 Zonos Dashboard 以外處理訂單時,隨時手動扣款。
啟用延遲扣款後,Zonos 會在訂單建立三日後,或訂單在 Zonos Dashboard 出貨時(以較早者為準)自動扣款。
如果你在 Dashboard 以外處理訂單,可以使用我們的
orderPaymentCapturemutation,在 3 日延遲期屆滿前或訂單出貨前(以較早者為準)扣款。手動扣款
如要為訂單扣款,請呼叫
orderPaymentCapturemutation,並將orderId作為輸入參數傳遞。mutation manualCapture {orderPaymentCapture(input: { orderId: "order_a190981e-276a-4daf-927e-fc17f62a49cc" }) {idcharges {idpaymentStatus}}}核實付款狀態
訂單可以有以下其中一個狀態:
扣款後,你可以查詢訂單,確認訂單的付款狀態已經變成 PAID。
query order {order(orderId: "order_a190981e-276a-4daf-927e-fc17f62a49cc") {idcharges {idpaymentStatus}}}orderPaymentCapture
這個頁面有幫助嗎?