Refund Object Fields
Use this object to model refunds.
If the sale is partially or fully refunded and it qualifies for a tax refund from the tax authority, relevant information needs to be sent back to the API. You can use the Refund object and the Refund Transactions request to do so.
This object contains the following fields:
Field | Description |
---|---|
refund_tax_amount | Refund tax amount. |
refund_total_amount | The total amount that is to be refunded for a full refund. |
refund_note_url | Refund note URL. |
refund_amount | The amount for a partial refund. Used if no value is specified in the refund_total_amount field. |
refund_note_number | Sequential refund note number. |
refund_key | Refund identifier. |
refund_note_subnumber | Sequential refund note subnumber. |
line_key | If you are modeling a line key refund, you can specify the line key that you want to refund in this field in requests. In responses, this value is returned by the service if you do not include it. |
refund_timestamp | The time that the refund is issued. The format is yyyy-MM-dd'T'HH:mm:ssZZZ . The default value is the merchant's timezone. The value is used in the invoice and to apply currency conversions. |
refund_unique_reference | Refund unique reference per line. |
refund_fees | List of fees calculated for this refund. See Refund Fees section below. |
refund_amount_trimmed | Indicates whether the refund amount has been trimmed or not. The value can be true or false . |
refund_reason | Free text used to specify a reason for the refund. |
Refund Fees
Field | Description |
---|---|
| 3-letter ISO currency code. |
| Amount in designated currency. |
| Foreign exchange rate used in calculation |
| The date that is used to generate the rate when the currency is converted for the refund. This defaults to the transaction's order date. |
| The institution that supplied the rate used for the currency conversion. |
| The seller code for which the fee applies. |
| Choose of the following types:
|
rule | The tax rule that was applied. This decides what type of fee is applied in the type field. |
free_key | A unique key that you can use to identify the transaction. |
correlated_fee_key | The key used to identify the keys of related fees. |
Updated 23 days ago