Intent Types
| Type | Description | Example |
|---|---|---|
| ONRAMP | Fiat → Crypto | USD → USDC on Gnosis Chain |
| OFFRAMP | Crypto → Fiat | USDC on Gnosis Chain → USD |
Key Concepts
Source and Destination
Every intent has:- Source (
src) — Where the money comes from - Destination (
dest) — Where the money goes
- Source: Bank account (fiat)
- Destination: Wallet address (crypto)
- Source: Wallet address (crypto)
- Destination: Bank account (fiat)
Amount
ThesrcAmount specifies how much to transfer from the source. Amounts are strings with currency-specific decimal precision. See Amount Formatting for details.
Intent Lifecycle
- Quote (Recommended) — Fetch indicative pricing to compare providers
- Requirements — Fetch field schemas for the currency pair
- Create — Submit intent with source, destination, and amount
- Compliance — User completes any required onboarding/KYC
- Execute — Transaction is initiated
- Complete — Money movement finishes
Intent Status Lifecycle
An intent progresses through a defined set of statuses as it moves from creation through compliance to transaction completion.EXPIRED and CANCELLED can occur from any non-terminal state and are not shown in the diagram for clarity.Intent Statuses
| Status | Description | Terminal? |
|---|---|---|
CREATED | Intent created, waiting to start compliance | No |
COMPLIANCE_IN_PROGRESS | Customer completing onboarding/KYC | No |
COMPLIANCE_APPROVED | Compliance passed (transient state) | No |
COMPLIANCE_FAILED | KYC/compliance rejected | Yes |
PENDING_PAYMENT | Ready for transaction execution | No |
TRANSACTION_IN_PROGRESS | Transaction executing with provider | No |
TRANSACTION_FAILED | Transaction failed at provider | Yes |
COMPLETED | Funds settled successfully | Yes |
EXPIRED | Intent timed out | Yes |
CANCELLED | Intent cancelled | Yes |
failureReason field is populated when an intent reaches a terminal failure state (COMPLIANCE_FAILED or TRANSACTION_FAILED), providing details about why the intent failed.
Quick Example
Next Steps
Currencies & Providers
Discover available currency pairs.
Get a Quote
Compare pricing across providers.
Get Requirements
Learn what fields are needed for each intent.
ONRAMP Guide
Complete fiat-to-crypto walkthrough.
OFFRAMP Guide
Complete crypto-to-fiat walkthrough.