Sep31RefundPayment

data class Sep31RefundPayment(val id: String, val amount: String, val fee: String)

Single on-chain refund payment within a SEP-31 Sep31Refunds aggregate.

Each instance describes one Stellar transaction the Receiving Anchor used to send funds back to the Sending Anchor. Multiple refund payments may exist for a single SEP-31 transaction; the aggregate is captured in Sep31Refunds.

The amount and fee fields are String (not numeric) because SEP-31 amounts must preserve decimal precision; callers convert to a domain-specific numeric type at the application boundary.

See also

Constructors

Link copied to clipboard
constructor(id: String, amount: String, fee: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Amount returned to the Sending Anchor in this payment, in units of amount_in_asset.

Link copied to clipboard
val fee: String

Fee charged for processing this refund payment, in units of amount_in_asset.

Link copied to clipboard
val id: String

Stellar transaction hash of the refund payment. Not guaranteed to be unique across refund payments.