Exchange Transaction | Create https://docs.herald-api.rare-able.com/api/exchange/transactions
POST

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

BODY PARAMS

from string required
Must be a valid enabled supported currency (Ex: USDT , ETH) Please refer .Currencies
from_network_type string required
Must be a valid enabled supported Networktype (Ex: TRX , ETH) Please refer .Currencies
to string required
Must be a valid enabled supported fiat currency (Ex: USD , EUR) Please refer .Currencies
to_network_type string required
Must be a valid enabled supported Networktype (Ex: TRX , ETH) Please refer .Currencies
value decimal required
Value of the from currency to be exchanged
initial_exchange_rate decimal required
Exchange rate fee for the transaction
transaction_hash string required
Generated transaction hash for the transaction
wallet_address string required
Wallete Address of the use where the to currency will be deposited

RESPONSES

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

exchange_transaction "object"

unique_id "string"
order_id "string"
from "string"
from_network_type "string"
to "string"
to_network_type "string"
from_value "decimal"
to_value "decimal"
wallet_address "string"
from_wallet_address "string"
to_wallet_address "string"
from_transaction_hash "string"
to_transaction_hash "string"
explorer_url "string"
status "string"
exchange_rate "decimal"
note "string"
user "object"

email "string"
name "string"
client_reference_id "string"
settlement "object"

amount "string"
currency "string"
status "string"
created_at "string"
updated_at "string"

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