Fee Payment History
/fee-payment/history
This page provides a query service for payment history.
Payment History List
By default, records from the past year are displayed. Users can filter by year, payment item, and payment status to quickly locate specific payment records.
For example: Filter records from the past 2 years.
Payment Record Details
/fee-payment/history/:id
Click on any record in the list to view detailed payment records. This page displays information such as payment status, items, ID, time, and amount.
Data Display
API Design
For the Fee Payment History page, the JSON field definitions are as follows. Development only needs to follow the specifications.
The complete JSON format is as follows:
JSON
{
"//": "規費繳納-帳務紀錄",
"data": [
{
"id": "WG1209402456",
"payment_id": "fee-5",
"payment_name": "停車費",
"amount": 150,
"paid_at": "2024-11-16T02:34:53",
"status": "processing"
},
{
"id": "CE33140593",
"payment_id": "fee-5",
"payment_name": "停車費",
"amount": 150,
"paid_at": "2024-11-10T09:10:30",
"status": "paid"
},
{
"id": "BS1209402456",
"payment_id": "fee-5",
"payment_name": "停車費",
"amount": 60,
"paid_at": "2024-10-10T18:20:53",
"status": "paid"
},
{
"id": "AS1209402456",
"payment_id": "fee-11",
"payment_name": "公訓處自費課程",
"amount": 320,
"paid_at": "2023-08-02T20:10:40",
"status": "failed"
}
]
}
Field Description
Field | Purpose | Example |
---|---|---|
id | Bill ID | A1111111111 |
payment_id | Payment item ID | fee-5 (Parking Fee) |
payment_name | Payment item name | Parking Fee |
amount | Bill amount (number) | 150 |
paid_at | Payment time | 2024-11-16T02:34:53 |
status | Payment status | Refer to Payment Status Enumeration |
Payment Status Enumeration
Status | Description |
---|---|
processing | In Process |
paid | Success |
failed | Failed |