Account
Bank
Transfer
Discount
KYC
Supported
Transfer
Convert Currency
Convert between currencies.
POST
/
convert
Copy
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": ""
}'
Copy
{
"data": {
"accountName": "convertcurrencyuser",
"fromAmount": 2,
"fromCurrency": "ETH",
"rate": 2640,
"toAmount": 5280,
"toCurrency": "USD",
"transactionReference": "bbcdef2234567890abcdef1234568880"
},
"message": "success"
}
Body
application/json
Response
200
application/json
post convert ok
The response is of type object
.
Copy
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": ""
}'
Copy
{
"data": {
"accountName": "convertcurrencyuser",
"fromAmount": 2,
"fromCurrency": "ETH",
"rate": 2640,
"toAmount": 5280,
"toCurrency": "USD",
"transactionReference": "bbcdef2234567890abcdef1234568880"
},
"message": "success"
}
Assistant
Responses are generated using AI and may contain mistakes.