1. 交易結果通知
Pay with Autopass 商家的多元支付服務
  • 連鎖店-商家的多元支付服務 API
    • 🚗 簡介
    • 🧾 流程簡介
    • 📘 連線方式
    • ⛔ 錯誤訊息
    • 📩 資料交換格式
    • 🚀 交易結果通知(Webhook)
    • <> API Reference
      • 連鎖店功能
        • 取得連鎖店資訊
      • 請款
        • 建立請款
        • 搜尋請款交易資訊
        • 取得單筆請款交易資訊
        • 帳單手動請款
        • 取消請款交易
        • 進行退款交易
      • 服務狀態
        • 確認服務狀態
      • 交易結果通知
        • 交易結果通知
    • Schemas
      • ChainStore
      • Invoice
      • Error
      • ErrorGeneric
      • CreateInvoiceRequest
      • CaptureInvoiceRequest
      • RefundInvoiceRequest
      • TransactionResultNotification
  1. 交易結果通知

交易結果通知

Webhook
POST
transactionResult
當交易結果確認時,麻吉雲系統會主動發出 HTTP POST 連線,將交易結果通知合作夥伴。若有需要,請將接收通知的網址提供給麻吉雲窗口設定。
連線將會使用下列四個固定 IP 位置發送:35.194.195.102、35.194.180.148、35.201.154.75、35.201.142.93,如需設定防火牆白名單請據此設定。

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/jsonRequired

Examples

Responses

🟢200
合作夥伴已接收通知
This response does not have a body.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://your-api-server.com' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "env": "production",
    "id": "ID",
    "state": "accepted",
    "payment_state": "paid",
    "plate_number": "ABC-1234",
    "invoice_no": "業者自訂的交易編號",
    "transaction_type": "交易類型",
    "request_amount": "100",
    "paid_at": "2018-01-01T00:00:00+08:00",
    "refund_state": "no_refund",
    "refunded_at": null,
    "payment_method": "credit_card"
}'
Modified at 2026-09-10 01:52:45
Previous
確認服務狀態
Next
ChainStore
Built with