Sep24RefundPayment
public struct Sep24RefundPayment : Decodable, Sendable
Details of an individual refund payment.
Represents a single refund payment made back to the user, either on-chain or off-chain.
See also:
- [Sep24Refund] for the parent refund object
- SEP-0024
-
The payment ID that can be used to identify the refund payment. This is either a Stellar transaction hash or an off-chain payment identifier, such as a reference number provided to the user when the refund was initiated. This id is not guaranteed to be unique.
Declaration
Swift
public let id: String -
Payment type: stellar or external.
Declaration
Swift
public let idType: String -
The amount sent back to the user for the payment identified by id, in units of amount_in_asset.
Declaration
Swift
public let amount: String -
The amount charged as a fee for processing the refund, in units of amount_in_asset.
Declaration
Swift
public let fee: String -
Creates a new instance by decoding from the given decoder.
Declaration
Swift
public init(from decoder: Decoder) throwsParameters
decoderThe decoder containing the data
View on GitHub
Install in Dash