💰 OFFRAMPOfframp OperationsInitiate Sell Transaction

Initiate Sell Transaction

To initiate a sell transaction, you will use the fiat/sell endpoint to convert your cryptocurrency into fiat currency.

Description:

This API call allows you to sell cryptocurrency (USDT or USDC) in exchange for fiat currency (currently limited to INR) via a bank transfer.

Request Format:

You need to send a POST request to the endpoint with the necessary headers and body parameters outlined below.

Sample Request:

curl --location --globoff '{{baseURL_swiftramp_v1}}/transaction' \
--header 'authorization: {{loginAccessToken}}' \
--header 'Content-Type: application/json' \
--data '{
    "from_user_id": "6a28d415-c479-46b5-9f18-0fde0b775e4e",
    "to_user_id": "78e4b4b8-0cf6-40a0-9444-4f2ecf8571d3",
    "benif_bank_id": "3a75d340-1a0f-4317-aa8c-f07b08a51b02",
    "amount": 10.553
}'

Notes:

  • Currently, INR is the only supported fiat currency for the sell transaction.
  • Bank transfer is the only available payment method.
  • You can only sell USDT or USDC. Other cryptocurrencies are available upon request.

Check more details about the API endpoint here.