curl --location --request POST '/api/v1/transactions/calculate-payment' \
--header 'x-business-id;' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"fromCurrency": "USDT",
"fromNetwork": "TRON",
"toCurrency": "NGN",
"toAmount": 500000
}'
{
"success": true,
"data": {
"fromAmount": 750.12,
"toAmount": 500000,
"targetAmountWithFee": 505000,
"gateFee": 5000,
"gateFeePercentage": 1,
"exchangeRate": 666.6,
"exchangeSource": "kuvarpay",
"fees": {},
"timestamp": "2025-01-01T12:00:00Z"
}
}