Prerequisites
- A Grid API key. Fill out the signup form to get one.
Authentication
All Grid API requests require two headers:string
required
The environment you’re using. Can be
sandbox or production.string
required
Bearer token authentication header. Format:
Bearer YOUR_API_KEYBasic Flow
Here’s a typical flow for using the Grid API:- Create a smart account
- Request KYC verification (for fiat features)
- Create virtual accounts (for fiat features)
- Create and manage payment intents
1. Create a Smart Account
First, create a smart account with specific policies and authorities:2. Request KYC Verification
To enable banking features, request a KYC verification link:The
X-Idempotency-Key header is required on this endpoint, to prevent
multiple kyc processes from being initiated.3. Check KYC Status
You can check the status of a KYC verification by calling theGET endpoint:
In
sandbox mode, the tos_status will always be pending.4. Create Virtual Accounts
Create virtual accounts for different currencies:The
X-Idempotency-Key header is required on this endpoint, to prevent
unnecessary virtual accounts from being created.5. Create and Manage Payment Intents
Create a payment intent to transfer funds:6. Confirm Payment Intent
Once you have the payment intent, authorize it with the required authorities:Error Handling
The API uses standard HTTP status codes and returns detailed error messages:Supported Currencies
Grid currently supports the following currencies:- USD (US Dollar)
- EUR (Euro)
- MXN (Mexican Peso)
- USDC (USD Coin)
- USDT (Tether)
- USDB (USD Base)
- DAI (Dai Stablecoin)
- PYUSD (PayPal USD)
- EURC (Euro Coin)
Supported Payment Rails
Grid supports the following payment rails:- ACH
- ACH Push
- ACH Same Day
- SEPA
- SWIFT
- Wire
- Arbitrum
- Avalanche C-Chain
- Base
- Bridge Wallet
- Ethereum
- Optimism
- Polygon
- Solana
- Stellar
- Tron