Quickstart
This guide walks you through your first Zet API integration — creating a wallet and buying crypto with NGN.Prerequisites
- A Zet account with API access
- Your API key (contact zetdotmoney@gmail.com to request access)
Step 1: Get your API key
Reach out to zetdotmoney@gmail.com to request API access. Our team will provision your credentials. You’ll receive:- API Key (
zet_live_...) — include in every request as thex-api-keyheader - API Secret (
zet_secret_...) — used to verify webhook signatures (keep this secret!)
Step 2: Create a wallet
Create a Smart Wallet for your user:The wallet is lazily deployed — the on-chain smart contract deploys automatically on the first transaction, with gas sponsored by Zet.
Step 3: Get an on-ramp quote
Get a quote for buying USDC with 50,000 NGN:Step 4: Initiate the on-ramp
Use thequoteId to start the transaction:
depositAccount details to your user so they can send the NGN via bank transfer.
Step 5: Handle the webhook
Once the user’s bank transfer arrives and crypto is delivered, Zet sends a webhook to your registered URL:x-zet-signature header using your API secret:
Next steps
Authentication
Learn about API keys, rate limits, and security best practices.
Off-ramp guide
Let users sell crypto for NGN to their bank account.
Swap guide
Build a token swap feature into your app.
Webhooks guide
Set up robust webhook handling for production.
