Overview
Themonei.offramp namespace provides a full suite of services for converting crypto to fiat, tracking transactions, and managing payout accounts.
Included services:
- Exchange — retrieve assets, get quotes, and initiate swaps
- Ledger — view transaction history and track orders
- Payouts — retrieve supported banks and verify bank accounts
MoneiClient instance.
Offramp Exchange
monei.offrampExchange allows you to retrieve available assets, get crypto-to-fiat quotes, and initiate swaps.
Get Offramp Assets
Retrieve a list of assets available for offramp transactions.Get Crypto-to-Fiat Quote
Retrieve a quote for swapping crypto to fiat.Initiate Swap
Initiate a crypto-to-fiat swap.Offramp Ledger
monei.offrampLedger provides methods to track transaction history and order statuses.
Get Offramp Transactions
Retrieve a paginated list of offramp transactions.Track Order
Track an individual order by reference.Offramp Payouts
monei.offrampPayouts provides methods to retrieve supported banks and verify payout accounts.
Get Offramp Banks
Retrieve a list of supported payout banks.Verify Offramp Bank Account
Verify a bank account before initiating a payout.Notes
- All requests require a properly configured
MoneiClientwith authentication. - DTOs used by the SDK include:
AssetsResponseDtoOfframpQuoteRequestDto/OfframpQuoteResponseDtoSwapCryptoToFiatRequestDto/OfframpOrderResponseDtoOfframpHistoryRequestDto/OfframpTransactionListResponseDtoOfframpStatusRequestDto/OfframpTransactionDetailResponseDtoPayoutBanksResponseDtoVerifyOfframpBankAccountRequestDto/VerifyOfframpBankAccountResponseDto
- Always validate input data and ensure the correct crypto/fiat codes before initiating swaps.

