curl --request POST \
--url https://staging-biz.coinprofile.co/v2/balance/transfer \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Api-User: <api-key>' \
--header 'X-User-Version: <api-key>' \
--data '{
"receiverUsername": "<string>",
"currency": "NGN",
"amount": "<string>",
"token": "<string>",
"otpType": "otp",
"memo": "<string>"
}'
{
"success": true,
"message": "<string>",
"data": {
"transactionId": "<string>",
"sender": "<string>",
"status": "fullfiled",
"date": "2023-12-25",
"toCurrency": "NGN",
"fromCurrency": "NGN",
"receiveAmount": "<string>",
"amount": "<string>",
"username": "<string>",
"senderPrevbalance": "<string>"
}
}
Transfer funds from user’s balance to another user (fiat-to-fiat)
curl --request POST \
--url https://staging-biz.coinprofile.co/v2/balance/transfer \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Api-User: <api-key>' \
--header 'X-User-Version: <api-key>' \
--data '{
"receiverUsername": "<string>",
"currency": "NGN",
"amount": "<string>",
"token": "<string>",
"otpType": "otp",
"memo": "<string>"
}'
{
"success": true,
"message": "<string>",
"data": {
"transactionId": "<string>",
"sender": "<string>",
"status": "fullfiled",
"date": "2023-12-25",
"toCurrency": "NGN",
"fromCurrency": "NGN",
"receiveAmount": "<string>",
"amount": "<string>",
"username": "<string>",
"senderPrevbalance": "<string>"
}
}
successful operation
The response is of type object
.