1. 交易相關
支付業者停車場 API
  • 🚗 概述
  • 🤝 介接架構總覽
  • 🧾 開通流程
  • 🚧 驗收流程
  • ✅ 認證指南
  • 🌐 通用規則
  • 🧾 名詞解釋
  • </> API Reference
    • 服務據點
      • 查詢服務據點
    • 據點記錄
      • 查詢據點記錄
    • 車輛識別
      • 註冊車輛識別
      • 註銷車輛識別
      • 查詢車輛識別註冊狀態
      • 註冊第三方平台車輛識別
      • 註銷第三方平台車輛識別
      • 查詢車輛識別已註冊之第三方平台
    • 交易相關
      • 查詢交易
        GET
      • 請求訂單重新開立發票
        POST
    • 主動通知
      • 據點記錄進場通知
      • 據點記錄離場通知
      • 據點記錄取消通知
      • 請款請求
      • 退款請求
      • 發票開立方式請求
      • 發票開立通知
  • 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. 交易相關

查詢交易

GET
/orders/{orderNumber}
查詢訂單(交易)之詳細資訊,包含請款/退款紀錄與發票狀態。【注意】僅提供 180 天內的交易資料。

Request

Authorization
Path Params

Responses

🟢200
application/json
OK
Bodyapplication/json

🟠4XX
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/orders/'
Response Response Example
200 - Success
{
    "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