Skip to main content

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

  1. Open Postman
  2. Click Import (top-left)
  3. Drop the downloaded onmeta-postman-collection.json file into the import dialog
  4. Click Import

Step 2 — Set your credentials

Open the collection, go to Variables, and fill in:

VariableValue
apiKeyYour Client ID from Dashboard → Setup → API's Setup
baseUrlhttps://api.platform.onmeta.in (production) or https://stg.api.onmeta.in (staging)
userEmailA test user email

Leave accessToken and orderId empty — they are populated automatically by the collection scripts.

Step 3 — Authenticate

  1. Open 1. Auth → User Login
  2. Click Send
  3. The accessToken is automatically saved to the collection variable

All subsequent requests use {{accessToken}} — no manual copying needed.


What's included

FolderEndpoints
1. AuthUser Login, Refresh Token, Fetch User Limit
2. KYCFetch KYC Status, Upload KYC, Send KYC Email
3. Bank & UPILink Bank, Bank Status, Fetch Banks, Unlink Bank, Link UPI, UPI Status, Fetch UPIs
4. On-RampSupported Currencies, Chain Limits, Fetch Tokens, Buy Quotation, Create Order, Order Status, Submit UTR, Order History
5. Off-RampSell Quotation, Create Order, Order Status, Submit Transaction Hash
6. Merchant WalletFetch 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
warning

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.