Sep38DeliveryMethod

@Serializable
data class Sep38DeliveryMethod(val name: String, val description: String)

Delivery method for off-chain asset exchange operations.

Describes how a user can deliver an off-chain asset to the anchor (sell delivery method) or receive an off-chain asset from the anchor (buy delivery method). Examples include bank transfer (ACH, WIRE), mobile money (PIX), or cash pickup.

The name is used as the identifier in API requests (sell_delivery_method, buy_delivery_method), while description provides human-readable details for display to end users.

Example - Bank transfer delivery method:

val method = Sep38DeliveryMethod(
name = "ACH",
description = "Send USD directly to the Anchor's bank account via ACH"
)

Example - Mobile money delivery method:

val method = Sep38DeliveryMethod(
name = "PIX",
description = "Send BRL directly to the account of your choice via PIX"
)

Example - Cash pickup delivery method:

val method = Sep38DeliveryMethod(
name = "cash",
description = "Pick up cash BRL at one of our payout locations"
)

See also:

Constructors

Link copied to clipboard
constructor(name: String, description: String)

Properties

Link copied to clipboard
@SerialName(value = "description")
val description: String

Human-readable description of the delivery method for user display

Link copied to clipboard
@SerialName(value = "name")
val name: String

Unique identifier for this delivery method (e.g., "WIRE", "ACH", "PIX", "cash")