Transfers

Fortress APIs allow you to internally transfer or withdrawal crypto. Similar to our payments endpoint, the transfer endpoint makes it easy to move assets based on the to and from fields. If you want to transfer crypto between two custodial accounts, you'll just need to specify the custodialAccountId. If withdrawing crypto, you'll specify the source custodial account and the destination wallet address.

Supported Crypto Assets

*Network/Asset ETHMATICBTCUSDCSOL
Goerli ✔️✔️
PolygonMumbai ✔️✔️
BitcoinTestnet ✔️
Ethereum Mainnet ✔️✔️
Polygon Mainnet ✔️✔️
Bitcoin Mainnet ✔️
Solana Devnet ✔️
Solana Mainnet ✔️

Get Crypto Deposit Address

GET /api/trust/v1/custodial-accounts/{custodialAccountId}/crypto-deposit-instructions/{network}/{assetType}

//Response Schema

{
    "address": "0xC456Db3842CE51cfC7AB17f1d8dA62F47C2673454"
}

Internal Transfers

POST /api/trust/v1/transfers

//Sample Request

{
  "type": "internal",
  "assetType": "crypto",
  "asset": "btc",
  "network": "bitcoinMainnet",
  "amount": .001,
  "from": {
    "type": "account",
    "id": "A3CA08AB-3058-4C3C-81E7-51DA24B171FF"
  },
  "to": {
    "type": "account",
    "id": "T89A08AB-3058-4C3C-81E7-83DA24B17JF9S"
  },
  "comment": "custom comment here"
}

Withdrawal

POST /api/trust/v1/transfers

//Sample Request

{
  "type": "withdrawal",
  "assetType": "crypto",
  "asset": "eth",
  "network": "mainnet",
  "amount": 10,
  "from": {
    "type": "account",
    "id": "A3CA08AB-3058-4C3C-81E7-51DA24B171FF"
  },
  "to": {
    "type": "address",
    "id": "0x71C7656EC7ab88b098defB751B7401B5f6d4173A"
  },
  "comment": "custom comment here"
}