Postman Collection
Download the Onmeta API Postman collection to test every endpoint without writing any code. All requests come pre-configured with auth headers, collection variables, and example request bodies.
Download Postman Collection →
Setup (2 minutes)
Step 1 — Import the collection
- Open Postman
- Click Import (top-left)
- Drop the downloaded
onmeta-postman-collection.jsonfile into the import dialog - Click Import
Step 2 — Set your credentials
Open the collection, go to Variables, and fill in:
| Variable | Value |
|---|---|
apiKey | Your Client ID from Dashboard → Setup → API's Setup |
baseUrl | https://api.platform.onmeta.in (production) or https://stg.api.onmeta.in (staging) |
userEmail | A test user email |
Leave accessToken and orderId empty — they are populated automatically by the collection scripts.
Step 3 — Authenticate
- Open 1. Auth → User Login
- Click Send
- The
accessTokenis automatically saved to the collection variable
All subsequent requests use {{accessToken}} — no manual copying needed.
What's included
| Folder | Endpoints |
|---|---|
| 1. Auth | User Login, Refresh Token, Fetch User Limit |
| 2. KYC | Fetch KYC Status, Upload KYC, Send KYC Email |
| 3. Bank & UPI | Link Bank, Bank Status, Fetch Banks, Unlink Bank, Link UPI, UPI Status, Fetch UPIs |
| 4. On-Ramp | Supported Currencies, Chain Limits, Fetch Tokens, Buy Quotation, Create Order, Order Status, Submit UTR, Order History |
| 5. Off-Ramp | Sell Quotation, Create Order, Order Status, Submit Transaction Hash |
| 6. Merchant Wallet | Fetch Balance, Load Wallet, Submit Transaction Hash |
Auto-save scripts
Several requests include test scripts that automatically save response values:
- User Login → saves
accessToken - Link Bank Account → saves
bankRefNumber - Link UPI ID → saves
upiRefNumber - Create On-Ramp Order → saves
orderId - Create Off-Ramp Order → saves
offrampOrderId
This means you can run the full on-ramp flow (Login → Fetch Quotation → Create Order → Submit UTR → Poll Status) in sequence without manually copying IDs between requests.
Staging vs Production
Switch environments by updating the baseUrl collection variable:
- Staging:
https://stg.api.onmeta.in - Production:
https://api.platform.onmeta.in
Production API access requires your server IP to be whitelisted. When testing from a local machine against production, requests may be rejected. Use staging for local development.