Skip to main content

Overview

The Offramp Services 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
All services require a properly configured MoneiClient instance.
Note: All methods return response objects with attributes accessible via dot notation (e.g., assets.data, quote.fiat_amount).

Offramp Exchange

monei.offramp_exchange 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.offramp_ledger 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.offramp_payouts 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.

Working with Response Objects

All methods return objects with attribute access:

Response Types

AssetDto

OfframpQuoteResponseDto

OfframpOrderResponseDto

OfframpTransactionDto

BankDto

VerifyBankAccountResponseDto


Error Handling

All offramp service calls may raise an exception if the request fails.

Service Overview


Notes

  • All requests require a properly configured MoneiClient with authentication
  • Always validate input data and ensure the correct crypto/fiat codes before initiating swaps
  • Quotes expire after a certain period - obtain a fresh quote before swapping
  • Bank account verification is recommended before initiating payouts
  • All responses are strongly typed objects with attribute access