1. 主動通知
支付業者停車場 API
  • 🚗 概述
  • 🤝 介接架構總覽
  • 🧾 開通流程
  • 🚧 驗收流程
  • ✅ 認證指南
  • 🌐 通用規則
  • 🧾 名詞解釋
  • </> API Reference
    • 服務據點
      • 查詢服務據點
    • 據點記錄
      • 查詢據點記錄
    • 車輛識別
      • 註冊車輛識別
      • 註銷車輛識別
      • 查詢車輛識別註冊狀態
      • 註冊第三方平台車輛識別
      • 註銷第三方平台車輛識別
      • 查詢車輛識別已註冊之第三方平台
    • 交易相關
      • 查詢交易
      • 請求訂單重新開立發票
    • 主動通知
      • 據點記錄進場通知
      • 據點記錄離場通知
      • 據點記錄取消通知
      • 請款請求
      • 退款請求
      • 發票開立方式請求
      • 發票開立通知
  • Schemas
    • ErrorGeneric
    • ErrorBusiness
    • VehicleType
    • ThirdPartyPlatformTag
    • PointOfInterest
    • ListPointsOfInterestResponse
    • SiteSession
    • GetSiteSessionResponse
    • RegisterPaymentUserIdentityRequest
    • PaymentUserIdentityIdResponse
    • ThirdPartyPlatformRegistrationRequest
    • ThirdPartyPlatformRegistrationsResponse
    • OrderItem
    • OrderTransaction
    • Invoice
    • InvoiceIssueTarget
    • Order
    • GetOrderResponse
    • InvoiceRecipientInfo
    • ReissueInvoiceRequest
    • SiteSessionStartedNotification
    • SiteSessionEndedNotification
    • SiteSessionCanceledNotification
    • PayRequestNotification
    • RefundRequestNotification
    • InvoiceIssueMethodRequest
    • InvoiceIssuedNotification
    • WebhookAck
  1. 主動通知

請款請求

Webhook
POST
paymentRequest
據點有交易請求時,Autopass 會向錢包業者為此車輛識別請款,錢包業者需回應確認請款請求。

Request

Authorization
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 'Content-Type: application/json' \
--data '{
    "action": "Pay",
    "transactionId": "{payTransactionId}",
    "amount": "10.0",
    "applyDate": "{time iso8601}",
    "source": {
        "type": "Order",
        "data": {
            "orderNumber": "{autopassOrderNumber}",
            "amount": "10.0",
            "date": "{time iso8601}",
            "paymentState": "Paid",
            "refundState": "FullRefunded",
            "items": [
                {
                    "title": "停車費",
                    "amount": "15.0",
                    "source": {
                        "type": "PayTaipeiCardlessTransaction"
                    },
                    "details": {
                        "isMonthlyParkingFee": true,
                        "siteSessionId": "{siteSessionId}",
                        "parkingStartDateTime": "{time iso8601}",
                        "parkingEndDateTime": "{time iso8601}"
                    }
                },
                {
                    "title": "購物折抵",
                    "amount": "-5.0"
                }
            ],
            "transactions": [
                {
                    "action": "Pay",
                    "transactionId": "{payTransactionId}",
                    "amount": "10.0",
                    "applyDate": "{time iso8601}"
                },
                {
                    "action": "Refund",
                    "transactionId": "{refundTransactionId}",
                    "amount": "10.0",
                    "applyDate": "{time iso8601}"
                }
            ],
            "paymentUserIdentity": {
                "id": "{paymentUserIdentityId}"
            },
            "site": {
                "id": "{siteId}",
                "name": "xxx停車場"
            },
            "invoiceIssueMethod": "ElectronicInvoice",
            "invoiceExemptionReason": null,
            "invoice": {
                "id": "{invoiceId}",
                "invoiceNumber": "{invoiceNumber}",
                "issueTarget": "MobileBarcodeCarrier",
                "identifier": "/111111",
                "state": "Issued",
                "issueDate": "{time iso8601}",
                "invalidDate": "{time iso8601}",
                "allowanceDate": "{time iso8601}"
            }
        }
    }
}'
Modified at 2026-09-06 17:39:55
Previous
據點記錄取消通知
Next
退款請求
Built with