> ## Documentation Index
> Fetch the complete documentation index at: https://docs.meshconnect.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Fetch a Link Token

By the end of this guide, you'll know how to request a Link Token for any use case: deposits, payments, onramps, withdrawals, and wallet verification.

> [!TIP]
>
> **Before you start**
>
> * You have a Mesh dashboard account with a sandbox API key (see [Prepare to build](https://docs.meshconnect.com/build/prepare-to-build.md))
> * You know which use case(s) you're building for

## Overview

A Link token, as the name implies, is an access key for a session of Link, Mesh's SDK. You'll request it with an API call to Mesh, and the parameters you include will configure the user session. This is how you'll start every user session. This guide will walk you through how to request a Link token, including code snippets for specific use cases.

## How to request a Link token

### General information

**Endpoint**: **Get Link token with parameters** ([/api/v1/linktoken](https://docs.meshconnect.com/api-reference/managed-account-authentication/get-link-token-with-parameters.md))

You will start every user session with this request. Its parameters configure the user's experience within Link.

* Tokens are short-lived (must be used within 10mins).
* Tokens are one-time use.

> [!WARNING]
>
> **Network-specific requirements**
>
> Some networks require an extra identifier on each destination in `transferOptions.toAddresses` (and on withdrawal addresses). Provide it whenever the destination requires one, otherwise the transfer can fail on-chain or be credited to the wrong account:
>
> * **XRP (XRP Ledger)**: a destination tag, passed as `addressTag`. Many exchange and custodial XRP addresses reject deposits sent without a tag (on-chain error `tecDST_TAG_NEEDED`).
> * **Stellar (XLM)**: a memo, passed as `addressTag`.
> * Other tag/memo networks (for example Cosmos chains and TON) follow the same pattern: include the tag/memo in `addressTag` when the destination requires one.
>
> The Deposits example below shows `addressTag` in the `toAddresses` array.

### Use-case-specific example requests

> [accordion] Parameter reference
>
> `X-Client-Id` requiredYour Mesh Client ID.
>
> `X-Client-Secret` requiredYour Mesh API Key.
>
> `userId` requiredA unique, persistent user identifier. Personally identifiable information such as an email address or phone number should not be used. 300 characters length maximum.
>
> `restrictMultipleAccounts` optional
>
> Defaults to `true`, which is standard used for any transfer flow\.On some non-transfer flows (ie. "read" use cases), a user could connect multiple accounts in a row if this value were `false`. Sometimes valuable for withdrawal use cases to let the user create an external "address book".
>
> `integrationId` optional
>
> A unique Mesh identifier representing a specific integration.Use the **Get integrations** endpoint ([/api/v1/transfers/managed/integrations](https://docs.meshconnect.com/api-reference/managed-transfers/get-integrations.md)) to pull a list of integrations and the corresponding Mesh `integrationId`. These values won't change, so you do not have to hit this endpoint before each Link Token request.To be used if the user selects the integration in your UX before launching Mesh (most commonly in an `onramp` flow).
>
> `transferOptions.transactionId` optional required for PayLinks transfersA unique transaction identifier used to tie back to your data or track this transaction in future calls to Mesh.
>
> `transferOptions.transferType` optional
>
> Ensures the language and flow matches your user's mental model for the type of transfer they're doing. One of `deposit`, `payment`, `onramp`, or `withdrawal`. Defaults to `deposit`.Set to `withdrawal` to launch the Mesh-hosted withdrawal flow (requires `fromPairs`).
>
> `transferOptions.isInclusiveFeeEnabled` optional
>
> Specifies if fees should be included in the amount to transfer.`false` is standard for `deposit` and `payment`, meaning any applicable fees are on top of the deposit/payment amount. `true` is standard for `onramp`, meaning the amount the user receives is the amount specified minus applicable fees.
>
> `transferOptions.generatePayLink` optional
>
> When `true`, this request will return a url in addition to the Link token that can be used to launch Mesh Link in a separate web page.This should only be used if you're launching Mesh in a separate webpage (see more about "PayLinks" in the [Launch the Mesh SDK](https://docs.meshconnect.com/build/launch-sdk.md) guide).
>
> `transferOptions.amountInFiat` optional
>
> The fiat-equivalent amount of the symbol to be purchased.To be used if the user enters an amount in your UX before launching Mesh (most commonly in an `onramp` flow).
>
> `transferOptions.toAddresses.networkId` optional required for deposits, payments & onramps
>
> Mesh's unique identifier for the network to be used for this `toAddress`.Use the **Get networks** endpoint ([/api/v1/transfers/managed/networks](https://docs.meshconnect.com/api-reference/managed-transfers/get-networks.md)) to pull a list of all supported networks and the corresponding Mesh `networkId`. These values won't change, so you do not have to hit this endpoint before each Link Token request.
>
> `transferOptions.toAddresses.symbol` optional required for deposits, payments & onrampsThe symbol of the asset that can be transferred to this `toAddress`.
>
> `transferOptions.toAddresses.address` optional required for deposits, payments & onrampsThe destination to which the specified `symbol` can be sent on the specified `networkId`.
>
> `transferOptions.toAddresses.amount` optional required for payments
>
> Exact amount of the asset that should be transferred.This parameter is optional for `deposit` and `onramp`, but required when transferType: `payment`. Not to be used in combination with the `amountInFiat` field.
>
> `transferOptions.toAddresses.displayAmountInFiat` optional
>
> A fiat-equivalent amount that will be shown to the user in the Mesh UI.This ensures a consistent experience from your checkout experience to Mesh. It will only be used if it is within 1% of the `amountInFiat` Mesh determines based on its pricing data. This is generally used for non-stablecoin payments, as Mesh maps stablecoins to a 1:1 price with USD for display purposes.
>
> `transferOptions.fromPairs.networkId` optional required for Mesh-hosted withdrawals
>
> Mesh's unique identifier for a network you pay out from. Used instead of `toAddresses` when `transferType` is `withdrawal`.Use the **Get networks** endpoint ([/api/v1/transfers/managed/networks](https://docs.meshconnect.com/api-reference/managed-transfers/get-networks.md)) to pull a list of all supported networks and the corresponding Mesh `networkId`. These values won't change, so you do not have to hit this endpoint before each Link Token request.
>
> `transferOptions.fromPairs.symbol` optional required for Mesh-hosted withdrawalsThe symbol of the asset you pay out on that network (eg. `USDC`).
>
> `transferOptions.fromPairs.maxAmount` optional required for Mesh-hosted withdrawalsThe maximum amount of `symbol` the user can withdraw from this pair, typically their withdrawable balance. Mesh enforces this limit in the user's session. Must be provided for every `fromPairs` entry.
>
> `transferOptions.fromPairs.minAmount` optionalYour minimum withdrawal amount for this pair, in units of `symbol` (the same units as `maxAmount`). Mesh's own route minimum still applies: the user's minimum is whichever is higher, so you can raise it but not lower it. If omitted, Mesh's route minimums apply (\$0.10 direct, \$1–3 bridged). If the user's `maxAmount` is below the minimum, Mesh hides that pair.
>
> `verifyWalletOptions.verificationMethods` optional required for verifications
>
> Method by which the user must verify their self-hosted wallet.Enum to support future verification methods, but only one option for now.
>
> `verifyWalletOptions.message` optional
>
> The message the user should sign in their wallet.The exact language isn't important. Mesh has standard language if this isn't provided.
>
> `verifyWalletOptions.networkId` optional required when addresses is set
>
> A unique Mesh identifier for the network on which the user must verify their self-hosted address.Use the **Get networks** endpoint ([/api/v1/transfers/managed/networks](https://docs.meshconnect.com/api-reference/managed-transfers/get-networks.md)) to pull a list of all supported networks and the corresponding Mesh `networkId`. These values won't change, so you do not have to hit this endpoint before each Link Token request.To be used if you need your user to verify an address on a specific network. Should not be used in combination with `networkType`.Required whenever `verifyWalletOptions.addresses` is provided. Optional when `addresses` is omitted.
>
> `verifyWalletOptions.networkType` optional
>
> The network type on which the user must verify their self-hosted address.To be used if you need your user to verify an address on a particular network type (eg. EVM). Should not be used in combination with `networkId`.
>
> `verifyWalletOptions.addresses` optional
>
> A list of addresses from which the user can verify ownership. User is not allowed to verify an address outside this list.Used if you need your user to verify ownership of a specific address. If not provided, user can verify ownership of any self-hosted address they connect.When provided, `networkId` is also required.

> [accordion] Use case: Deposits
>
> ```javascript theme={null}
> curl --request POST \
>   --url https://sandbox-integration-api.meshconnect.com/api/v1/linktoken \ // This is pointing to sandbox
>   --header 'Content-Type: application/json' \
>   --header 'X-Client-Id: YOUR_CLIENT_ID' \ // Replace
>   --header 'X-Client-Secret: YOUR_API_KEY' \ // Replace
>   --data '
> {
>   "userId": "UNIQUE_USER_ID", // Replace
>   "restrictMultipleAccounts": true,
>   "transferOptions": {
>     "transactionId": "UNIQUE_TRANSACTION_ID", // Replace
>     "transferType": "deposit",
>     "isInclusiveFeeEnabled": false,
>     "generatePayLink": false,
>     "toAddresses": [ // Replace (example array below)
>       {
>         "networkId": "0291810a-5947-424d-9a59-e88bb33e999d", // Solana
>         "symbol": "USDC", // Replace
>         "address": "xxx", // Replace
>       },
>       {
>         "networkId": "e3c7fdd8-b1fc-4e51-85ae-bb276e075611", // Ethereum
>         "symbol": "USDC", // Replace
>         "address": "xxx", // Replace
>       },
>       {
>         "networkId": "aa883b03-120d-477c-a588-37c2afd3ca71", // Base
>         "symbol": "USDC", // Replace
>         "address": "xxx", // Replace
>       },
>       {
>         "networkId": "0ea47ee7-9d36-460e-a2d5-64cfa8a1dddd", // XRP Ledger
>         "symbol": "XRP", // Replace
>         "address": "xxx", // Replace
>         "addressTag": "xxx", // Destination tag — required by most XRPL destinations; include it so deposits are attributed to the right account
>       }
>     ],
>   }
> }
> '
> ```
>
> * The `toAddresses` are the possible destinations at which user deposits can be received. This object is an array. The example request shows 4 possible destination addresses (USDC.sol, USDC.eth, USDC.base, XRP), but you should **provide all possible destination addresses** to maximize the chances that Mesh can make a transaction happen.
>
>   > [!NOTE]
>   >
>   > **Want more help?** Use our [toAddress generator](https://mesh-address-generator.vercel.app/?section=link). This tool helps you quickly construct your toAddress array.
> * Some networks require an `addressTag` (a destination tag or memo) on the `toAddress` object, as shown in the XRP entry above. Include it for assets like **XRP** (destination tag) and **XLM** (memo) whenever the destination requires one, otherwise the deposit can fail on-chain or be credited to the wrong account.
> * There are additional parameters for `minAmount` & `minAmountInFiat` within the `toAddress` object. Be sure to include this if you have deposit minimums.

> [accordion] Use case: Payments
>
> ```javascript theme={null}
> curl --request POST \
>   --url https://sandbox-integration-api.meshconnect.com/api/v1/linktoken \ // This is pointing to sandbox
>   --header 'Content-Type: application/json' \
>   --header 'X-Client-Id: YOUR_CLIENT_ID' \ // Replace
>   --header 'X-Client-Secret: YOUR_API_KEY' \ // Replace
>   --data '
> {
>   "userId": "UNIQUE_USER_ID", // Replace
>   "restrictMultipleAccounts": true,
>   "transferOptions": {
>     "transactionId": "UNIQUE_TRANSACTION_ID", // Replace
>     "transferType": "payment",
>     "isInclusiveFeeEnabled": false,
>     "generatePayLink": false,
>     "toAddresses": [ // Replace (example array below)
>       {
>         "networkId": "0291810a-5947-424d-9a59-e88bb33e999d", // Solana
>         "symbol": "USDC", // Replace
>         "address": "xxx", // Replace
>         "amount": 99.99 // Replace
>       },
>       {
>         "networkId": "e3c7fdd8-b1fc-4e51-85ae-bb276e075611", // Ethereum
>         "symbol": "USDC", // Replace
>         "address": "xxx", // Replace
>         "amount": 99.99 // Replace
>       },
>       {
>         "networkId": "aa883b03-120d-477c-a588-37c2afd3ca71", // Base
>         "symbol": "USDC", // Replace
>         "address": "xxx", // Replace
>         "amount": 99.99 // Replace
>       },
>       {
>         "networkId": "03dee5da-7398-428f-9ec2-ab41bcb271da", // Bitcoin
>         "symbol": "BTC", // Replace
>         "address": "xxx", // Replace
>         "amount": 0.00141, // Replace
>         "displayAmountInFiat": 99.99 // Replace
>       },
>       {
>         "networkId": "0ea47ee7-9d36-460e-a2d5-64cfa8a1dddd", // XRP Ledger
>         "symbol": "XRP", // Replace
>         "address": "xxx", // Replace
>         "amount": 25, // Replace
>         "addressTag": "xxx" // Destination tag — required by most XRPL destinations; include it so the payment is attributed to the right account
>       }
>     ],
>   }
> }
> '
> ```
>
> * The `toAddresses` are the possible destinations at which user payments can be received. This object is an array. The example request shows 5 possible destination addresses (USDC.sol, USDC.eth, USDC.base, BTC.btc, XRP), but you should **provide all possible destination addresses** to maximize the chances that Mesh can make a transaction happen.
>
>   > [!NOTE]
>   >
>   > **Want more help?** Use our [toAddress generator](https://mesh-address-generator.vercel.app/?section=link). This tool helps you quickly construct your toAddress array.
> * The `amount` parameter is the amount of the `symbol` specified in this object that must be transferred (ie. the total payment amount, in crypto). Do not use the `amountInFiat` parameter, as Mesh cannot guarantee exchange rates.
> * Some networks require an `addressTag` (a destination tag or memo) on the `toAddress` object, as shown in the XRP entry above. Include it for assets like **XRP** (destination tag) and **XLM** (memo) whenever the destination requires one, otherwise the payment can fail on-chain or be credited to the wrong account.

> [accordion] Use case: Onramps
>
> ```javascript theme={null}
> curl --request POST \
>   --url https://sandbox-integration-api.meshconnect.com/api/v1/linktoken \ // This is pointing to sandbox
>   --header 'Content-Type: application/json' \
>   --header 'X-Client-Id: YOUR_CLIENT_ID' \ // Replace
>   --header 'X-Client-Secret: YOUR_API_KEY' \ // Replace
>   --data '
> {
>   "userId": "UNIQUE_USER_ID", // Replace
>   "restrictMultipleAccounts": true,
>   "integrationId": "5620bf49-3240-4f85-8b4f-9dd6261597e2", // Binance Connect (Replace)
>   "transferOptions": {
>     "transactionId": "UNIQUE_TRANSACTION_ID", // Replace
>     "transferType": "onramp",
>     "amountInFiat": 100.00, // Replace
>     "isInclusiveFeeEnabled": true,
>     "generatePayLink": false,
>     "toAddresses": [ // Replace (this could be a full array, or only one destination if the user selects a token/network in your UX before launching Mesh)
>       {
>         "networkId": "0291810a-5947-424d-9a59-e88bb33e999d", // Solana
>         "symbol": "USDC", // Replace
>         "address": "xxx", // Replace
>       }
>     ],
>   }
> }
> '
> ```
>
> * There is an additional parameter for `addressTag` within the `toAddress` object. Be sure to include that for assets like XRP or XLM if necessary for proper attribution to your user accounts.
>
>   > [!NOTE]
>   >
>   > **Want more help?** If you're passing an array of multiple possible destinations for your user's purchase, use our [toAddress generator](https://mesh-address-generator.vercel.app/?section=link). This tool helps you quickly construct your toAddress array.
> * There are additional parameters for `minAmount` & `minAmountInFiat` within the `toAddress` object. Be sure to include this if you have deposit minimums.
> * Read more about this in [Add Mesh onramp integrations to your "Buy" lineup](https://docs.meshconnect.com/extend/onramp.md).

> [accordion] Use case: Withdrawals (Mesh-hosted)
>
> ```javascript theme={null}
> curl --request POST \
>   --url https://integration-api.meshconnect.com/api/v1/linktoken \ // Production: Mesh-hosted withdrawals aren't available in sandbox
>   --header 'Content-Type: application/json' \
>   --header 'X-Client-Id: YOUR_CLIENT_ID' \ // Replace
>   --header 'X-Client-Secret: YOUR_API_KEY' \ // Replace
>   --data '
> {
>   "userId": "UNIQUE_USER_ID", // Replace
>   "transferOptions": {
>     "transactionId": "UNIQUE_TRANSACTION_ID", // Replace, optional but recommended
>     "transferType": "withdrawal",
>     "fromPairs": [ // Replace with the pairs you can pay out from
>       {
>         "networkId": "0291810a-5947-424d-9a59-e88bb33e999d", // Solana
>         "symbol": "USDC", // Replace
>         "minAmount": 1.00, // Optional: replace with your withdrawal minimum
>         "maxAmount": 99.99 // Replace with the user's withdrawable balance
>       },
>       {
>         "networkId": "e3c7fdd8-b1fc-4e51-85ae-bb276e075611", // Ethereum
>         "symbol": "USDC", // Replace
>         "minAmount": 1.00, // Optional: replace
>         "maxAmount": 99.99 // Replace
>       },
>       {
>         "networkId": "aa883b03-120d-477c-a588-37c2afd3ca71", // Base
>         "symbol": "USDC", // Replace
>         "minAmount": 1.00, // Optional: replace
>         "maxAmount": 99.99 // Replace
>       }
>     ]
>   }
> }
> '
> ```
>
> * Mesh Link renders the full withdrawal flow: the user picks a destination, asset, network, and amount, then confirms.
> * Mesh-hosted withdrawals can't be tested in sandbox at this time. Test in production with small amounts (eg. 1 USDC) withdrawn to an address you control.
> * `fromPairs` describes what **you send**, not what the user receives. Mesh uses it to determine every destination asset/network the user can choose, including bridged and swapped routes. Use `fromPairs` instead of `toAddresses` for this use case.
> * If you have a withdrawal minimum, set `minAmount` on each `fromPairs` entry, in the same units as `maxAmount`. The user's minimum is the higher of your `minAmount` and Mesh's route minimum.
> * When the user confirms, you receive the `withdrawalRequested` SDK event, then a webhook with the money movement details you need to send the funds.
> * Read more about this in the [Add Mesh to your withdrawal flow](https://docs.meshconnect.com/extend/withdrawal.md) guide.

> [accordion] Use case: Withdrawals (client-hosted)
>
> ```javascript theme={null}
> curl --request POST \
>   --url https://sandbox-integration-api.meshconnect.com/api/v1/linktoken \ // This is pointing to sandbox
>   --header 'Content-Type: application/json' \
>   --header 'X-Client-Id: YOUR_CLIENT_ID' \ // Replace
>   --header 'X-Client-Secret: YOUR_API_KEY' \ // Replace
>   --data '
> {
>   "userId": "UNIQUE_USER_ID", // Replace
>   "restrictMultipleAccounts": true,
> }
> '
> ```
>
> * This user flow will end immediately after they connect their account.
> * At that point, you will receive an accessToken for the user's account, which you can use to hit Mesh's **Get deposit addresses** endpoint ([/api/v1/transfers/managed/address/list](https://docs.meshconnect.com/api-reference/managed-transfers/get-list-of-deposit-addresses.md)).
> * Read more about this in the [Add Mesh to your withdrawal flow](https://docs.meshconnect.com/extend/withdrawal.md) guide.

> [accordion] Use case: Verify (self-hosted wallets)
>
> ```javascript theme={null}
> curl --request POST \
>   --url https://sandbox-integration-api.meshconnect.com/api/v1/linktoken \ // This is pointing to sandbox
>   --header 'Content-Type: application/json' \
>   --header 'X-Client-Id: YOUR_CLIENT_ID' \ // Replace
>   --header 'X-Client-Secret: YOUR_API_KEY' \ // Replace
>   --data '
> {
>   "userId": "UNIQUE_USER_ID", // Replace
>   "restrictMultipleAccounts": true,
>   "integrationId": "757e703f-a8fe-4dc4-d0ec-08dc6737ad96", // Phantom, replace, optional
>   "verifyWalletOptions": {
>     "verificationMethods": [
>       "signedMessage"
>     ],
>     "message": "MESSAGE_TO_BE_SIGNED", // Replace
>     "networkId": "0291810a-5947-424d-9a59-e88bb33e999d", // Solana, replace — required when `addresses` is provided
>     "networkType": "solana", // Replace, optional
>     "addresses": [ // Optional
>       "xxx" // Replace
>     ],
>   }
> }
> '
> ```
>
> * Wallet verification is fully compatible with the deposit & payment use cases. If you require users to verify that they own a self-custody wallet before initiating a deposit or payment from that wallet, you can add these configurations into the same Link Token request.
> * Read more about this in [Verify self-hosted wallets](https://docs.meshconnect.com/extend/verify-wallets.md).

## What's next

Next up: [Launch the Mesh SDK](https://docs.meshconnect.com/build/launch-sdk.md) — use the Link Token you just requested to initialize and launch a user-facing SDK session.

***

> [accordion] AI coding reference (llms.txt)
>
> *AI coding reference — a compact summary of this page's APIs, parameters, and patterns for use by AI coding assistants (following the [llms.txt standard](https://llmstxt.org/)). Human readers can safely ignore this.*
>
> **llms.txt — Fetch a Link Token**
>
> Every Mesh session starts server-side with a Link Token request. Tokens are short-lived (10 min) and single-use.
>
> **Endpoint**: `POST /api/v1/linktoken`
>
> **Required params**: `userId` (unique, persistent, non-PII, ≤300 chars) — the only universally required body param.
>
> **Conditionally required**: `transferOptions.toAddresses[].networkId`, `.symbol`, `.address` — required for any transfer flow | `transferOptions.toAddresses[].amount` — required for payment flows (not for deposit/onramp) | `transferOptions.fromPairs[].networkId`, `.symbol`, `.maxAmount` — required for Mesh-hosted withdrawals (`transferType: "withdrawal"`); optional `.minAmount` (client withdrawal minimum, asset units; effective minimum = max(Mesh route minimum, `minAmount`); pair hidden if `maxAmount` is below it) | `verifyWalletOptions.verificationMethods` — required when using wallet verification
>
> **Key optional params**: `transferOptions.transferType` (deposit/payment/onramp/withdrawal — defaults to deposit) | `integrationId` (deep-link to specific provider) | `accessTokens` (MMT return-user array) | `restrictMultipleAccounts` (default true) | `generatePayLink` (true returns `paymentLink` URL) | `transferOptions.isInclusiveFeeEnabled` (false for deposit/payment; true for onramp) | `transferOptions.amountInFiat` | `transferOptions.toAddresses[].addressTag` (for XRP, XLM) | `transferOptions.toAddresses[].minAmount` / `minAmountInFiat`
>
> **verifyWalletOptions** (wallet ownership): `verificationMethods: ["signedMessage"]` | `message` | `networkId` (required when `addresses` is set; otherwise optional) or `networkType` (not both) | `addresses[]`
>
> **Get networkIds**: Use `GET /api/v1/transfers/managed/networks` to fetch the full list of supported networks and their `networkId` values. These values don't change — safe to cache permanently, no need to call this endpoint before every Link Token request.
>
> **Key networkIds**: Solana `0291810a-5947-424d-9a59-e88bb33e999d` | Ethereum `e3c7fdd8-b1fc-4e51-85ae-bb276e075611` | Base `aa883b03-120d-477c-a588-37c2afd3ca71` | Bitcoin `03dee5da-7398-428f-9ec2-ab41bcb271da` | XRP Ledger `0ea47ee7-9d36-460e-a2d5-64cfa8a1dddd`
>
> **Tool**: [toAddress generator](https://mesh-address-generator.vercel.app/?section=link) — quickly construct your toAddresses array.
>
> **Deposit use case — canonical request body**:
>
> ```javascript theme={null}
> curl --request POST \
>   --url https://sandbox-integration-api.meshconnect.com/api/v1/linktoken \ // This is pointing to sandbox
>   --header 'Content-Type: application/json' \
>   --header 'X-Client-Id: YOUR_CLIENT_ID' \ // Replace
>   --header 'X-Client-Secret: YOUR_API_KEY' \ // Replace
>   --data '
> {
>   "userId": "UNIQUE_USER_ID", // Replace
>   "restrictMultipleAccounts": true,
>   "transferOptions": {
>     "transactionId": "UNIQUE_TRANSACTION_ID", // Replace
>     "transferType": "deposit",
>     "isInclusiveFeeEnabled": false,
>     "generatePayLink": false,
>     "toAddresses": [ // Replace (example array below)
>       {
>         "networkId": "0291810a-5947-424d-9a59-e88bb33e999d", // Solana
>         "symbol": "USDC", // Replace
>         "address": "xxx", // Replace
>       },
>       {
>         "networkId": "e3c7fdd8-b1fc-4e51-85ae-bb276e075611", // Ethereum
>         "symbol": "USDC", // Replace
>         "address": "xxx", // Replace
>       },
>       {
>         "networkId": "aa883b03-120d-477c-a588-37c2afd3ca71", // Base
>         "symbol": "USDC", // Replace
>         "address": "xxx", // Replace
>       }
>     ],
>   }
> }
> '
> ```
>
> **Payment use case** — same as deposit but add `"amount": 99.99` to each `toAddress` entry and set `"transferType": "payment"`.
>
> **Onramp use case** — add `"integrationId": "...", "amountInFiat": 100.00, "isInclusiveFeeEnabled": true` and set `"transferType": "onramp"`.
>
> **Withdrawal use case (Mesh-hosted)** — set `"transferType": "withdrawal"` and replace `toAddresses` with `fromPairs`: `[{ "networkId": "...", "symbol": "USDC", "minAmount": 1.00, "maxAmount": 99.99 }]` (pairs you pay out from; `maxAmount` = user's withdrawable balance, required on every entry).
>
> **Withdrawal use case (client-hosted)** — send only `userId` and `restrictMultipleAccounts`, no `transferOptions`. The session ends after the user connects an account; then call `POST /api/v1/transfers/managed/address/list`.
>
> **Verify use case** — replace `transferOptions` with `"verifyWalletOptions": { "verificationMethods": ["signedMessage"], "message": "...", "networkId": "..." }`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.