The Refund Object
id
Unique identifier of the refund.
type
The type of the refund, which can be one of the following:
cancellation: when the order is canceled by ThredUp or the customerrefund: when the order is refunded by ThredUp or the dropshipper
source
The source of the refund, which can be one of the following:
thredup: when the refund is initiated by ThredUpdropshipper: when the refund is initiated by the dropshipper
state
The current state of the refund, which can be one of the following:
pending: when the refund is created but not yet appliedsuccessful: when the refund is successfully appliedfailed: when the refund failed to be applied
total_refunded
The total amount refunded in cents, which is the sum of all refund lines.
refund_lines
A list of refund lines associated with the refund.