cURL
curl --request POST \ --url https://staging-api.getpartna.com/v4/convert \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --header 'x-api-user: <api-key>' \ --data '{ "accountName": "", "fromAmount": 0, "fromCurrency": "", "rateKey": "", "toAmount": 0, "toCurrency": "", "transactionReference": "" }'
{ "data": { "accountName": "convertcurrencyuser", "fromAmount": 2, "fromCurrency": "ETH", "rate": 2640, "toAmount": 5280, "toCurrency": "USD", "transactionReference": "bbcdef2234567890abcdef1234568880" }, "message": "success" }
Convert between currencies.
BTC
ETH
USD
BNB
NGN
post convert ok
Show child attributes