Appearance
@swapped/connect-sdk / core / CashAppOrder
Type Alias: CashAppOrder
CashAppOrder =
object
Defined in: src/types/cash-app.types.ts:34
Active Cash App onramp order returned by createOrder.
Properties
amount
amount:
string
Defined in: src/types/cash-app.types.ts:64
Total fiat the user must pay, in fiatCurrency. Includes providerFee and merchantFee.
cashAppUrl
cashAppUrl:
string
Defined in: src/types/cash-app.types.ts:40
Full Cash App checkout URL. Open it (or encode it as a QR) for the primary “Pay with Cash App” path.
destinationAsset
destinationAsset:
TokenSymbol
Defined in: src/types/cash-app.types.ts:52
destinationChain
destinationChain:
Network
Defined in: src/types/cash-app.types.ts:51
estimatedOut
estimatedOut:
string
Defined in: src/types/cash-app.types.ts:69
expiresAt
expiresAt:
number
Defined in: src/types/cash-app.types.ts:71
Order expiry as a Unix timestamp in milliseconds.
fiatAmount
fiatAmount:
string
Defined in: src/types/cash-app.types.ts:57
Fiat value of the order (excluding fees), in fiatCurrency.
fiatCurrency
fiatCurrency:
Currency
Defined in: src/types/cash-app.types.ts:59
Fiat currency code for fiatAmount (e.g. USD).
id
id:
string
Defined in: src/types/cash-app.types.ts:35
invoice
invoice:
string
Defined in: src/types/cash-app.types.ts:50
BTC Lightning invoice for the alternate pay path. Encode it as a Lightning QR — do not use it as a Cash App / HTTP link.
merchantFee
merchantFee:
string
Defined in: src/types/cash-app.types.ts:68
Merchant / Swapped fee, in fiatCurrency.
providerFee
providerFee:
string
Defined in: src/types/cash-app.types.ts:66
Cash App / provider fee, in fiatCurrency.
recipientAddress
recipientAddress:
string
Defined in: src/types/cash-app.types.ts:53
shortUrl
shortUrl:
string
Defined in: src/types/cash-app.types.ts:45
Compact share / open link for the same Cash App checkout as cashAppUrl. Prefer this when you need a shorter URL.