On-ramp

Onramp APIs

Base URL:

http://127.0.0.1:8000/api/v1/taas/onramp/

Authentication:

API-KEY: <your-api-key>

🔄 Onramp Flow Overview

  1. Get Supported Routes

  2. Generate Quote

  3. Place Order

  4. Track Orders


🔀 1. Get Supported Routes

Endpoint

GET /supported_routes/

Description

Fetch available fiat → crypto conversion routes.


Request


Response


💲 2. Generate Quote

Endpoint

Description

Generates a conversion quote for a given route and amount.


Request


⚠️ Error Responses

Limit Exceeded


Insufficient Balance


🛒 3. Place Order

Endpoint

Description

Places an order using a generated quote.


Request


Response


📊 4. List Orders

Endpoint


Query Params

Param
Description

account_id

Account ID

status

Order status

side

buy / sell


Request


Response


📌 Choice Fields

Order Side

Order Status


📌 Notes

  • Quote must be generated before placing an order

  • Orders are typically limit orders

  • Funds are blocked at order creation

  • Fees and TDS are applied at execution

  • Order status transitions:

    • openfilled

    • openpartially_filled

    • opencancelled

Last updated

Was this helpful?