Get Order's Refund Record

🔒

Requires read_order access scope. More access scope

The Get Order's Refund Record retrieve detailed refund information for a specific order.

This API is especially useful for:

  1. Viewing complete refund history for an order
  2. Reconciling financial records for specific transactions
  3. Investigating refund status and details

Request Parameters

Public Request Parameters

📘

Path Parameters

ParameterTypeRequiredDescriptionExample
order_idstringYesUnique identifier of the order"ord_123456789"

Response Explanation

Public Response Parameters

📘

Successful Response

ParameterTypeExampleDescription
codestring"success"API response status code
messagestring"Refund records retrieved"Response message
data.order_financial_statusstring"refunded"Financial status of the order
data.order_statusstring"fulfilled"Current order status
data.recordsarray[object]-Array of refund records
data.records.idstring"ref_123456"Refund record ID
data.records.refund_pricestring"100.00"Total refund amount
data.records.refund_shippingstring"10.00"Shipping cost refund
data.records.refund_statusstring"finished"Current status
data.records.created_atstring"2025-01-15T10:30:00Z"Creation timestamp
data.records.refund_line_itemsarray[object]-Refunded items
data.records.refund_line_items.line_item_idstring"li_123"Line item ID
data.records.refund_line_items.refund_quantityint321Quantity refunded
data.records.payment_detailsarray[object]-Payment refund details
data.records.payment_details.payment_methodstring"credit_card"Payment method
data.records.payment_details.refund_pricestring"100.00"Amount refunded

Error Response

FieldTypeExampleDescription
codestringInvalidParameterError http message
messagestringError message
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!