Celeriz
  1. OFFRAMP
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. OFFRAMP

Create transaction

POST
/onramp/api/v2/whiteLabel/offramp/createTransaction
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/onramp/api/v2/whiteLabel/offramp/createTransaction' \
--data-urlencode 'chain=matic20' \
--data-urlencode 'customerId=G8tWaHyvdg_2' \
--data-urlencode 'fiatAccountId=4d7c644a67e665698d9ed36476b035ee' \
--data-urlencode 'fromAmount=50' \
--data-urlencode 'fromCurrency=USDC' \
--data-urlencode 'rate=84.3227' \
--data-urlencode 'toAmount=4123.21' \
--data-urlencode 'toCurrency=INR' \
--data-urlencode 'merchantRecognitionId=devTestOfframp-1'
Response Response Example
200 - 200 OK
{
    "status": 1,
    "code": 200,
    "data": {
        "transactionId": "436",
        "createdAt": "2023-11-24 13:19:58",
        "depositAddress": {
            "address": "0xf18d064ec3ab7b9e900e4daa89798d29e8b4eab5",
            "chain": "matic20"
        }
    }
}

Request

Body Params application/x-www-form-urlencoded

Responses

🟢200200 OK
application/json
Body

🟠400400 Missing Parameters
Modified at 2025-07-17 16:42:00
Previous
Quote
Next
Get transaction
Built with