Refund Object Fields

Learn about the fields used to model refund transactions.

These field references describe the fields in a refund object. For more information about refunds, see Refunds.

Refund

The following fields are available:

FieldDescription
refund_tax_amountThe tax amount to refund.
refund_total_amountThe total amount to refund.
refund_note_urlThe URL of the refund note.
refund_amountThe refund amount. Used if refund_total_amount is not specified.
refund_note_numberThe sequential refund note number.
refund_keyThe refund identifier.
refund_note_subnumberThe sequential refund note subnumber.
line_keyThe line_key for the transaction.
refund_timestampThe time when the refund is issued. Use the yyyy-MM-dd'T'HH:mm:ssZZZ format. The default is the merchant's time zone. The service uses this value on the invoice and for currency conversions.
refund_unique_referenceThe unique refund reference for the line.
refund_feesThe list of fees used to calculate the refund. See Refund fees.
refund_amount_trimmedIndicates whether the refund amount was trimmed. The value can be true or false.
refund_reasonThe reason for the refund.

Refund fees

FieldDescription
currency_codeThe three-letter ISO currency code.
amountThe amount in the specified currency.
fx_rateThe foreign exchange rate used for the calculation.
fx_dateThe date used to determine the exchange rate when converting the refund currency. Defaults to the transaction's order date.
fx_sourceThe institution that supplied the exchange rate used for the currency conversion.
seller_codeThe seller code to which the fee applies.
type

The fee type. Possible values:

amount-fee—Calculates the fee based on the amount.
tax-fee—Identifies a tax amount that is treated as a fee when the seller is liable for the tax.

ruleThe tax rule that was applied. This rule determines the fee type specified in the type field.
free_keyThe unique key used to identify the transaction.
correlated_fee_keyThe key used to identify related fees.

Did this page help you?