Refund
A refund represents an amount of money transfered back to the customer for a given reason. Refunds may occur in relation to Returns, Swaps and Claims, but can also be initiated by an admin for an order.
Properties
amount
numberRequiredThe amount that has be refunded to the Customer.
created_at
DateRequiredThe date with timezone at which the resource was created.
id
stringRequiredThe refund's ID
idempotency_key
stringRequiredRandomly generated key used to continue the completion of the refund in case of failure.
metadata
Record<string, unknown>RequiredAn optional key-value map with additional details
note
stringRequiredAn optional note explaining why the amount was refunded.
The details of the order this refund was created for.
order_id
stringRequiredThe ID of the order this refund was created for.
The details of the payment associated with the refund.
payment_id
stringRequiredThe payment's ID, if available.
reason
stringRequiredThe reason given for the Refund, will automatically be set when processed as part of a Swap, Claim or Return.
updated_at
DateRequiredThe date with timezone at which the resource was updated.
Was this section helpful?