Create Onramp Transaction https://docs.herald-api.rare-able.com/api/onramp/transactions
POST

This endpoint is to create the onramp transaction by providing the required parameters.

BODY PARAMS

from string required
Must be a valid enabled supported currencies (Ex: USDT , ETH) Please refer .Currencies
to string required
Must be a valid enabled supported currencies (Ex: USDT , ETH) Please refer .Currencies
value decimal required
Value you want to send in the currency you are sending from.
initial_exchange_rate decimal required
Exchange rate of from currency to to currency.
wallet_address decimal required
Wallet address of the recipient.

HEADERS

Accept "string"
application/json
x-api-key (Secret Key) "string"
To know how to generate please use Merchant Secret

RESPONSES

success "boolean"
message "string"
code "integer"
data "object"

redirect_url "integer"
onramp_transaction "object"

unique_id "string"
from "string"
to "string"
from_value "decimal"
to_value "decimal"
redirect_url "string"
service_fee "decimal"
wallet_address "string"
status "string"
exchange_rate "decimal"
created_at "string"
updated_at "string"

success "boolean"
message "string"
code "integer"
data "array"