Celeriz
  1. ONRAMP
Celeriz
  • USER
    • Coins
      GET
    • Chains
      GET
    • Fiat
      GET
  • KYC
    • Get KYC url
      POST
    • Check KYC status
      POST
    • KYC requirements
      POST
  • BANK
    • Add fiat account API
      POST
    • List fiat accounts
      POST
  • ONRAMP
    • Quote
      POST
    • Create transaction
      POST
    • Get transaction
      POST
    • Get user all transaction
      POST
    • Get all transaction
      POST
  • OFFRAMP
    • Quote
      POST
    • Create transaction
      POST
    • Get transaction
      POST
    • Get user all Transaction
      POST
    • Get all Transaction
      POST
  • Virtual Accounts
  • Cards
  • SetWebhookUrl
    POST
  1. ONRAMP

Create transaction

POST
/api/v1/onramp/create-transaction
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/onramp/create-transaction' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
  "fromCurrency": "INR",
  "toCurrency": "USDT",
  "chain": "bep20",
  "paymentMethodType": "UPI",
  "depositAddress": "0x1234...",
  "customerId": "8X2m7_116",
  "fromAmount": "1741",
  "toAmount": "20.5",
  "rate": "85.0"
}'
Response Response Example
200 - 200 OK (INDIA)
{
    "status": 1,
    "code": 200,
    "data": {
        "transactionId": "524",
        "createdAt": "2023-11-24 12:07:43",
        "fiatPaymentInstructions": {
            "bank": {
                "name": "",
                "Account Number": "",
                "ifsc": "",
                "type": "",
                "branch": "",
                "bank": ""
            },
            "bankNotes": [
                {
                    "type": -1,
                    "msg": "NEFT not allowed for this account."
                },
                {
                    "type": 1,
                    "msg": "Bank transfers from UPI Apps like gPay, PhonePe, Paytm are working."
                },
                {
                    "type": 1,
                    "msg": "UPI bank transfers, IMPS is allowed for this account."
                }
            ]
        }
    }
}

Request

Header Params

Body Params application/json

Examples

Responses

🟢200200 OK (INDIA)
application/json
Body

🟢200200 OK (AED)
🟠400400 Missing Parameters
Modified at 2025-07-17 16:42:00
Previous
Quote
Next
Get transaction
Built with