Refund Properties

Refund properties

FieldTypeDescription
idstringUnique identifier for the refund.
order_idstringThe ID of the order associated with the refund.
notestringA note regarding the refund, provided by the merchant or system.
refund_pricestringThe total refund amount as specified by the buyer, represented as a numeric string (e.g., "50.00").
currencystringThe currency code for the refund amount (e.g., USD, EUR).
created_atstringThe timestamp when the refund was created.
updated_atstringThe timestamp of the last update to the refund.
refund_line_itemsarray of RefundLineItemA list of line items included in the refund, detailing specific products and quantities.
payment_detailsarray of PaymentDetailDetails about the payment channels used for the refund.
refund_shippingstringThe shipping cost included in the total refund amount.
refund_shipping_taxstringThe tax amount applied to the refunded shipping cost.
refund_methodstringThe method of the refund:
- none: Unknown
- general: Standard refund
- customize: Custom refund method
refund_statusstring@Deprecated.The current status of the refund:
- pending: Refund is in progress
- failed: Refund failed
- finished: Refund successfully completed

RefundLineItem

FieldTypeDescription
line_item_idstringUnique identifier for the refund line item.
refund_quantityintegerThe number of units being refunded for this line item.
line_itemarray of LineItemDetails of the original order line item associated with this refund.
taxstringThe tax amount applicable to the refunded goods.
discountstringThe refunded amount of any discounts applied to the goods.
sub_totalstringThe total price of the product from the associated line_item.
totalstringThe total refund amount for the goods, including discounts and taxes.
delete_quantitystringThe quantity of the product being refunded before it was shipped.

PaymentDetail

FieldTypeDesc
payment_channelstringRefund payment channel
payment_methodstringRefund payment method
refund_pricestringChannel refund amount
finished_atstringRefund Completion time RFC3339 Time does not exist is an empty string