Managed Transfers
Preview transfer
Managed Account Authentication
Managed Transfers
Transactions
Self Managed Account Authentication
Managed Transfers
Preview transfer
Validate and preview the transfer.
Validates the transfer, calculates the relevant amount in crypto if requested amount was in fiat and updates the current network fee values.
This endpoint uses the NetworkId
field to specify which network will be used to perform the transfer. The target NetworkId
should be selected after configuring the transfer using /configure
endpoint.
Returns the PreviewId
value that can be used to commit the transfer.
POST
/
api
/
v1
/
transfers
/
managed
/
preview
curl --request POST \
--url https://integration-api.meshconnect.com/api/v1/transfers/managed/preview \
--header 'Content-Type: application/json' \
--header 'X-Client-Id: <api-key>' \
--header 'X-Client-Secret: <api-key>' \
--data '{
"fromAuthToken": "Secret authentication token",
"fromType": "robinhood",
"networkId": "7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12",
"symbol": "USDT",
"toAddress": "0x9Bf6207f8A3f4278E0C989527015deFe10e5D7c6",
"amount": 10
}'
{
"content": {
"status": "succeeded",
"previewResult": {
"previewId": "29b185b1-2305-40fb-a0e2-929d61451568",
"previewExpiresIn": 300,
"fromAddress": "0x9Bf6207f8A3f4278E0C989527015deFe10e5D7c6",
"toAddress": "0x326a8825472bb0f4719998e708a1eeeb4473ed1b",
"symbol": "USDT",
"amount": 10,
"amountInFiat": 10,
"totalEstimatedAmount": 11.21,
"totalEstimatedAmountInFiat": 11.21,
"networkId": "e3c7fdd8-b1fc-4e51-85ae-bb276e075611",
"institutionTransferFee": {
"fee": 0,
"feeCurrency": "USDT",
"feeInFiat": 0
},
"estimatedNetworkGasFee": {
"fee": 1.1,
"feeCurrency": "USDT",
"feeInFiat": 1.1
},
"unitPrice": 0,
"customClientFee": {
"fee": 0.011,
"feeCurrency": "USDT",
"feeInFiat": 0.011
},
"transferType": "deposit",
"isCustomClientFeeProvided": false,
"amountWithCustomClientFee": "0",
"isFeeIncluded": false,
"amountToReceive": 0,
"amountToReceiveInFiat": 0,
"transferAmountToRequest": 0,
"isMaximumAmount": false
}
},
"status": "ok",
"message": "",
"errorType": ""
}
Authorizations
Contact Mesh to get client Secret
Contact Mesh to get client Id
Body
Response
200
application/json
OK
The response is of type object
.
curl --request POST \
--url https://integration-api.meshconnect.com/api/v1/transfers/managed/preview \
--header 'Content-Type: application/json' \
--header 'X-Client-Id: <api-key>' \
--header 'X-Client-Secret: <api-key>' \
--data '{
"fromAuthToken": "Secret authentication token",
"fromType": "robinhood",
"networkId": "7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12",
"symbol": "USDT",
"toAddress": "0x9Bf6207f8A3f4278E0C989527015deFe10e5D7c6",
"amount": 10
}'
{
"content": {
"status": "succeeded",
"previewResult": {
"previewId": "29b185b1-2305-40fb-a0e2-929d61451568",
"previewExpiresIn": 300,
"fromAddress": "0x9Bf6207f8A3f4278E0C989527015deFe10e5D7c6",
"toAddress": "0x326a8825472bb0f4719998e708a1eeeb4473ed1b",
"symbol": "USDT",
"amount": 10,
"amountInFiat": 10,
"totalEstimatedAmount": 11.21,
"totalEstimatedAmountInFiat": 11.21,
"networkId": "e3c7fdd8-b1fc-4e51-85ae-bb276e075611",
"institutionTransferFee": {
"fee": 0,
"feeCurrency": "USDT",
"feeInFiat": 0
},
"estimatedNetworkGasFee": {
"fee": 1.1,
"feeCurrency": "USDT",
"feeInFiat": 1.1
},
"unitPrice": 0,
"customClientFee": {
"fee": 0.011,
"feeCurrency": "USDT",
"feeInFiat": 0.011
},
"transferType": "deposit",
"isCustomClientFeeProvided": false,
"amountWithCustomClientFee": "0",
"isFeeIncluded": false,
"amountToReceive": 0,
"amountToReceiveInFiat": 0,
"transferAmountToRequest": 0,
"isMaximumAmount": false
}
},
"status": "ok",
"message": "",
"errorType": ""
}