Sep24Refund

public struct Sep24Refund : Decodable, Sendable

Information about refunds associated with a transaction.

Contains details about the total refund amount, fees, and individual refund payments for transactions that have been partially or fully refunded.

See also:

  • [Sep24Transaction] for the parent transaction
  • SEP-0024
  • The total amount refunded to the user, in units of amount_in_asset. If a full refund was issued, this amount should match amount_in.

    Declaration

    Swift

    public let amountRefunded: String
  • The total amount charged in fees for processing all refund payments, in units of amount_in_asset. The sum of all fee values in the payments object list should equal this value.

    Declaration

    Swift

    public let amountFee: String
  • A list of objects containing information on the individual payments made back to the user as refunds.

    Declaration

    Swift

    public let payments: [Sep24RefundPayment]?
  • Creates a new instance by decoding from the given decoder.

    Declaration

    Swift

    public init(from decoder: Decoder) throws

    Parameters

    decoder

    The decoder containing the data