List refund records
GET/openapi/2025-06/orders/refund_records
Returns refund records across all orders, paginated via cursor and filtered by order IDs, refund record IDs, status, sort field/direction, and create/ update time ranges.
Request
Query Parameters
- pending: refund in progress.
- finished: refund completed.
- failed: refund failed. Example: ?refund_statuses=pending&refund_statuses=finished
created_at: sort by creation timeupdated_at: sort by last update timedesc: descending orderasc: ascending order
Cursor for pagination
Page size (1-100, default 10)
Filter by order IDs. Up to 10 IDs are supported. Example: ?order_ids=1001&order_ids=1002
Filter by refund record IDs. Up to 20 IDs are supported. Example: ?refund_order_ids=2001&refund_order_ids=2002
Filter by refund status.
Field used to sort the result list:
Sort direction:
Filter records created at or after this time (e.g., 2018-11-02T12:30:10Z)
Filter records created at or before this time (e.g., 2018-11-02T12:30:10Z)
Filter records last updated at or after this time (e.g., 2018-11-02T12:30:10Z)
Filter records last updated at or before this time (e.g., 2018-11-02T12:30:10Z)
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
- Array [
pending: refund in progressfinished: refund completedfailed: refund failed- Array [
- ]
- Array [
pending: refund in progressfinished: refund completedfailed: refund failed- ]
- Array [
- ]
- ]
error code
error message
data object
records object[]
List of refund records
Refund record ID
Refund price
Shipping refund
Refund Shipping Tax
Refund method
Refund status:
Note
Time when the refund record was created (e.g., 2018-11-02T12:30:10Z)
Time when the refund record was last updated (e.g., 2018-11-02T12:30:10Z)
refund_line_items object[]
List of refund line items
ID of the order line item being refunded
Refund quantity
Tax
Discount
Subtotal
Total
Delete quantity
payment_details object[]
Payment details
Refund record ID
Payment line ID
Payment channel
Payment method
Refund price
Refund status:
Time when the refund was completed
Additional total
additional_prices object[]
Additional prices
Name of the additional charge
Amount of the additional charge
Business ID
Custom Charge Name
Tip refund amount
Order ID
Cursor for pagination
Whether there are more records
{
"code": "string",
"message": "string",
"data": {
"records": [
{
"id": "string",
"refund_price": "string",
"refund_shipping": "string",
"refund_shipping_tax": "string",
"refund_method": "string",
"refund_status": "string",
"note": "string",
"created_at": "string",
"updated_at": "string",
"refund_line_items": [
{
"line_item_id": "string",
"refund_quantity": 0,
"tax": "string",
"discount": "string",
"sub_total": "string",
"total": "string",
"delete_quantity": 0
}
],
"payment_details": [
{
"id": "string",
"payment_line_id": "string",
"payment_channel": "string",
"payment_method": "string",
"refund_price": "string",
"refund_status": "string",
"finished_at": "string"
}
],
"additional_total": "string",
"additional_prices": [
{
"name": "string",
"price": "string",
"biz_id": "string",
"fee_title": "string"
}
],
"refund_tip": "string",
"order_id": "string"
}
],
"cursor": "string",
"has_more": true
}
}