{
  "openapi": "3.0.1",
  "info": {
    "title": "Mesh Connect Integration API",
    "description": "\nMesh allows users to connect accounts of financial institutions,\ncrypto exchanges, and self-custody wallets. Mesh handles credential\nvalidation, MFA, and error handling for each integration. After\nan account is connected, Mesh allows client applications to read holdings,\ntransaction history and balances and execute crypto transfers (with user approval).",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://integration-api.meshconnect.com"
    },
    {
      "url": "https://sandbox-integration-api.meshconnect.com"
    }
  ],
  "paths": {
    "/api/v1/exchange/verify": {
      "post": {
        "tags": [
          "Integrations account information"
        ],
        "summary": "Get profile data",
        "description": "Returns basic profile data of the user's exchange account.\r\nAvailable data varies by exchange and linked account.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ExchangeAccountInfoRequest"
                  }
                ],
                "description": "Exchange account info request."
              },
              "example": {"authToken":"Secret authentication token","integrationId":"4d3364d9-fa09-4382-ad4e-5cab2e355fd4","accountInfo":["companyName","firstName","lastName"]}
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successfully returns account details.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/B2BBrokerAccountDetailsResponseApiResult"
                },
                "example": {"content":{"integrationName":"Coinbase","firstName":"Firstname","middleName":"Midlename","lastName":"Lastname","accountNumber":"1234567","email":"enduser@domain.com","mobileNumber":"123456798","companyName":"MyCorp Inc.","countryCode":"GB","city":"City Name","postalCode":"4251","idType":"idCard","idNumber":"123","dateOfBirth":574732800},"status":"ok","message":"","errorHash":"0d469941","teamCode":"P4","errorType":""}
              }
            }
          },
          "400": {
            "description": "Request to retrieve account details is not correct.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"badRequest","message":"Error message","displayMessage":"Optional display message","errorHash":"7dcbb73d","teamCode":"P4","errorType":"missingField"}
              }
            }
          },
          "401": {
            "description": "Unauthorized: Client Id or Client Secret are not correct or missing.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/assets/{assetType}": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "Get available assets",
        "parameters": [
          {
            "name": "assetType",
            "in": "path",
            "required": true,
            "schema": {
              "enum": [
                "equity",
                "cryptocurrency"
              ],
              "allOf": [
                {
                  "$ref": "#/components/schemas/AssetType"
                }
              ]
            }
          },
          {
            "name": "Search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Count",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetPaginationResponseApiResult"
                },
                "example": {"content":{"items":[{"symbol":"AAPL","name":"Apple Inc","type":"equity"},{"symbol":"MSFT","name":"Microsoft Inc","type":"equity"}],"total":5,"range":{"start":0,"end":-1,"isValid":false,"count":0},"hasMorePages":true},"status":"ok","message":"","errorHash":"a1271b5e","teamCode":"P4","errorType":""}
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"badRequest","message":"Error message","displayMessage":"Optional display message","errorHash":"7dcbb73d","teamCode":"P4","errorType":"missingField"}
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/balance/get": {
      "post": {
        "tags": [
          "Balance"
        ],
        "summary": "Get fiat holdings",
        "description": "Get real-time account fiat balances.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/BalanceBrokerBaseRequest"
                  }
                ]
              },
              "example": {"authToken":"Secret authentication token","type":"binanceInternationalDirect"}
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/B2BBrokerAccountBalanceModelApiResult"
                },
                "example": {"content":{"balances":[{"cash":158.5,"buyingPower":258.5,"currencyCode":"USD"},{"cash":10,"buyingPower":10,"currencyCode":"EUR"}],"totalCashUsdValue":10,"totalBuyingPowerUsdValue":10},"status":"ok","message":"","errorHash":"3ad8c4a4","teamCode":"P4","errorType":""}
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"badRequest","message":"Error message","displayMessage":"Optional display message","errorHash":"7dcbb73d","teamCode":"P4","errorType":"missingField"}
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "The API key used does not have read permission to call this Mesh endpoint.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/balance/portfolio": {
      "get": {
        "tags": [
          "Balance"
        ],
        "summary": "Get aggregated portfolio fiat balances",
        "description": "Get cached aggregated fiat balances from all connected integrations.",
        "parameters": [
          {
            "name": "UserId",
            "in": "query",
            "description": "End user ID to get the aggregated portfolio for.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/B2BFiatPortfolioModelApiResult"
                },
                "example": {"content":{"fiatBalances":[{"symbol":"USD","cash":3.099,"buyingPower":3.099},{"symbol":"EUR","cash":-102.880,"buyingPower":1293.596}]},"status":"ok","message":"","errorHash":"4f640fa9","teamCode":"P4","errorType":""}
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"badRequest","message":"Error message","displayMessage":"Optional display message","errorHash":"7dcbb73d","teamCode":"P4","errorType":"missingField"}
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "The API key used does not have read permission to call this Mesh endpoint.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/api/v1/catalog/solana/getLatestBlockhash": {
      "post": {
        "tags": [
          "BlockchainQuery"
        ],
        "parameters": [
          {
            "name": "chainId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/catalog/solana/getTokenProgram": {
      "post": {
        "tags": [
          "BlockchainQuery"
        ],
        "parameters": [
          {
            "name": "chainId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "token",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/catalog/solana/isTokenAddressCreated": {
      "post": {
        "tags": [
          "BlockchainQuery"
        ],
        "parameters": [
          {
            "name": "chainId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "address",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/catalog/ton/getTokenInfo": {
      "post": {
        "tags": [
          "BlockchainQuery"
        ],
        "parameters": [
          {
            "name": "caipNetworkId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tokenAddress",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TonTokenInfoResponseApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/sponsorship/build": {
      "post": {
        "tags": [
          "CatalogGasSponsorship"
        ],
        "summary": "Build a sponsored transaction payload for the client to sign.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/BuildSponsorshipRequestBody"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BuildSponsoredTxResponseApiResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/sponsorship/submit": {
      "post": {
        "tags": [
          "CatalogGasSponsorship"
        ],
        "summary": "Submit a client-signed sponsored transaction for broadcast.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SubmitSponsorshipRequestBody"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubmitSponsoredTxResponseApiResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/sponsorship/{trackingId}": {
      "get": {
        "tags": [
          "CatalogGasSponsorship"
        ],
        "summary": "Get the current status of a sponsored transaction.",
        "parameters": [
          {
            "name": "trackingId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SponsoredTxStatusApiResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/subscription/build-subscribe": {
      "post": {
        "tags": [
          "CatalogSubscription"
        ],
        "summary": "Build the next unsigned subscribe transaction. The end user supplies the terms (amount, period length\r\nin seconds, optional expiry); token/network and pull destination are resolved from the link token.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/BuildSubscribeRequestBody"
                  }
                ],
                "description": "Request body for build-subscribe: the signing wallet plus the end-user terms (per-period cap, period\r\nlength, optional expiry). Token/network, pull destination, and delegatee are resolved server-side."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Subscribe transaction built.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BuildSubscriptionResponseApiResult"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid (e.g. FromAddressRequired), the terms failed validation, the\r\n            wallet cannot cover the flow's rent + fees (InsufficientSolBalance), or the wallet has no associated\r\n            token account for the subscription currency (SourceTokenAccountMissing).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          },
          "401": {
            "description": "Unauthorized: end-user JWT is missing or invalid.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "Solana subscriptions are not enabled for this client.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          }
        }
      }
    },
    "/api/v1/subscription/register-subscribe": {
      "post": {
        "tags": [
          "CatalogSubscription"
        ],
        "summary": "Record that the user broadcast the final `createDelegation` tx and advance the subscription to\r\nUserClaimActive; if the delegation is already visible on-chain this call also finalizes it to Active.\r\nNon-blocking for a valid request: returns 200 carrying `status` + `onChainConfirmed` — poll\r\nuntil `onChainConfirmed` is true. Invalid input/state returns 400. Idempotent and scoped to the caller.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/RegisterSubscribeRequestBody"
                  }
                ],
                "description": "Request body for register-subscribe: confirms the user broadcast the final `createDelegation`\r\ntransaction so the row advances `Pending → UserClaimActive` before the puller's first scan."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Registered — UserClaimActive (or Active once confirmed on-chain).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegisterSubscriptionResponseApiResult"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid or the subscription isn't pending.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          },
          "401": {
            "description": "Unauthorized: end-user JWT is missing or invalid.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "Solana subscriptions are not enabled for this client.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          }
        }
      }
    },
    "/api/v1/subscription/build-unsubscribe": {
      "post": {
        "tags": [
          "CatalogSubscription"
        ],
        "summary": "Build the unsigned revoke transaction for the subscription identified by `subscriptionId` (the\r\n`id` from get-subscriptions). The delegation and signing wallet are resolved server-side.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/BuildUnsubscribeRequestBody"
                  }
                ],
                "description": "Request body for build-unsubscribe: the `subscriptionId` (the `id` from get-subscriptions) to\r\ncancel. The delegation account and signing wallet are resolved server-side."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Revoke transaction built.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BuildSubscriptionResponseApiResult"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid (e.g. SubscriptionIdRequired) or the subscription cannot be revoked.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          },
          "401": {
            "description": "Unauthorized: end-user JWT is missing or invalid.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "Solana subscriptions are not enabled for this client.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          }
        }
      }
    },
    "/api/v1/subscription/register-unsubscribe": {
      "post": {
        "tags": [
          "CatalogSubscription"
        ],
        "summary": "Record that the user broadcast the `revokeDelegation` tx and advance the subscription to\r\nUserClaimCancelled; if the delegation is already gone on-chain this call also finalizes it to Cancelled.\r\nNon-blocking for a valid request: returns 200 carrying `status` + `onChainConfirmed` — poll\r\nuntil `onChainConfirmed` is true. Invalid input/state returns 400. The puller enforces per-wallet\r\nisolation (finalizes only when the delegation is actually gone). Idempotent and scoped to the caller.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/RegisterUnsubscribeRequestBody"
                  }
                ],
                "description": "Request body for register-unsubscribe: confirms the user broadcast the `revokeDelegation`\r\ntransaction so the row advances to `UserClaimCancelled` before the puller reconciles."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Registered — UserClaimCancelled (or Cancelled once confirmed on-chain).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegisterSubscriptionResponseApiResult"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid or the subscription isn't in a cancellable state.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          },
          "401": {
            "description": "Unauthorized: end-user JWT is missing or invalid.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "Solana subscriptions are not enabled for this client.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          }
        }
      }
    },
    "/api/v1/subscription/get": {
      "get": {
        "tags": [
          "CatalogSubscription"
        ],
        "summary": "List the caller's subscriptions for a wallet: the recurring delegations recorded for this client + end\r\nuser, as Mesh knows them. Each item carries its `id` (pass it to build-unsubscribe to cancel).\r\n\n\r\nServed from Mesh's own records — no chain read on this path, so the response does not depend on Solana\r\nRPC latency. Each item's `status` is kept reconciled against the chain by background timers, and\r\nper-period usage (`pulledInFiat`, `availableInFiat`, `nextPullTs`,\r\n`currentPeriodStartTs`/`currentPeriodEndTs`) is derived from Mesh's pull ledger: Mesh is the\r\nonly party that can pull against these delegations, and in-flight pulls are already counted as consumed.\r\nTreat `availableInFiat` as a conservative floor for display, not a live on-chain allowance — the\r\non-chain program is the ultimate cap enforcer, so do not build reconciliation on this figure alone.\r\n",
        "parameters": [
          {
            "name": "address",
            "in": "query",
            "description": "Required Base58 wallet address; the results are scoped to this wallet.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Subscriptions obtained.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSubscriptionsResponseApiResult"
                }
              }
            }
          },
          "400": {
            "description": "The delegator address is missing (DelegatorAddressRequired) or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          },
          "401": {
            "description": "Unauthorized: end-user JWT is missing or invalid.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "Solana subscriptions are not enabled for this client.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          }
        }
      }
    },
    "/api/v1/bridging/routes/deposit": {
      "post": {
        "tags": [
          "Headless Bridging"
        ],
        "summary": "Discover pay-in (source) bridging routes for one or more payout destinations.",
        "description": "Networks and assets use CAIP-2 + token symbol.\r\nUse `optimized` to collapse to one destination per distinct source (default) or return every matching origin→destination pair.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/GetBridgingDepositRoutesRequest"
                  }
                ],
                "description": "Request body for `POST /api/v1/bridging/routes/deposit` — discover pay-in (source) options for fixed payout destinations."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Routes retrieved successfully. An empty `routes` array means no routes are currently available for the given destinations.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBridgingRoutesResponseApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Request is missing required fields or contains invalid data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          },
          "401": {
            "description": "Unauthorized — Client ID or Client Secret are missing or incorrect.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "Headless bridging is not enabled for this client (`permissionDenied`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          }
        }
      }
    },
    "/api/v1/bridging/routes/withdrawal": {
      "post": {
        "tags": [
          "Headless Bridging"
        ],
        "summary": "Discover payout (destination) bridging routes for fixed omnibus (source) legs.",
        "description": "Provide at least one `sources` entry (CAIP-2 network + asset). When `optimized` is `true` (default),\r\nreturns at most one source per distinct destination. Set `optimized` to `false`\r\nto list every matching origin→destination pair for those sources.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/GetBridgingWithdrawalRoutesRequest"
                  }
                ],
                "description": "Request body for `POST /api/v1/bridging/routes/withdrawal` — discover payout (destination) options\r\nwhen funding from fixed omnibus (source) legs."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Routes retrieved successfully. An empty `routes` array means no routes are currently available for the given sources.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBridgingRoutesResponseApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Request is missing required fields or contains invalid data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          },
          "401": {
            "description": "Unauthorized — Client ID or Client Secret are missing or incorrect.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "Headless bridging is not enabled for this client (`permissionDenied`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          }
        }
      }
    },
    "/api/v1/bridging/address": {
      "post": {
        "tags": [
          "Headless Bridging"
        ],
        "summary": "Create a one-time bridging deposit address for a selected origin→destination pair.",
        "description": "Returns a single-use address on the <b>origin</b> network for the <b>origin</b> asset. Funds must be\r\nsent to that address on that chain; Mesh detects the deposit, executes the bridge, and delivers\r\nto `destination.address` on the destination network.\r\n            \r\n**Deposit-style (user pay-in):** discover routes with `POST /api/v1/bridging/routes/deposit`.\r\nThe end user sends from their wallet to the returned deposit address.\r\n            \r\n**Withdrawal-style (platform pay-in):** discover routes with `POST /api/v1/bridging/routes/withdrawal`\r\nto pair an omnibus `origin` with the user’s chosen destination. Your platform sends the origin\r\nasset from that omnibus wallet to the deposit address; the user’s withdrawal address is `destination.address`.\r\n            \r\n**Idempotency:** a `transactionId` is single-use per `userId`. While the transfer is still\r\npending, re-submitting the same `transactionId` + `userId` with the same origin, destination and\r\naddress returns the previously created address unchanged (same `transferId`, same\r\n`expirationTime`) rather than generating a new one, so network-error retries are safe. Re-submitting\r\nwith a different origin, destination or address is a `400`. Once the transfer has reached a terminal\r\nstate (succeeded, failed or expired), the same `transactionId` returns `409`; use a new\r\n`transactionId` for a new address.\r\n            \r\n**Expiry:** `constraints.expirationTime` is fixed at creation (6 hours by default) and is the point at\r\nwhich Mesh stops tracking the address. A transfer that has not been funded by then is marked failed; a\r\npay-in that arrives before then is bridged and the transfer moves to succeeded as soon as it settles. Do\r\nnot display or use the address after `expirationTime`: the provider may still bridge funds sent\r\nlater, but Mesh will not track them automatically.\r\n            \r\n**Minimum amount:** `constraints.minimumAmount` is the smallest pay-in (in the origin asset) Mesh\r\naccepts on this route: the stricter of the route's configured minimum and the platform USD floor\r\nconverted at the current price. It is the same value `POST /api/v1/bridging/quote` returns in its\r\n`constraints` and enforces with `amountBelowMinimum`. `constraints.maximumAmount` is the\r\nplatform USD cap converted at the current price (enforced on `/quote` with `amountExceedsMaximum`);\r\nthe provider's available liquidity may be lower and surfaces at quote time the same way.\r\n            \r\n**Typical flow:**\r\n1. Discover routes (`routes/deposit` or `routes/withdrawal`) and fix `origin` + `destination`\r\n   (destination includes the recipient withdrawal address when applicable).\r\n2. Call this endpoint with those values.\r\n3. Show the deposit address, constraints (`minimumAmount`, `expirationTime`, `singleUseAddress`),\r\n   and warnings to whoever will broadcast the pay-in (end user or your custody system).\r\n4. After the pay-in is sent on-chain, Mesh completes the bridge to the destination address.\r\n5. Use `transferId` from `tracking` for webhooks or the transfer status API.\r\n            \r\n**Important:** the deposit address is single-use; do not reuse it.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateBridgedAddressRequest"
                  }
                ],
                "description": "Request body for `POST /api/v1/bridging/address`.\r\n\n\r\nUsed for both pay-in (deposit) and platform-led pay-in (withdrawal-style) bridging: the address returned\r\nis always on `origin`; funds must be sent there before Mesh can deliver to `destination`.\r\n\n\r\nThis endpoint is idempotent per `transactionId` scoped to `userId` and B2B client/environment:\r\nretries with the same origin, destination (network, asset, and `address`),\r\nand route return the same deposit address. Reusing the same `transactionId` with any different origin or\r\ndestination (network, asset, or address) returns an error and does not create a second transfer preview.\r\n"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Bridging deposit address created or retrieved (idempotent hit).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateBridgedAddressResponseApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Request is missing required fields, the network is unknown, the bridging provider rejected the destination address as not valid for the destination network (`invalidDestinationAddress`), no route exists for the given origin/destination pair, or the `transactionId` was already used with a different origin, destination or address.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          },
          "401": {
            "description": "Unauthorized — Client ID or Client Secret are missing or incorrect.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "Headless bridging is not enabled for this client (`permissionDenied`), or the API key does not have the write scope required for this endpoint.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          },
          "409": {
            "description": "The `transactionId` was already used for a transfer that has since completed, failed or expired. Use a new `transactionId`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          },
          "503": {
            "description": "The bridging provider cannot price this route right now (`serverFailureRetryable`), typically a temporary liquidity gap — BTC routes in particular can be intermittently unavailable. Nothing was created; retry with the same `transactionId` after a short delay.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          }
        }
      }
    },
    "/api/v1/bridging/quote": {
      "post": {
        "tags": [
          "Headless Bridging"
        ],
        "summary": "Get an indicative quote for bridging a given pay-in amount on a configured origin→destination route.",
        "description": "Stateless: no deposit address is minted and no transfer is created. Use this while the end user is\r\nchoosing an amount, then call `POST /api/v1/bridging/address` once they confirm.\r\n            \r\n`amount` is denominated in the `origin` asset (what will be sent to the deposit address).\r\nThe response returns `destination.estimatedAmount` (net of provider fees), `destination.minimumAmount`\r\n(the provider's indicative minimum for this quote at the configured slippage, when reported), and the fee\r\nlines that produced the estimate. The quote is not bound to a later `/address` call, which obtains a\r\nfresh quote that may differ.\r\n            \r\n`constraints.minimumAmount` is the smallest pay-in Mesh accepts on this route (in the origin asset);\r\nan `amount` below it is rejected with `400 amountBelowMinimum` before the provider is consulted,\r\nand the same value is returned by `POST /api/v1/bridging/address`. `constraints.maximumAmount` is\r\nthe platform USD cap converted at the current price; an amount above it, or above the provider's available\r\nliquidity, is rejected with `400 amountExceedsMaximum`.\r\n            \r\n**Important:** the estimate is indicative. The deposit address accepts any amount and the bridge is\r\npriced on what actually arrives, so fees and rates can move between quoting and settlement.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/GetBridgingQuoteRequest"
                  }
                ],
                "description": "Request body for `POST /api/v1/bridging/quote`.\r\n\n\r\nPrices a bridge for a caller-supplied pay-in amount without minting a deposit address or creating a\r\ntransfer. Call it while the end user is still choosing an amount; call `POST /api/v1/bridging/address`\r\nonly once they confirm.\r\n\n\r\nThe result is indicative. The deposit address returned by `/address` accepts any amount and the\r\nbridge provider prices what actually arrives at fill time.\r\n"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Quote produced.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBridgingQuoteResponseApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Request is missing required fields, the network is unknown, the bridging provider rejected the destination address as not valid for the destination network (`invalidDestinationAddress`), no route exists for the given pair, or the amount is below the minimum (`amountBelowMinimum`) or above the maximum / provider's available liquidity (`amountExceedsMaximum`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          },
          "401": {
            "description": "Unauthorized — Client ID or Client Secret are missing or incorrect.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "Headless bridging is not enabled for this client (`permissionDenied`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          },
          "503": {
            "description": "The bridging provider cannot price this route right now (`serverFailureRetryable`), typically a temporary liquidity gap — BTC routes in particular can be intermittently unavailable. Retry after a short delay.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          }
        }
      }
    },
    "/api/v1/bridging/notify": {
      "post": {
        "tags": [
          "Headless Bridging"
        ],
        "summary": "Report a native (non-bridged) deposit your platform has already detected on one of its own deposit addresses.",
        "description": "For deposits that do not need bridging — the end user sent an asset you accept natively to the deposit\r\naddress your platform shows them — there is no `POST /api/v1/bridging/address` call and Mesh is not\r\nin the payment path. Call this endpoint once you have seen the transaction on chain so Mesh records it,\r\nverifies it independently and sends the same transfer webhooks a bridged deposit produces, giving you one\r\nrecord and one reconciliation stream for every deposit.\r\n            \r\n**What happens:** Mesh creates the transfer as `pending` with the reported hash, then verifies on\r\nchain that the transaction is confirmed and credited `destination.address` in `destination.asset`.\r\nOn verification the transfer moves to `succeeded` and the `succeeded` webhook fires (with the\r\ntransaction hash and the on-chain amount). A transaction that conclusively did not deliver (it reverted, or\r\nmoved none of the asset to the address), or one whose credit cannot be verified by `expirationTime`,\r\nmarks the transfer `failed` and a `failed` webhook is sent. No `pending` webhook is sent. This endpoint does not return transfer status; use webhooks or the\r\ntransfers API with `tracking.transferId`.\r\n            \r\n**One call per on-chain transaction.** The transaction hash is the deposit's identity: a player who\r\ndeposits several times to the same saved address produces several transactions, and each needs its own\r\ncall with its own `transactionId`. Call it after detection, not when the address is displayed.\r\n            \r\n**Idempotency:** a `transactionId` is single-use per `userId`. Re-submitting the same\r\n`transactionId` + `userId` with the same destination and `transactionHash` returns the\r\noriginal record (same `transferId`) in any state, so retries are safe. Re-submitting it with a\r\ndifferent destination or hash, or with a `transactionId` already used for a bridged address, is a\r\n`400` (and a `transactionId` used here cannot later mint a bridged address). Reporting a\r\n`transactionHash` already tracked for the same destination under another `transactionId` is a\r\n`409` (`transferAlreadyRequested`) naming the existing transfer; the same hash crediting a\r\ndifferent address of yours (one transaction paying several users) is a separate deposit and is accepted.\r\n            \r\n**Networks and assets:** `destination.network` is a CAIP-2 id of an EVM, Solana, Tron, Bitcoin or XRP Ledger\r\nnetwork and `destination.asset` a token symbol Mesh knows on that network; any other network type is a\r\n`400`, and an asset Mesh cannot verify on that network is a `400` (`symbolNotSupported`).\r\n`destination.address` must be a well-formed address for that network\r\n(`invalidDestinationAddress` otherwise) and `transactionHash` a well-formed transaction id for it\r\n(EVM, Tron, Bitcoin, XRP Ledger: 32 bytes hex, `0x` optional; Solana: base58 signature). `amount` is informational: the\r\non-chain credit is authoritative and is what the `succeeded` webhook carries, so a differing\r\n`amount` is logged but does not fail the deposit.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NotifyNativeDepositRequest"
                  }
                ],
                "description": "Request body for `POST /api/v1/bridging/notify`.\r\n\n\r\nReports a native (non-bridged) deposit the client has already detected on one of its own deposit addresses,\r\nso Mesh records it, verifies it on chain and emits the same transfer webhooks a bridged deposit produces.\r\nOne call per on-chain transaction.\r\n\n\r\nIdempotent per `transactionId` scoped to `userId` and B2B client/environment: a retry with the same\r\ndestination and `transactionHash` returns the original record. The same `transactionId` with a\r\ndifferent destination or hash is a `400`; a `transactionHash` already tracked for the same destination\r\nunder another `transactionId` is a `409` (`transferAlreadyRequested`). The same hash crediting a\r\ndifferent address is a separate deposit.\r\n"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Deposit recorded (or the original record returned on an idempotent retry); verification is in progress.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotifyNativeDepositResponseApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Request is missing required fields, the network is unknown or not an EVM / Solana / Tron / Bitcoin / XRP Ledger network, the asset is not supported on that network (`symbolNotSupported`), the address is not valid for the network (`invalidDestinationAddress`), the hash or amount is malformed, or the `transactionId` was already used with a different destination or hash.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          },
          "401": {
            "description": "Unauthorized — Client ID or Client Secret are missing or incorrect.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "Headless bridging is not enabled for this client (`permissionDenied`), or the API key does not have the write scope required for this endpoint.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          },
          "409": {
            "description": "The `transactionHash` is already tracked for this destination by another transfer (`transferAlreadyRequested`). The message names the existing transfer and its `transactionId`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          }
        }
      }
    },
    "/api/v1/linktoken": {
      "post": {
        "tags": [
          "Managed Account Authentication"
        ],
        "summary": "Get Link token",
        "description": "Get a short-lived, one-time use token for initializing a Link session using the client-side SDKs",
        "requestBody": {
          "description": "Create Link token request.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/GetLinkTokenRequest"
                  }
                ]
              },
              "examples": {
                "Deposit": {
                  "value": {"userId":"UserId","configurationId":"18a20b11-e47f-43b9-8546-94284e9ee547","restrictMultipleAccounts":true,"transferOptions":{"toAddresses":[{"networkId":"e3c7fdd8-b1fc-4e51-85ae-bb276e075611","symbol":"ETH","address":"0x00000000000000000000000"},{"networkId":"e3c7fdd8-b1fc-4e51-85ae-bb276e075611","symbol":"USDC","address":"0x00000000000000000000000"},{"networkId":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12","symbol":"MATIC","address":"0x00000000000000000000000"},{"networkId":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12","symbol":"USDC","address":"0x00000000000000000000000"}],"amountInFiat":10,"isInclusiveFeeEnabled":false,"generatePayLink":false},"disableApiKeyGeneration":false}
                },
                "Withdrawal": {
                  "value": {"userId":"UserId","restrictMultipleAccounts":false,"transferOptions":{"fromPairs":[{"networkId":"0291810a-5947-424d-9a59-e88bb33e999d","symbol":"USDC","maxAmount":99.99},{"networkId":"e3c7fdd8-b1fc-4e51-85ae-bb276e075611","symbol":"USDC","maxAmount":99.99},{"networkId":"aa883b03-120d-477c-a588-37c2afd3ca71","symbol":"USDC","maxAmount":99.99}],"transactionId":"TransactionId","transferType":"withdrawal","isInclusiveFeeEnabled":false,"generatePayLink":false},"disableApiKeyGeneration":false}
                }
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/GetLinkTokenRequest"
                  }
                ]
              },
              "examples": {
                "Deposit": {
                  "value": {"userId":"UserId","configurationId":"18a20b11-e47f-43b9-8546-94284e9ee547","restrictMultipleAccounts":true,"transferOptions":{"toAddresses":[{"networkId":"e3c7fdd8-b1fc-4e51-85ae-bb276e075611","symbol":"ETH","address":"0x00000000000000000000000"},{"networkId":"e3c7fdd8-b1fc-4e51-85ae-bb276e075611","symbol":"USDC","address":"0x00000000000000000000000"},{"networkId":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12","symbol":"MATIC","address":"0x00000000000000000000000"},{"networkId":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12","symbol":"USDC","address":"0x00000000000000000000000"}],"amountInFiat":10,"isInclusiveFeeEnabled":false,"generatePayLink":false},"disableApiKeyGeneration":false}
                },
                "Withdrawal": {
                  "value": {"userId":"UserId","restrictMultipleAccounts":false,"transferOptions":{"fromPairs":[{"networkId":"0291810a-5947-424d-9a59-e88bb33e999d","symbol":"USDC","maxAmount":99.99},{"networkId":"e3c7fdd8-b1fc-4e51-85ae-bb276e075611","symbol":"USDC","maxAmount":99.99},{"networkId":"aa883b03-120d-477c-a588-37c2afd3ca71","symbol":"USDC","maxAmount":99.99}],"transactionId":"TransactionId","transferType":"withdrawal","isInclusiveFeeEnabled":false,"generatePayLink":false},"disableApiKeyGeneration":false}
                }
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/GetLinkTokenRequest"
                  }
                ]
              },
              "examples": {
                "Deposit": {
                  "value": {"userId":"UserId","configurationId":"18a20b11-e47f-43b9-8546-94284e9ee547","restrictMultipleAccounts":true,"transferOptions":{"toAddresses":[{"networkId":"e3c7fdd8-b1fc-4e51-85ae-bb276e075611","symbol":"ETH","address":"0x00000000000000000000000"},{"networkId":"e3c7fdd8-b1fc-4e51-85ae-bb276e075611","symbol":"USDC","address":"0x00000000000000000000000"},{"networkId":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12","symbol":"MATIC","address":"0x00000000000000000000000"},{"networkId":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12","symbol":"USDC","address":"0x00000000000000000000000"}],"amountInFiat":10,"isInclusiveFeeEnabled":false,"generatePayLink":false},"disableApiKeyGeneration":false}
                },
                "Withdrawal": {
                  "value": {"userId":"UserId","restrictMultipleAccounts":false,"transferOptions":{"fromPairs":[{"networkId":"0291810a-5947-424d-9a59-e88bb33e999d","symbol":"USDC","maxAmount":99.99},{"networkId":"e3c7fdd8-b1fc-4e51-85ae-bb276e075611","symbol":"USDC","maxAmount":99.99},{"networkId":"aa883b03-120d-477c-a588-37c2afd3ca71","symbol":"USDC","maxAmount":99.99}],"transactionId":"TransactionId","transferType":"withdrawal","isInclusiveFeeEnabled":false,"generatePayLink":false},"disableApiKeyGeneration":false}
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Link token created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkTokenModelApiResult"
                },
                "example": {"content":{"linkToken":"aHR0cHM6Ly93ZWIubWVzaGNvbm5lY3QuY29tL2IyYi1pZnJhbWUve2NsaWVudElkfS9icm9rZXItY29ubmVjdD9hdXRoX2NvZGU9e2F1dGhDb2RlfQ=="},"status":"ok","message":"","errorHash":"8d443794","teamCode":"P4","errorType":""}
              }
            }
          },
          "404": {
            "description": "API Client not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"notFound","message":"Error message","displayMessage":"Optional display message","errorHash":"7dcbb73d","teamCode":"P4","errorType":"missingField"}
              }
            }
          },
          "400": {
            "description": "BadRequest can happen in following cases:\r\n<list type=\"number\"><item><description>userId parameter not specified</description></item><item><description>Network not supported by the selected DeFi wallet.</description></item></list>",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"badRequest","message":"Error message","displayMessage":"Optional display message","errorHash":"7dcbb73d","teamCode":"P4","errorType":"missingField"}
              }
            }
          },
          "401": {
            "description": "Unauthorized: Client ID or Client Secret are not correct or missing.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/token/refresh": {
      "post": {
        "tags": [
          "Managed Account Authentication"
        ],
        "summary": "Refresh auth token",
        "description": "Refresh auth token of the connected institution.\r\nSome institutions do not require tokens to be refreshed.\r\n            \r\nThe following institutions require custom flows:\r\n            \r\nWeBull: AuthToken should be provided along with the RefreshToken\r\n            \r\nVanguard: security settings may activate MFA, requiring user action.\r\nIf MFA is triggered, a second refresh request should be sent.\r\nSecond request should contain MFA code and access token obtained from initial response",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/BrokerRefreshTokenRequest"
                  }
                ]
              },
              "example": {"refreshToken":"Secret refresh token","type":"coinbase"}
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/B2BBrokerRefreshTokenResponseApiResult"
                },
                "example": {"content":{"status":"succeeded","expiresInSeconds":86400,"brokerAccountTokens":[{"accessToken":"New secret token","refreshToken":"New secret refresh token"}]},"status":"ok","message":"","errorHash":"9d3039e8","teamCode":"P4","errorType":""}
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"badRequest","message":"Unauthorized token","displayMessage":"Could not refresh the authentication token. The provided data is not correct","errorHash":"1bc4f94f","teamCode":"P4","errorType":"badRequest"}
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/account": {
      "delete": {
        "tags": [
          "Managed Account Authentication"
        ],
        "summary": "Remove connection",
        "description": "Remove connection to the financial institution and erase all related data completely.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/BrokerBaseRequest"
                  }
                ]
              },
              "example": {"authToken":"Secret authentication token","type":"robinhood"}
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/BrokerBaseRequest"
                  }
                ]
              },
              "example": {"authToken":"Secret authentication token","type":"robinhood"}
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/BrokerBaseRequest"
                  }
                ]
              },
              "example": {"authToken":"Secret authentication token","type":"robinhood"}
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"badRequest","message":"Error message","displayMessage":"Optional display message","errorHash":"7dcbb73d","teamCode":"P4","errorType":"missingField"}
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/status": {
      "get": {
        "tags": [
          "Managed Account Authentication"
        ],
        "summary": "Get integrations health status",
        "description": "Get the list of supported institutions and their health statuses.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/B2BBrokersHealthStatusListApiResult"
                },
                "example": {"content":[{"type":"robinhood","name":"Robinhood","isUp":true,"supportedProducts":["balance","holdings","identity","orders","transfers"]},{"type":"celsius","name":"Celsius","isUp":false,"description":"Temporarily disabled","downTimeStart":1655891444,"supportedProducts":["balance","orders","transfers","holdings"]},{"type":"deFiWallet","name":"MetaMask","isUp":false,"supportedProducts":["transfers","holdings"],"deFiWalletData":{"id":"34aeb688-decb-485f-9d80-b66466783394","name":"MetaMask"}}],"status":"ok","message":"","errorHash":"f585284a","teamCode":"P4","errorType":""}
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/api/v1/integrations": {
      "get": {
        "tags": [
          "Managed Account Authentication"
        ],
        "summary": "Get available integrations",
        "description": "Returns a list of integrations with details including the integration ID, name, type,\r\nDeFi wallet provider ID, and categories.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationsResponseApiResult"
                },
                "example": {"content":{"items":[{"id":"47624467-e52e-4938-a41a-7926b6c27acf","name":"Coinbase","type":"coinbase","style":{"fieldActiveLight":"0052FF","buttonPrimaryLight":"0052FF","buttonHoverLight":"014CEC","buttonTextLight":"FFFFFF","buttonTextHoverLight":"FFFFFF","fieldActiveDark":"578BFA","buttonPrimaryDark":"578BFA","buttonHoverDark":"507FE5","buttonTextDark":"0A0B0D","buttonTextHoverDark":"0A0B0D"},"logo":{"logoLightUrl":"https://file-cdn.meshconnect.com/public/logos/Coinbase_Logo_Light.svg","logoDarkUrl":"https://file-cdn.meshconnect.com/public/logos/Coinbase_Logo_Dark.svg","logoWhiteUrl":"https://file-cdn.meshconnect.com/public/logos/Coinbase_Logo_White.svg","logoBlackUrl":"https://file-cdn.meshconnect.com/public/logos/Coinbase_Logo_Black.svg","logoColorUrl":"https://file-cdn.meshconnect.com/public/logos/Coinbase_Logo_Color.svg","iconLightUrl":"https://file-cdn.meshconnect.com/public/logos/Coinbase_Icon_Light.svg","iconDarkUrl":"https://file-cdn.meshconnect.com/public/logos/Coinbase_Icon_Dark.svg","iconWhiteUrl":"https://file-cdn.meshconnect.com/public/logos/Coinbase_Icon_White.svg","iconBlackUrl":"https://file-cdn.meshconnect.com/public/logos/Coinbase_Icon_Black.svg","iconColorUrl":"https://file-cdn.meshconnect.com/public/logos/Coinbase_Icon_Color.svg","base64Logo":"iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAA1VBMVEUAAAAAgP8AVf8AM/8AVdUAROgAQ+kAROkAROkAQ+oAQuoAROoAQ+gAROkAQ+kAQ+kAROkAQ+kAQ+kAROkAQugAQ+kAQ+kAROkAQ+kAQ+kAQ+kAQ+kAQ+kXVesOTuoAQ+kBROkERukFR+kNTeoOTeoUUusZVeshW+wpYe0qYu0uZe0yaO00ae05be5fifFgivGMqvWSr/amvfeqwPi7zfnE0/rO2/vU3/vY4vzc5fze5/zh6fzi6vzl7P3m7f3p7/3u8v7x9f73+f75+/76+//+/v////94Z10/AAAAH3RSTlMAAgMFBk9QUlNUVVZXiImKi4ykptfY2dvc3fHz9Pr8ZrpFhQAAAAFiS0dERhe6+e0AAADPSURBVBgZncHXVsJAFAXQExM6UhJCwEGPYsfesKCiAvf/P8m5swIhPLI3thbUo3gwiKNagJxyn6leCZmdNte0PCy1mdNAqswNRThBn+r0/n3+/XRAKwmg6lTnnyI/s2c6VaiI6kVerzg8phNCdWmNZHHBlRjK0LqVCTMGytC6kwkze1BdWteyGHElhopoHY7l7YZHJ3RCqBrV5VTk9288pKpABT2qs4eP2dfjPq3Eh1PihgJSLebsYslrck3DQ6aYMJUUkONXw44xnbDiY1v/vNIqVzlyMewAAAAASUVORK5CYII="},"cryptoTransfersSupported":true,"brokerGroup":"coinbase"},{"id":"3d8f5c31-9fc0-4b61-bdfb-00fb18cbb9ad","name":"CoinCircle","type":"deFiWallet","deFiWalletProviderId":"36d8d9c0c7fe2957149ce8e878f3a01...","categories":["deFiWallet"],"style":{"fieldActiveLight":"0052FF","buttonPrimaryLight":"0052FF","buttonHoverLight":"014CEC","buttonTextLight":"FFFFFF","buttonTextHoverLight":"FFFFFF","fieldActiveDark":"578BFA","buttonPrimaryDark":"578BFA","buttonHoverDark":"507FE5","buttonTextDark":"0A0B0D","buttonTextHoverDark":"0A0B0D"},"logo":{"logoColorUrl":"https://file-cdn.meshconnect.com/public/logos/CoinCircle_Logo_Color.svg","iconColorUrl":"https://file-cdn.meshconnect.com/public/logos/CoinCircle_Icon_Color.svg"},"cryptoTransfersSupported":true,"brokerGroup":"none"}]},"status":"ok","message":"","errorHash":"d48f676e","teamCode":"P4","errorType":""}
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/api/v1/transfers/managed/networks": {
      "get": {
        "tags": [
          "Managed Transfers"
        ],
        "summary": "Get networks",
        "description": "**Get supported networks list.**\r\n\n\r\n---\r\nGet the list of all networks supported by Mesh to perform transfers, including which tokens and integrations are supported.\r\n\n\n\r\nThe response always includes validation data:\r\n- `addressPattern`: The regex pattern for validating addresses on this network\r\n- `contractAddress`: For each token, the contract address (if applicable) to enable ERC20 contract address validation\r\n- `requiresAddressTag`: Whether a deposit to this network must carry a destination tag/memo (`addressTag`),\r\ne.g. XRP Ledger, Stellar or Cosmos-family networks. Funds sent without the tag may be lost. Just-in-Time (JIT)\r\naddress providers must return `addressTag` for these networks, or Mesh rejects the address.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NetworkModelResponseApiResult"
                },
                "example": {"content":{"networks":[{"networkType":"evm","tokens":[{"symbol":"ETH","logoUrl":"https://file-cdn.meshconnect.com/public/logos/tokens/ETH.svg"},{"symbol":"USDC","logoUrl":"https://file-cdn.meshconnect.com/public/logos/tokens/USDC.svg","contractAddress":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"},{"symbol":"USDT","logoUrl":"https://file-cdn.meshconnect.com/public/logos/tokens/USDT.svg","contractAddress":"0xdAC17F958D2ee523a2206206994597C13D831ec7"}],"supportedBrokerTypes":["deFiWallet","robinhood","coinbase","kraken","binanceInternational","binanceUs"],"addressPattern":"^0x[a-fA-F0-9]{40}$","requiresAddressTag":false,"supportedTokens":["ETH","USDC","USDT"],"nativeSymbol":"ETH","id":"e3c7fdd8-b1fc-4e51-85ae-bb276e075611","name":"Ethereum","chainId":"1","logoUrl":"https://file-cdn.meshconnect.com/public/logos/networks/Ethereum.svg"},{"networkType":"stellar","tokens":[{"symbol":"XLM","logoUrl":"https://file-cdn.meshconnect.com/public/logos/tokens/XLM.svg"}],"supportedBrokerTypes":["coinbase","kraken","binanceInternational"],"addressPattern":"^G[a-zA-Z0-9]{55}$","requiresAddressTag":true,"supportedTokens":["XLM"],"nativeSymbol":"XLM","id":"06855704-43d2-4ad2-a73c-372f0c3534e1","name":"Stellar","logoUrl":"https://file-cdn.meshconnect.com/public/logos/networks/Stellar.svg"}]},"status":"ok","message":"","errorHash":"3904604d","teamCode":"P4","errorType":""}
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/transfers/managed/integrations": {
      "get": {
        "tags": [
          "Managed Transfers"
        ],
        "summary": "Get integrations",
        "description": "**Get supported integrations list.**\r\n\n\r\n---\r\nGet the list of all integrations supported by Mesh to perform transfers, including which tokens and networks are supported.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationNetworkResponseApiResult"
                },
                "example": {"content":{"integrations":[{"id":"00000000-0000-0000-0000-000000000000","type":"robinhood","networks":[{"supportedDevices":["android","ios","web"],"supportedTokens":["USDC","ETH"],"nativeSymbol":"ETH","id":"e3c7fdd8-b1fc-4e51-85ae-bb276e075611","name":"Ethereum","chainId":"1","logoUrl":"https://file-cdn.meshconnect.com/public/logos/networks/Ethereum.svg"},{"supportedDevices":["web"],"supportedTokens":["MATIC","ETH"],"nativeSymbol":"MATIC","id":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12","name":"Polygon","chainId":"137","logoUrl":"https://file-cdn.meshconnect.com/public/logos/networks/Polygon.svg"}],"supportsOutgoingTransfers":true,"supportsIncomingTransfers":true}]},"status":"ok","message":"","errorHash":"844500ab","teamCode":"P4","errorType":""}
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/transfers/managed/tokens": {
      "get": {
        "tags": [
          "Managed Transfers"
        ],
        "summary": "Get supported tokens",
        "description": "Get the list of all tokens supported by Mesh to perform transfers, including which networks and integrations are supported.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenNetworksResponseApiResult"
                },
                "example": {"content":{"tokens":[{"token":"ADA","networks":[{"isTracked":false,"id":"f7a660cd-bac0-4ae8-8ddb-c54d321b55dc","name":"Cardano","logoUrl":"https://file-cdn.meshconnect.com/public/logos/networks/Cardano.svg"}],"supportedIntegrations":["gemini","binanceInternational"]}]},"status":"ok","message":"","errorHash":"35664305","teamCode":"P4","errorType":""}
              }
            }
          }
        }
      }
    },
    "/api/v1/transfers/managed/verify": {
      "get": {
        "tags": [
          "Managed Transfers"
        ],
        "summary": "Verify the transfer request without authenticating the integration accounts",
        "description": "Checks if the combination of integration ID, network ID, token is correct for transfer.\r\nChecks if the target address is in the correct format.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TransferVerificationRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransferVerificationResponseApiResult"
                },
                "example": {"content":{"status":"succeeded","errorMessage":"transfer request verification is successful"},"status":"ok","message":"","errorHash":"5e4958bf","teamCode":"P4","errorType":""}
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"badRequest","message":"Error message","displayMessage":"Optional display message","errorHash":"7dcbb73d","teamCode":"P4","errorType":"missingField"}
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/transfers/managed/configure": {
      "post": {
        "tags": [
          "Managed Transfers"
        ],
        "summary": "Configure transfer",
        "description": "**Get the list of networks and tokens eligible for a transfer, based on the provided request data.**\r\n\n\r\n---\r\nThe API client provides `FromAuthToken` that represents the source account and the list of target addresses\r\nusing the `ToAddresses` field. Front API verifies the addresses and returns the list of tokens eligible\r\nto be transferred as the result of the operation.\r\n\n\n\r\nReturns the list of holdings on the account that can be used to perform the transfer. Each holdings item\r\ncontains the list of supported networks that can be used to transfer the corresponding asset.\r\nEach network contains details such as gas fees and the amount eligible to be transferred.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ConfigureTransferRequest"
                  }
                ]
              },
              "examples": {
                "Configure with provided list of addresses": {
                  "value": {"isInclusiveFeeEnabled":false,"fromAuthToken":"Secret authentication token","fromType":"robinhood","toAddresses":[{"networkId":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12","symbol":"USDT","address":"0x9Bf6207f8A3f4278E0C989527015deFe10e5D7c6"},{"networkId":"0291810a-5947-424d-9a59-e88bb33e999d","symbol":"USDT","address":"HN7cABqLq46Es1jh92dQQisAq662SmxELLLsHHe4YWrH"},{"networkId":"0880db06-7c7c-4738-898f-cf74efc03c47","symbol":"BTC","address":"3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5"}]}
                },
                "Configure with provided list of addresses, symbol and amount": {
                  "value": {"isInclusiveFeeEnabled":false,"fromAuthToken":"Secret authentication token","fromType":"robinhood","toAddresses":[{"networkId":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12","symbol":"USDT","address":"0x9Bf6207f8A3f4278E0C989527015deFe10e5D7c6"},{"networkId":"0291810a-5947-424d-9a59-e88bb33e999d","symbol":"USDT","address":"HN7cABqLq46Es1jh92dQQisAq662SmxELLLsHHe4YWrH"},{"networkId":"0880db06-7c7c-4738-898f-cf74efc03c47","symbol":"BTC","address":"3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5"}],"symbol":"USDT","amount":130,"fiatCurrency":"USD"}
                },
                "Configure with provided list of addresses, symbol, amount in fiat and preferred network": {
                  "value": {"isInclusiveFeeEnabled":false,"fromAuthToken":"Secret authentication token","fromType":"robinhood","toAddresses":[{"networkId":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12","symbol":"USDT","address":"0x9Bf6207f8A3f4278E0C989527015deFe10e5D7c6"},{"networkId":"0291810a-5947-424d-9a59-e88bb33e999d","symbol":"USDT","address":"HN7cABqLq46Es1jh92dQQisAq662SmxELLLsHHe4YWrH"},{"networkId":"0880db06-7c7c-4738-898f-cf74efc03c47","symbol":"BTC","address":"3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5"}],"symbol":"USDT","amountInFiat":130,"fiatCurrency":"USD","networkId":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12"}
                }
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ConfigureTransferRequest"
                  }
                ]
              },
              "examples": {
                "Configure with provided list of addresses": {
                  "value": {"isInclusiveFeeEnabled":false,"fromAuthToken":"Secret authentication token","fromType":"robinhood","toAddresses":[{"networkId":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12","symbol":"USDT","address":"0x9Bf6207f8A3f4278E0C989527015deFe10e5D7c6"},{"networkId":"0291810a-5947-424d-9a59-e88bb33e999d","symbol":"USDT","address":"HN7cABqLq46Es1jh92dQQisAq662SmxELLLsHHe4YWrH"},{"networkId":"0880db06-7c7c-4738-898f-cf74efc03c47","symbol":"BTC","address":"3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5"}]}
                },
                "Configure with provided list of addresses, symbol and amount": {
                  "value": {"isInclusiveFeeEnabled":false,"fromAuthToken":"Secret authentication token","fromType":"robinhood","toAddresses":[{"networkId":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12","symbol":"USDT","address":"0x9Bf6207f8A3f4278E0C989527015deFe10e5D7c6"},{"networkId":"0291810a-5947-424d-9a59-e88bb33e999d","symbol":"USDT","address":"HN7cABqLq46Es1jh92dQQisAq662SmxELLLsHHe4YWrH"},{"networkId":"0880db06-7c7c-4738-898f-cf74efc03c47","symbol":"BTC","address":"3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5"}],"symbol":"USDT","amount":130,"fiatCurrency":"USD"}
                },
                "Configure with provided list of addresses, symbol, amount in fiat and preferred network": {
                  "value": {"isInclusiveFeeEnabled":false,"fromAuthToken":"Secret authentication token","fromType":"robinhood","toAddresses":[{"networkId":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12","symbol":"USDT","address":"0x9Bf6207f8A3f4278E0C989527015deFe10e5D7c6"},{"networkId":"0291810a-5947-424d-9a59-e88bb33e999d","symbol":"USDT","address":"HN7cABqLq46Es1jh92dQQisAq662SmxELLLsHHe4YWrH"},{"networkId":"0880db06-7c7c-4738-898f-cf74efc03c47","symbol":"BTC","address":"3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5"}],"symbol":"USDT","amountInFiat":130,"fiatCurrency":"USD","networkId":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12"}
                }
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ConfigureTransferRequest"
                  }
                ]
              },
              "examples": {
                "Configure with provided list of addresses": {
                  "value": {"isInclusiveFeeEnabled":false,"fromAuthToken":"Secret authentication token","fromType":"robinhood","toAddresses":[{"networkId":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12","symbol":"USDT","address":"0x9Bf6207f8A3f4278E0C989527015deFe10e5D7c6"},{"networkId":"0291810a-5947-424d-9a59-e88bb33e999d","symbol":"USDT","address":"HN7cABqLq46Es1jh92dQQisAq662SmxELLLsHHe4YWrH"},{"networkId":"0880db06-7c7c-4738-898f-cf74efc03c47","symbol":"BTC","address":"3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5"}]}
                },
                "Configure with provided list of addresses, symbol and amount": {
                  "value": {"isInclusiveFeeEnabled":false,"fromAuthToken":"Secret authentication token","fromType":"robinhood","toAddresses":[{"networkId":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12","symbol":"USDT","address":"0x9Bf6207f8A3f4278E0C989527015deFe10e5D7c6"},{"networkId":"0291810a-5947-424d-9a59-e88bb33e999d","symbol":"USDT","address":"HN7cABqLq46Es1jh92dQQisAq662SmxELLLsHHe4YWrH"},{"networkId":"0880db06-7c7c-4738-898f-cf74efc03c47","symbol":"BTC","address":"3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5"}],"symbol":"USDT","amount":130,"fiatCurrency":"USD"}
                },
                "Configure with provided list of addresses, symbol, amount in fiat and preferred network": {
                  "value": {"isInclusiveFeeEnabled":false,"fromAuthToken":"Secret authentication token","fromType":"robinhood","toAddresses":[{"networkId":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12","symbol":"USDT","address":"0x9Bf6207f8A3f4278E0C989527015deFe10e5D7c6"},{"networkId":"0291810a-5947-424d-9a59-e88bb33e999d","symbol":"USDT","address":"HN7cABqLq46Es1jh92dQQisAq662SmxELLLsHHe4YWrH"},{"networkId":"0880db06-7c7c-4738-898f-cf74efc03c47","symbol":"BTC","address":"3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5"}],"symbol":"USDT","amountInFiat":130,"fiatCurrency":"USD","networkId":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12"}
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfigureTransferResponseApiResult"
                },
                "examples": {
                  "Successful transfer configuration": {
                    "value": {"content":{"status":"succeeded","holdings":[{"symbol":"USDC","availableBalance":130,"availableBalanceInFiat":0,"price":0,"eligibleForTransfer":true,"networks":[{"name":"Ethereum","id":"e3c7fdd8-b1fc-4e51-85ae-bb276e075611","minimumAmount":1,"totalEstimatedTransferFeeInFiat":1.8,"isMaximumAmountEstimated":false,"estimatedNetworkGasFee":{"fee":0.000850608941007,"feeCurrency":"ETH","feeInFiat":1.8,"feeInTransferCurrency":0},"institutionTransferFee":{"fee":0,"feeCurrency":"ETH","feeInFiat":0,"feeInTransferCurrency":0},"eligibleForTransfer":true,"eligibleForTransferWithFunding":false,"isBridgingAsset":false},{"name":"Solana","id":"0291810a-5947-424d-9a59-e88bb33e999d","minimumAmount":1,"totalEstimatedTransferFeeInFiat":0.1,"isMaximumAmountEstimated":false,"estimatedNetworkGasFee":{"fee":0.00025,"feeCurrency":"SOL","feeInFiat":0.1,"feeInTransferCurrency":0},"institutionTransferFee":{"fee":0,"feeCurrency":"SOL","feeInFiat":0,"feeInTransferCurrency":0},"eligibleForTransfer":true,"eligibleForTransferWithFunding":false,"isBridgingAsset":false}],"eligibleForTransferWithFunding":false}]},"status":"ok","message":"","errorHash":"e2c2ef28","teamCode":"P4","errorType":""}
                  },
                  "Transfer configuration with failed validation": {
                    "value": {"status":"badRequest","message":"`ToAddresses` must be provided.","errorHash":"23726ceb","teamCode":"P4","errorType":"invalidField"}
                  },
                  "Transfer configuration with no eligible tokens to transfer": {
                    "value": {"content":{"status":"succeeded","holdings":[{"symbol":"USDC","availableBalance":1,"availableBalanceInFiat":0,"price":0,"eligibleForTransfer":false,"eligibleForTransferWithFunding":false},{"symbol":"ETH","availableBalance":0.00001,"availableBalanceInFiat":0,"price":0,"eligibleForTransfer":false,"eligibleForTransferWithFunding":false}]},"status":"ok","message":"","errorHash":"5c1d8a6d","teamCode":"P4","errorType":""}
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"badRequest","message":"Error message","displayMessage":"Optional display message","errorHash":"7dcbb73d","teamCode":"P4","errorType":"missingField"}
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "The API key used does not have write permission to call this Mesh endpoint.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/transfers/managed/preview": {
      "post": {
        "tags": [
          "Managed Transfers"
        ],
        "summary": "Preview transfer",
        "description": "**Validate and preview the transfer.**\r\n\n\r\n---\r\nValidates the transfer, calculates the relevant amount in crypto if requested amount was in fiat and updates\r\nthe current network fee values.\r\n\n\r\nThis endpoint uses the `NetworkId` field to specify which network will be used to perform the transfer. The target `NetworkId`\r\nshould be selected after configuring the transfer using `/configure` endpoint.\r\n\n\n\r\nReturns the `PreviewId` value that can be used to commit the transfer.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PreviewTransferRequest"
                  }
                ]
              },
              "examples": {
                "Preview with provided address": {
                  "value": {"fromAuthToken":"Secret authentication token","fromType":"robinhood","networkId":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12","symbol":"USDT","toAddress":"0x9Bf6207f8A3f4278E0C989527015deFe10e5D7c6","amount":10}
                },
                "Preview with provided address, using fiat amount": {
                  "value": {"fromAuthToken":"Secret authentication token","fromType":"robinhood","networkId":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12","symbol":"USDT","toAddress":"0x9Bf6207f8A3f4278E0C989527015deFe10e5D7c6","amountInFiat":10}
                }
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PreviewTransferRequest"
                  }
                ]
              },
              "examples": {
                "Preview with provided address": {
                  "value": {"fromAuthToken":"Secret authentication token","fromType":"robinhood","networkId":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12","symbol":"USDT","toAddress":"0x9Bf6207f8A3f4278E0C989527015deFe10e5D7c6","amount":10}
                },
                "Preview with provided address, using fiat amount": {
                  "value": {"fromAuthToken":"Secret authentication token","fromType":"robinhood","networkId":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12","symbol":"USDT","toAddress":"0x9Bf6207f8A3f4278E0C989527015deFe10e5D7c6","amountInFiat":10}
                }
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PreviewTransferRequest"
                  }
                ]
              },
              "examples": {
                "Preview with provided address": {
                  "value": {"fromAuthToken":"Secret authentication token","fromType":"robinhood","networkId":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12","symbol":"USDT","toAddress":"0x9Bf6207f8A3f4278E0C989527015deFe10e5D7c6","amount":10}
                },
                "Preview with provided address, using fiat amount": {
                  "value": {"fromAuthToken":"Secret authentication token","fromType":"robinhood","networkId":"7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12","symbol":"USDT","toAddress":"0x9Bf6207f8A3f4278E0C989527015deFe10e5D7c6","amountInFiat":10}
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PreviewTransferResponseApiResult"
                },
                "examples": {
                  "Successful transfer preview": {
                    "value": {"content":{"status":"succeeded","previewResult":{"previewId":"29b185b1-2305-40fb-a0e2-929d61451568","previewExpiresIn":300,"fromAddress":"0x9Bf6207f8A3f4278E0C989527015deFe10e5D7c6","toAddress":"0x326a8825472bb0f4719998e708a1eeeb4473ed1b","symbol":"USDT","amount":10,"amountInFiat":10,"amountInUsd":10,"totalEstimatedAmount":11.21,"totalEstimatedAmountInFiat":11.21,"totalEstimatedAmountInUsd":11.21,"networkId":"e3c7fdd8-b1fc-4e51-85ae-bb276e075611","institutionTransferFee":{"fee":0,"feeCurrency":"USDT","feeInFiat":0,"feeInTransferCurrency":0},"estimatedNetworkGasFee":{"fee":1.1,"feeCurrency":"USDT","feeInFiat":1.1,"feeInTransferCurrency":0},"unitPrice":0,"customClientFee":{"fee":0.011,"feeCurrency":"USDT","feeInFiat":0.011,"feeInTransferCurrency":0},"transferType":"deposit","isCustomClientFeeProvided":false,"amountWithCustomClientFee":"0","isFeeIncluded":false,"amountToReceive":0,"amountToReceiveInFiat":0,"transferAmountToRequest":0,"isMaximumAmount":false,"isBridging":false,"totalEstimatedAmountPlusConversionFeesInFiat":0,"brokerType":"robinhood"}},"status":"ok","message":"","errorHash":"69ede01c","teamCode":"P4","errorType":""}
                  },
                  "Failed transfer preview": {
                    "value": {"status":"badRequest","message":"The\u00A0specified amount is greater than the maximum amount allowed.","displayMessage":"The\u00A0specified amount is greater than the maximum amount allowed.","errorHash":"e804cd61","teamCode":"P4","errorType":"invalidField"}
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"badRequest","message":"Error message","displayMessage":"Optional display message","errorHash":"7dcbb73d","teamCode":"P4","errorType":"missingField"}
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "The API key used does not have write permission to call this Mesh endpoint.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/transfers/managed/execute": {
      "post": {
        "tags": [
          "Managed Transfers"
        ],
        "summary": "Execute transfer",
        "description": "**Commit the previously previewed transfer.**\r\n\n\r\n---\r\nPreviews the transfer, using the `PreviewId` value.\r\n\n\r\nHandles multi-factor authentication codes if the account is configured to use them for additional security.\r\n\n\n\r\nReturns the status of the transfer and the details of the transfer if it was initiated successfully.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ExecuteTransferRequest"
                  }
                ]
              },
              "examples": {
                "Execute transfer": {
                  "value": {"fromAuthToken":"Secret authentication token","fromType":"robinhood","previewId":"29b185b1-2305-40fb-a0e2-929d61451568","tryAnotherMfa":false}
                },
                "Execute transfer providing the MFA code": {
                  "value": {"fromAuthToken":"Secret authentication token","fromType":"robinhood","previewId":"29b185b1-2305-40fb-a0e2-929d61451568","mfaCode":"112457","tryAnotherMfa":false}
                }
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ExecuteTransferRequest"
                  }
                ]
              },
              "examples": {
                "Execute transfer": {
                  "value": {"fromAuthToken":"Secret authentication token","fromType":"robinhood","previewId":"29b185b1-2305-40fb-a0e2-929d61451568","tryAnotherMfa":false}
                },
                "Execute transfer providing the MFA code": {
                  "value": {"fromAuthToken":"Secret authentication token","fromType":"robinhood","previewId":"29b185b1-2305-40fb-a0e2-929d61451568","mfaCode":"112457","tryAnotherMfa":false}
                }
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ExecuteTransferRequest"
                  }
                ]
              },
              "examples": {
                "Execute transfer": {
                  "value": {"fromAuthToken":"Secret authentication token","fromType":"robinhood","previewId":"29b185b1-2305-40fb-a0e2-929d61451568","tryAnotherMfa":false}
                },
                "Execute transfer providing the MFA code": {
                  "value": {"fromAuthToken":"Secret authentication token","fromType":"robinhood","previewId":"29b185b1-2305-40fb-a0e2-929d61451568","mfaCode":"112457","tryAnotherMfa":false}
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExecuteTransferResponseApiResult"
                },
                "examples": {
                  "Successful transfer preview": {
                    "value": {"content":{"status":"succeeded","executeTransferResult":{"transferId":"e332336c-de22-11ed-b5ea-0242ac120002","status":"pending","statusDetails":"In progress","fromAddress":"0x9Bf6207f8A3f4278E0C989527015deFe10e5D7c6","toAddress":"0x326a8825472bb0f4719998e708a1eeeb4473ed1b","symbol":"USDT","networkName":"Ethereum","networkId":"e3c7fdd8-b1fc-4e51-85ae-bb276e075611","hash":"0xdcfd72635a9b16d3bc0e75311f6fe0612970e9714a1e9e93de0ea5acffc6a454","amount":10,"amountInFiat":10,"totalAmountInFiat":11.1,"completedConfirmations":1,"institutionTransferFee":{"fee":0,"feeCurrency":"USDT","feeInFiat":0,"feeInTransferCurrency":0},"networkGasFee":{"fee":1.1,"feeCurrency":"USDT","feeInFiat":1.1,"feeInTransferCurrency":0}},"fallbackMfaAvailable":false},"status":"ok","message":"","errorHash":"a544e6d1","teamCode":"P4","errorType":""}
                  },
                  "Transfer preview when MFA is required": {
                    "value": {"content":{"status":"mfaRequired","fallbackMfaAvailable":false},"status":"ok","message":"","errorHash":"cc9d92d0","teamCode":"P4","errorType":""}
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"badRequest","message":"Error message","displayMessage":"Optional display message","errorHash":"7dcbb73d","teamCode":"P4","errorType":"missingField"}
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "The API key used does not have write permission to call this Mesh endpoint.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/transfers/managed/address/get": {
      "post": {
        "tags": [
          "Managed Transfers"
        ],
        "summary": "Get deposit address",
        "description": "Get or generate a cryptocurrency deposit address that can be used to transfer assets to the financial institution",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ManagedBrokerCryptocurrencyDepositAddressRequest"
                  }
                ]
              },
              "example": {"symbol":"DOGE","networkId":"34b66a94-f9f9-49ef-81e8-6ebd5a866f9d","authToken":"Secret authentication token","type":"binanceInternational"}
            }
          }
        },
        "responses": {
          "200": {
            "description": "Address successfully obtained or generation initiated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/B2BBrokerCryptocurrencyDepositAddressResponseApiResult"
                },
                "example": {"content":{"symbol":"DOGE","address":"D641Fmzx...","chain":"DOGE"},"status":"ok","message":"","errorHash":"010074a1","teamCode":"P4","errorType":""}
              }
            }
          },
          "400": {
            "description": "Request details are not correct.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"badRequest","message":"Error message","displayMessage":"Optional display message","errorHash":"7dcbb73d","teamCode":"P4","errorType":"missingField"}
              }
            }
          },
          "404": {
            "description": "Address for the required symbol is not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"notFound","message":"Error message","displayMessage":"Optional display message","errorHash":"7dcbb73d","teamCode":"P4","errorType":"missingField"}
              }
            }
          },
          "401": {
            "description": "Unauthorized: Client Id or Client Secret are not correct or missing.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/api/v1/transfers/managed/address/list": {
      "post": {
        "tags": [
          "Managed Transfers"
        ],
        "summary": "Get deposit addresses",
        "description": "Get or generate a cryptocurrency deposit address that can be used to transfer assets to the financial institution",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ManagedBrokerCryptocurrencyDepositAddressListRequest"
                  }
                ]
              },
              "example": {"symbol":"DOGE","networks":[{"networkId":"34b66a94-f9f9-49ef-81e8-6ebd5a866f9d"}],"authToken":"Secret authentication token","type":"binanceInternational"}
            }
          }
        },
        "responses": {
          "200": {
            "description": "Addresses successfully obtained or generation initiated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/B2BBrokerCryptocurrencyDepositAddressListResponseApiResult"
                },
                "example": {"content":{"addresses":[{"address":"D641Fmzx...","symbol":"DOGE","networkName":"DOGE"}]},"status":"ok","message":"","errorHash":"ca2da66f","teamCode":"P4","errorType":""}
              }
            }
          },
          "400": {
            "description": "Request details are not correct.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"badRequest","message":"Error message","displayMessage":"Optional display message","errorHash":"7dcbb73d","teamCode":"P4","errorType":"missingField"}
              }
            }
          },
          "404": {
            "description": "Address for the required symbol is not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"notFound","message":"Error message","displayMessage":"Optional display message","errorHash":"7dcbb73d","teamCode":"P4","errorType":"missingField"}
              }
            }
          },
          "401": {
            "description": "Unauthorized: Client Id or Client Secret are not correct or missing.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/transfers/managed/quote": {
      "post": {
        "tags": [
          "Managed Transfers"
        ],
        "summary": "Get quote",
        "description": "Get a quote for transferring a fiat amount from a brokerage account in a given cryptocurrency over a specified network.\r\nReturns min and max fees and amounts to account for different funding sources (existing crypto balance, cash balance or\r\nACH/debit deposit). Currently only supported for Coinbase.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/QuoteTransferRequest"
                  }
                ]
              },
              "examples": {
                "Quote transfer with no partner fee": {
                  "value": {"amountInFiat":10,"fiatCurrency":"USD","symbol":"ETH","networkId":"e3c7fdd8-b1fc-4e51-85ae-bb276e075611","toAddress":"0xc096a91fDFB100ECED14e4810FA06061C0b3058B","brokerType":"coinbase"}
                },
                "Quote transfer with flat partner fee": {
                  "value": {"amountInFiat":10,"fiatCurrency":"USD","symbol":"ETH","networkId":"e3c7fdd8-b1fc-4e51-85ae-bb276e075611","toAddress":"0xc096a91fDFB100ECED14e4810FA06061C0b3058B","brokerType":"coinbase","feeFlat":0.0004}
                },
                "Quote transfer with percentage partner fee": {
                  "value": {"amountInFiat":10,"fiatCurrency":"USD","symbol":"ETH","networkId":"e3c7fdd8-b1fc-4e51-85ae-bb276e075611","toAddress":"0xc096a91fDFB100ECED14e4810FA06061C0b3058B","brokerType":"coinbase","feePercentage":1}
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Quote obtained.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuoteTransferResponseApiResult"
                },
                "examples": {
                  "Successful transfer quote": {
                    "value": {"content":{"amountInFiat":100,"fiatCurrency":"USD","symbol":"ETH","networkId":"e3c7fdd8-b1fc-4e51-85ae-bb276e075611","toAddress":"0xc096a91fDFB100ECED14e4810FA06061C0b3058B","brokerType":"coinbase","isEligible":true,"minEligibleAmount":0.0001,"minEligibleAmountFiat":0,"brokerPrice":2247.5,"price":2246.9,"minAmountFiat":97.08,"maxAmountFiat":97.88,"minAmount":0.0432080770227800702300947973,"maxAmount":0.0435641231307510524722951622,"fees":{"inFiat":{"paymentMethodFeeMaxFiat":0,"tradingFeeMaxFiat":0.80,"withdrawalFeeFiat":0,"partnerFeeFiat":1.00,"networkFeeFiat":1.12,"minFeesFiat":2.12,"maxFeesFiat":2.92},"inCrypto":{"paymentMethodFeeMax":0,"tradingFeeMax":0.0003560461079709822422003649,"withdrawalFee":0,"partnerFee":0.0004450576349637278027504562,"networkFee":0.000496582730658000,"minFees":0.0009416403656217278027504562,"maxFees":0.0012976864735927100449508211}},"fundingOptions":[{"fundingOption":"existingCryptocurrencyBalance","paymentMethodFeeFiat":0,"tradingFeeFiat":0},{"fundingOption":"buyingPowerPurchase","paymentMethodFeeFiat":0,"tradingFeeFiat":0.80},{"fundingOption":"paymentMethodDepositUsage","paymentMethodType":"bankAccount","paymentMethodFeeFiat":0,"tradingFeeFiat":0.80}]},"status":"ok","message":"","errorHash":"6aa95595","teamCode":"P4","errorType":""}
                  }
                }
              }
            }
          },
          "400": {
            "description": "Request details are not correct.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"badRequest","message":"Error message","displayMessage":"Optional display message","errorHash":"7dcbb73d","teamCode":"P4","errorType":"missingField"}
              }
            }
          },
          "401": {
            "description": "Unauthorized: Client Id or Client Secret are not correct or missing.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/transfers/managed/mesh": {
      "get": {
        "tags": [
          "Managed Transfers"
        ],
        "summary": "Get Mesh transfers",
        "description": "Get cryptocurrency transfers initiated by Mesh on exchanges or self-custody wallets.",
        "parameters": [
          {
            "name": "Count",
            "in": "query",
            "description": "Number of items to return. Default 10, maximum - 1000.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "description": "Number of items to skip.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Id",
            "in": "query",
            "description": "Mesh transfer identifier.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "ClientTransactionId",
            "in": "query",
            "description": "Client transaction identifier.",
            "schema": {
              "maxLength": 128,
              "minLength": 0,
              "type": "string"
            }
          },
          {
            "name": "UserId",
            "in": "query",
            "description": "Client's user identifier.",
            "schema": {
              "maxLength": 50,
              "minLength": 0,
              "type": "string"
            }
          },
          {
            "name": "IntegrationIds",
            "in": "query",
            "description": "Transfered integration.",
            "schema": {
              "maxItems": 100,
              "type": "array",
              "items": {
                "type": "string",
                "format": "uuid"
              }
            }
          },
          {
            "name": "Statuses",
            "in": "query",
            "description": "Transfer statuses.",
            "schema": {
              "maxItems": 5,
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/TransferStatus"
              }
            }
          },
          {
            "name": "FromTimestamp",
            "in": "query",
            "description": "Transfer created minimum timestamp.",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "ToTimestamp",
            "in": "query",
            "description": "Transfer created maximum timestamp.",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "MinAmountInFiat",
            "in": "query",
            "description": "Minimum amount in fiat.",
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "MaxAmountInFiat",
            "in": "query",
            "description": "Maximum amount in fiat.",
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "OrderBy",
            "in": "query",
            "description": "Order by column.",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/TransferOrderByFields"
                }
              ]
            }
          },
          {
            "name": "Hash",
            "in": "query",
            "description": "Transfer hash.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SubClientId",
            "in": "query",
            "description": "Sub-client identifier.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "DescendingOrder",
            "in": "query",
            "description": "Value indicating if ordering is descending.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "IncludeRefundInformation",
            "in": "query",
            "description": "When true, includes refund information (summary and details) in the response.\r\nThis includes partial refund data with transaction hashes, statuses, and amounts.\r\nDefault is false for backward compatibility.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "IncludeWebhooksLogs",
            "in": "query",
            "description": "When true, includes Transfer Status update webhooks data sent to client.",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Transfers obtained.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransferModelPaginationResponseApiResult"
                },
                "example": {"content":{"items":[{"amountToReceive":0,"networkId":"00000000-0000-0000-0000-000000000000","networkLogoUrl":"https://file-cdn.meshconnect.com/public/logos/networks/Polygon.svg","from":{"logoUrl":"https://logo.com/logo.jpg","id":"8e25acb5-a9e2-4d00-8772-a255f010a2a9","type":"robinhood","name":"Robinhood"},"totalFeesAmountInFiat":0.5,"totalTransactionAmountInFiat":1000.5,"fundingMethods":[{"type":"cryptocurrencyConversion","amount":2,"amountInFiat":20,"toSymbol":"WETH","fromAmount":1,"fromSymbol":"BTC","fee":{"fee":0.0001,"feeCurrency":"ETH","feeInFiat":0.1,"feeInTransferCurrency":0}},{"type":"paymentMethodDepositUsage","amount":3,"amountInFiat":30,"toSymbol":"WETH","fromAmount":1,"fromSymbol":"USD","paymentMethodType":"bankAccount","fee":{"fee":0.0001,"feeCurrency":"USD","feeInFiat":0.1,"feeInTransferCurrency":0}},{"type":"existingCryptocurrencyBalance","amount":5,"amountInFiat":50,"toSymbol":"WETH","fromAmount":5,"fromSymbol":"ETH"}],"webhookLogs":[],"id":"8e25acb5-a9e2-4d00-8772-a255f010a2a9","clientTransactionId":"123456","institutionTransactionId":"456789","status":"succeeded","amountInFiat":1000.3,"amountToReceiveInFiat":0,"amountInFiatCurrencyCode":"USD","amount":10.123,"symbol":"WETH","tokenAddress":"0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619","networkName":"Polygon","createdTimestamp":1653211113,"hash":"0x77f3a280aa5cfe956a5759c24cf774325504070b32b4159...","gasFee":{"fee":0.0001,"feeCurrency":"MATIC","feeInFiat":0.1,"feeInTransferCurrency":0},"withdrawalFee":{"fee":0.0001,"feeCurrency":"WETH","feeInFiat":0.1,"feeInTransferCurrency":0},"processingFee":{"fee":0.0001,"feeCurrency":"WETH","feeInFiat":0.1,"feeInTransferCurrency":0},"executedTimestamp":1707462614,"transferType":"payment","isFeeIncluded":false,"infoUrl":"https://polygonscan.com/tx/0x5b0ac59e43b63f2985d78994b6270d747f1019777201ca18ebb36ad1e1a8693e","isSmartFundingTransfer":false,"unitPrice":0,"requestedTransferAmount":0,"isBridgingTransfer":false,"userId":"123456798","sourceAmount":10.122,"destinationAmount":10},{"amountToReceive":0,"networkId":"00000000-0000-0000-0000-000000000000","from":{"logoUrl":"https://logo.com/logo.jpg","id":"8e25acb5-a9e2-4d00-8772-a255f010a2a9","type":"deFiWallet","name":"MetaMask"},"totalFeesAmountInFiat":0,"totalTransactionAmountInFiat":10.3,"fundingMethods":[],"webhookLogs":[],"id":"12345678-a9e2-4d00-8772-a255f010a2a9","clientTransactionId":"123456","institutionTransactionId":"456789","status":"failed","amountInFiat":10.3,"amountToReceiveInFiat":0,"amountInFiatCurrencyCode":"USD","amount":0.123,"symbol":"WETH","tokenAddress":"0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619","networkName":"Polygon","createdTimestamp":1653211113,"hash":"0x77f3a280aa5cfe956a5759c24cf774325504070b32b4159...","isFeeIncluded":false,"isSmartFundingTransfer":false,"unitPrice":0,"requestedTransferAmount":0,"isBridgingTransfer":false,"userId":"123456798"}],"total":10,"range":{"start":0,"end":-1,"isValid":false,"count":0},"hasMorePages":true},"status":"ok","message":"","errorHash":"bf6d53f3","teamCode":"P4","errorType":""}
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"badRequest","message":"Error message","displayMessage":"Optional display message","errorHash":"7dcbb73d","teamCode":"P4","errorType":"missingField"}
              }
            }
          },
          "401": {
            "description": "Unauthorized: Client Id or Client Secret are not correct or missing.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/transfers/managed/update": {
      "post": {
        "tags": [
          "Managed Transfers"
        ],
        "summary": "Update transfer status",
        "description": "**Updates the previously executed transfer.**\r\n\n\r\n---\r\nUpdates the transfer status, using the `TransactionId` value.\r\nReturns the status of the transfer and the details of the transfer.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateTransferStatusRequest"
                  }
                ]
              },
              "examples": {
                "Update transfer status": {
                  "value": {"transactionId":"29B185B1-2305-40FB-A0E2-929D61451568","authToken":"Secret authentication token","type":"robinhood"}
                }
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateTransferStatusRequest"
                  }
                ]
              },
              "examples": {
                "Update transfer status": {
                  "value": {"transactionId":"29B185B1-2305-40FB-A0E2-929D61451568","authToken":"Secret authentication token","type":"robinhood"}
                }
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateTransferStatusRequest"
                  }
                ]
              },
              "examples": {
                "Update transfer status": {
                  "value": {"transactionId":"29B185B1-2305-40FB-A0E2-929D61451568","authToken":"Secret authentication token","type":"robinhood"}
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateTransferResponseApiResult"
                },
                "examples": {
                  "Successful transfer update": {
                    "value": {"content":{"status":"succeeded","statusDetails":"unknown","transferResult":{"id":"e332336c-de22-11ed-b5ea-0242ac120002","clientTransactionId":"client-transaction-id","status":"succeeded","amountInFiat":10,"amount":10,"symbol":"USDT","networkName":"Ethereum","createdTimestamp":0,"hash":"0xdcfd72635a9b16d3bc0e75311f6fe0612970e9714a1e9e93de0ea5acffc6a454"}},"status":"ok","message":"","errorHash":"be48162d","teamCode":"P4","errorType":""}
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"badRequest","message":"Error message","displayMessage":"Optional display message","errorHash":"7dcbb73d","teamCode":"P4","errorType":"missingField"}
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "The API key used does not have write permission to call this Mesh endpoint.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/transfers/managed/limits": {
      "get": {
        "tags": [
          "Managed Transfers"
        ],
        "summary": "Get transfer limits",
        "description": "Resolves the effective client/sub-client transfer limit before a Link session exists, so an\r\nintegrator can filter payment options on their own checkout before opening the widget.\r\nBoth bounds are inclusive: an amount is transferable when\r\n`minimumTransferAmountInFiat <= amount <= maximumTransferAmountInFiat`.\r\n`minimumTransferAmountInFiat` is omitted when there is no account-level floor.\r\n`maximumTransferAmountInFiat` is always present, and `0` means no amount is\r\ncurrently transferable for this client or sub-client - the cap is unset in configuration and\r\nthe transfer path rejects every amount against it - rather than meaning the cap is unlimited.\r\nThese are the <em>account-level</em> limits only. The amount a specific route will accept is\r\n`Max(account, network, link-token)` for the floor and `Min(...)` for the cap, so a\r\nparticular integration may still reject an amount that falls inside these bounds.\r\nThe result depends only on the client and sub-client, so it is safe to cache per sub-client.",
        "parameters": [
          {
            "name": "SubClientId",
            "in": "query",
            "description": "Sub Client ID, for B2B2B clients to check the limit for a specific sub-client. If omitted,\r\nonly the client-level (or global default) limit is resolved.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransferLimitsResponseApiResult"
                }
              }
            }
          },
          "404": {
            "description": "The supplied subClientId does not belong to this client.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          },
          "401": {
            "description": "No valid X-Client-Id / X-Client-Secret pair was supplied.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "The API key used does not have read permission to call this Mesh endpoint.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/holdings/get": {
      "post": {
        "tags": [
          "Portfolio"
        ],
        "summary": "Get crypto holdings",
        "description": "Obtain assets from the connected investment account. Performs realtime API call to the underlying integration.",
        "requestBody": {
          "description": "Request containing authentication token",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PortfolioHoldingsRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Holdings obtained",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HoldingsModelApiResult"
                },
                "examples": {
                  "Trading platform example": {
                    "value": {"content":{"equityPositions":[{"symbol":"AAPL","amount":3,"costBasis":109},{"symbol":"F","amount":27,"costBasis":7.05791}],"cryptocurrencyPositions":[{"marketValue":75.15,"lastPrice":0.05,"symbol":"DOGE","amount":1503,"costBasis":0.033},{"symbol":"BTC","amount":3.00016720,"costBasis":18000}],"status":"succeeded","errorMessage":"","displayMessage":"","notSupportedEquityPositions":[{"symbol":"CUSIP38259P508","amount":1}],"notSupportedCryptocurrencyPositions":[],"nftPositions":[],"optionPositions":[],"type":"robinhood","accountId":"5FUVPB0","institutionName":"Robinhood","accountName":"Margin account"},"status":"ok","message":"","errorHash":"a394c021","teamCode":"P4","errorType":""}
                  },
                  "Self-custody cryptocurrency wallet example": {
                    "value": {"content":{"equityPositions":[],"cryptocurrencyPositions":[{"marketValue":75.15,"lastPrice":0.05,"symbol":"DOGE","amount":1503,"costBasis":0.033,"distribution":[{"caipNetworkId":"eip155:1","address":"0x1111111111111111111111111111111111111111","amount":1500},{"caipNetworkId":"eip155:42161","address":"0x1111111111111111111111111111111111111111","amount":3}]},{"symbol":"BTC","amount":3.00016720,"costBasis":18000,"distribution":[{"caipNetworkId":"bip122:000000000019d6689c085ae165831e93","address":"bc1q5cyxnuxmeuwuvkwfem96lxyepd5t0gd5nqf6h4","amount":1},{"caipNetworkId":"bip122:000000000019d6689c085ae165831e93","address":"bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf7du0","amount":1},{"caipNetworkId":"bip122:000000000019d6689c085ae165831e93","address":"bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh","amount":1.00016720}]}],"status":"succeeded","errorMessage":"","displayMessage":"","notSupportedEquityPositions":[],"notSupportedCryptocurrencyPositions":[],"nftPositions":[],"optionPositions":[],"type":"deFiWallet","accountId":"8c02d545753b596075ecbc20e2b7d3fb5b380c52","institutionName":"DeFiWallet","accountName":"MetaMask wallet"},"status":"ok","message":"","errorHash":"a394c021","teamCode":"P4","errorType":""}
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"badRequest","message":"Error message","displayMessage":"Optional display message","errorHash":"7dcbb73d","teamCode":"P4","errorType":"missingField"}
              }
            }
          },
          "401": {
            "description": "Unauthorized: Client Id or Client Secret are not correct or missing.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "The API key used does not have read permission to call this Mesh endpoint.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/holdings/value": {
      "post": {
        "tags": [
          "Portfolio"
        ],
        "summary": "Get holdings values",
        "description": "Obtain assets from the connected investment account and return total value and performance.\r\nPerforms realtime API call to the underlying integration.",
        "requestBody": {
          "description": "Request with authentication token.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PortfolioBrokerBaseRequest"
                  }
                ]
              },
              "example": {"authToken":"Secret authentication token","type":"binanceInternationalDirect"}
            }
          }
        },
        "responses": {
          "200": {
            "description": "Market values of assets",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BrokerPortfolioValueModelApiResult"
                },
                "example": {"content":{"totalValue":186.03,"totalPerformance":6.23,"equitiesValue":100.12,"equitiesPerformance":5.3457,"cryptocurrenciesValue":50.37,"cryptocurrenciesPerformance":7.23,"nftsValue":15.34,"fiatValue":20.2},"status":"ok","message":"","errorHash":"f2b4f62e","teamCode":"P4","errorType":""}
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"badRequest","message":"Error message","displayMessage":"Optional display message","errorHash":"7dcbb73d","teamCode":"P4","errorType":"missingField"}
              }
            }
          },
          "401": {
            "description": "Unauthorized: Client Id or Client Secret are not correct or missing.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "The API key used does not have read permission to call this Mesh endpoint.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/holdings/portfolio": {
      "get": {
        "tags": [
          "Portfolio"
        ],
        "summary": "Get aggregated portfolio",
        "description": "Get the aggregated portfolio of the user containing market values.",
        "parameters": [
          {
            "name": "UserId",
            "in": "query",
            "description": "End user ID to get the aggregated portfolio for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "TimezoneOffset",
            "in": "query",
            "description": "Offset in second, used to calculate daily return for cryptocurrencies.",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Portfolio obtained",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/B2BPortfolioModelApiResult"
                },
                "examples": {
                  "CEX example": {
                    "value": {"content":{"portfolioCostBasis":1819.90,"actualPortfolioPerformance":6.1,"equitiesValue":1934.78,"cryptocurrenciesValue":1185.12,"nftsValue":0,"equityPositions":[{"portfolioPercentage":0.44,"totalReturn":-1.30,"returnPercentage":-8.67,"companyName":"Tesla","totalDailyReturn":0.45,"dailyReturnPercentage":3.45,"marketValue":13.69,"lastPrice":214.44,"symbol":"TSLA","amount":0.063,"costBasis":234.80},{"portfolioPercentage":38.98,"totalReturn":144.97,"returnPercentage":13.71,"companyName":"Apple","totalDailyReturn":31.65,"dailyReturnPercentage":2.70,"marketValue":1201.67,"lastPrice":147.27,"symbol":"AAPL","amount":8.15,"costBasis":129.50}],"cryptocurrencyPositions":[{"portfolioPercentage":11.4018,"totalReturn":-592.6533,"returnPercentage":-62.7737,"companyName":"Ethereum","totalDailyReturn":-3.6081,"dailyReturnPercentage":-1.0162,"marketValue":351.4570,"lastPrice":1350.07,"symbol":"ETH","amount":0.260325000,"costBasis":3626.660},{"portfolioPercentage":7.80,"totalReturn":-85.45,"returnPercentage":-26.20,"companyName":"Dogecoin","totalDailyReturn":-2.45,"dailyReturnPercentage":-1.0103,"marketValue":240.5754,"lastPrice":0.05977,"symbol":"DOGE","amount":4025.02,"costBasis":0.081}],"nftPositions":[]},"status":"ok","message":"","errorHash":"29c0cd7f","teamCode":"P4","errorType":""}
                  },
                  "Self-custody cryptocurrency wallet example": {
                    "value": {"content":{"portfolioCostBasis":3626.74,"actualPortfolioPerformance":5.4,"equitiesValue":0,"cryptocurrenciesValue":592.03,"nftsValue":0,"equityPositions":[],"cryptocurrencyPositions":[{"portfolioPercentage":11.4018,"totalReturn":-592.6533,"returnPercentage":-62.7737,"companyName":"Ethereum","totalDailyReturn":-3.6081,"dailyReturnPercentage":-1.0162,"marketValue":351.4570,"lastPrice":1350.07,"symbol":"ETH","amount":0.260325000,"costBasis":3626.660,"distribution":[{"caipNetworkId":"eip155:1","address":"0x1111111111111111111111111111111111111111","amount":0.16},{"caipNetworkId":"eip155:42161","address":"0x1111111111111111111111111111111111111111","amount":0.100325000}]},{"portfolioPercentage":7.80,"totalReturn":-85.45,"returnPercentage":-26.20,"companyName":"Dogecoin","totalDailyReturn":-2.45,"dailyReturnPercentage":-1.0103,"marketValue":240.5754,"lastPrice":0.05977,"symbol":"DOGE","amount":4025.02,"costBasis":0.081,"distribution":[{"caipNetworkId":"eip155:1","address":"0x1111111111111111111111111111111111111111","amount":2025.02},{"caipNetworkId":"eip155:42161","address":"0x1111111111111111111111111111111111111111","amount":2000}]}],"nftPositions":[]},"status":"ok","message":"","errorHash":"29c0cd7f","teamCode":"P4","errorType":""}
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"ok","message":"","errorHash":"8845295b","teamCode":"7K","errorType":""}
              }
            }
          },
          "401": {
            "description": "Unauthorized: Client Id or Client Secret are not correct or missing.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "The API key used does not have read permission to call this Mesh endpoint.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/api/v1/token-network-pairs": {
      "get": {
        "tags": [
          "TokenNetworkPairs"
        ],
        "summary": "Get token-network pairs",
        "description": "Flat list of every token-on-network pair available in the transfer catalog, including manual-only\r\npairs (eligible for manual transfers without broker support). Each pair carries a stable\r\n`pairId` and whether the chain is monitored by Mesh (`isTracked`). Thin reformatter over\r\nthe same catalog returned by the managed-transfers tokens endpoint.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenNetworkPairsResponseApiResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/transfers/address/get": {
      "post": {
        "tags": [
          "Transfers"
        ],
        "summary": "Get deposit address",
        "description": "Get or generate a cryptocurrency deposit address that can be used to transfer assets to the financial institution",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TransfersBrokerCryptocurrencyDepositAddressRequest"
                  }
                ]
              },
              "example": {"symbol":"DOGE","chain":"DOGE","authToken":"Secret authentication token","type":"robinhood"}
            }
          }
        },
        "responses": {
          "200": {
            "description": "Address successfully obtained or generation initiated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/B2BBrokerCryptocurrencyDepositAddressResponseApiResult"
                },
                "example": {"content":{"symbol":"DOGE","address":"D641Fmzx...","chain":"DOGE"},"status":"ok","message":"","errorHash":"010074a1","teamCode":"P4","errorType":""}
              }
            }
          },
          "400": {
            "description": "Request details are not correct.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"badRequest","message":"Error message","displayMessage":"Optional display message","errorHash":"7dcbb73d","teamCode":"P4","errorType":"missingField"}
              }
            }
          },
          "404": {
            "description": "Address for the required symbol is not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"notFound","message":"Error message","displayMessage":"Optional display message","errorHash":"7dcbb73d","teamCode":"P4","errorType":"missingField"}
              }
            }
          },
          "401": {
            "description": "Unauthorized: Client Id or Client Secret are not correct or missing.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/wallets/verify": {
      "get": {
        "tags": [
          "Wallets"
        ],
        "summary": "Get verified addresses",
        "parameters": [
          {
            "name": "UserId",
            "in": "query",
            "description": "User identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Address",
            "in": "query",
            "description": "Address of the wallet.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Verifications obtained.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeFiWalletVerificationResponseApiResult"
                },
                "example": {"content":{"verifications":[{"userId":"user-1","address":"address-1","networkType":"evm","verificationMethod":"signedMessage","message":"Some test message","signedMessageHash":"signature-1","timestamp":1733896980},{"userId":"user-1","address":"address-2","networkType":"evm","verificationMethod":"signedMessage","message":"Some test message","signedMessageHash":"signature-2","timestamp":1733896980}]},"status":"ok","message":"","errorHash":"bd540591","teamCode":"P4","errorType":""}
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"badRequest","message":"Error message","displayMessage":"Optional display message","errorHash":"7dcbb73d","teamCode":"P4","errorType":"missingField"}
              }
            }
          },
          "401": {
            "description": "Unauthorized: Client Id or Client Secret are not correct or missing.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/wallets/verify/integrations": {
      "get": {
        "tags": [
          "Wallets"
        ],
        "summary": "Get integrations supported for wallet verification",
        "description": "**Get the wallets and networks that can verify wallet ownership.**\r\n\n\r\n---\r\nUse this list to decide which `integrationId` and `verifyWalletOptions.networkId` to send when creating a link\r\ntoken for verification. Every pair returned with `isSupported: true` is accepted by `POST /api/v1/linktoken`\r\nwhen the request has `verifyWalletOptions` and no `transferOptions`; other pairs are rejected or have no way to\r\nverify in Link. The list does not apply the wallets your Link configuration includes or excludes.\r\n\n\n\r\n`supportedDevices` lists where Link can complete the verification: `android` and `ios` for mobile apps and\r\nmobile browsers, `web` for desktop browsers. Ledger and Trezor list mobile devices too: on a phone, Link hands\r\nthe signing step to a desktop browser.\r\n\n\n\r\nFilter with `integrationId` (one wallet's networks) or `networkId` (every wallet on one network). Pass both to\r\ncheck one pair: the response then always holds that pair, with `isSupported` and, when it cannot be verified,\r\n`unsupportedReason`. Lists only hold supported pairs. An id that is not a self-custody wallet or a network Mesh\r\nknows returns 400 with `errorType` `invalidIntegrationId` or `invalidNetworkId`; when both are wrong, the message\r\nnames both and `errorType` is `invalidIntegrationId`.\r\n\n\n\r\nThis list is for verification only. `GET /api/v1/transfers/managed/integrations` lists transfer support, which\r\ndiffers.",
        "parameters": [
          {
            "name": "IntegrationId",
            "in": "query",
            "description": "Only return this self-custody wallet. Use the same id you send as `integrationId` when creating a link token.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "NetworkId",
            "in": "query",
            "description": "Only return this network. Use the same id you send as `verifyWalletOptions.networkId` when creating a link\r\ntoken. With `integrationId` too, the response always holds that one pair, with `isSupported` and, when it\r\ncannot be verified, `unsupportedReason`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Integrations obtained.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerifyIntegrationsResponseApiResult"
                },
                "examples": {
                  "Supported pairs": {
                    "value": {"content":{"integrations":[{"id":"56c7bfb1-4655-4581-9cb6-4cefd87b299c","type":"deFiWallet","name":"Ledger","networks":[{"id":"03dee5da-7398-428f-9ec2-ab41bcb271da","name":"Bitcoin","chainId":"0","supportedDevices":["android","ios","web"],"isSupported":true,"unsupportedReason":null}]},{"id":"34aeb688-decb-485f-9d80-b66466783394","type":"deFiWallet","name":"MetaMask","networks":[{"id":"03dee5da-7398-428f-9ec2-ab41bcb271da","name":"Bitcoin","chainId":"0","supportedDevices":["web"],"isSupported":true,"unsupportedReason":null},{"id":"e3c7fdd8-b1fc-4e51-85ae-bb276e075611","name":"Ethereum","chainId":"1","supportedDevices":["android","ios","web"],"isSupported":true,"unsupportedReason":null}]}]},"status":"ok","message":"","errorHash":"e228dbf2","teamCode":"P4","errorType":""}
                  },
                  "Pair check that cannot be verified (integrationId and networkId)": {
                    "value": {"content":{"integrations":[{"id":"7f4307ea-58c6-4678-9eb2-fec205de5401","type":"deFiWallet","name":"Trust Wallet","networks":[{"id":"03dee5da-7398-428f-9ec2-ab41bcb271da","name":"Bitcoin","chainId":"0","supportedDevices":[],"isSupported":false,"unsupportedReason":"networkNotSupportedByWallet"}]}]},"status":"ok","message":"","errorHash":"e228dbf2","teamCode":"P4","errorType":""}
                  }
                }
              }
            }
          },
          "400": {
            "description": "`integrationId` or `networkId` is not a valid id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {"status":"badRequest","message":"integrationId '7f4307ea-58c6-4678-9eb2-fec205de5402' is not a valid self-custody wallet id.","displayMessage":"integrationId '7f4307ea-58c6-4678-9eb2-fec205de5402' is not a valid self-custody wallet id.","errorHash":"7cb19488","teamCode":"P4","errorType":"invalidIntegrationId"}
              }
            }
          },
          "401": {
            "description": "Unauthorized: Client Id or Client Secret are not correct or missing.",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/wallets/wallets-v2.json": {
      "get": {
        "tags": [
          "Wallets"
        ],
        "summary": "Get TON Connect compatible wallet list.",
        "responses": {
          "200": {
            "description": "Wallets list obtained.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TonConnectWalletEntry"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AccountInfoType": {
        "enum": [
          "firstName",
          "middleName",
          "lastName",
          "accountNumber",
          "email",
          "mobileNumber",
          "companyName",
          "countryCode",
          "city",
          "postalCode",
          "address",
          "id",
          "dateOfBirth"
        ],
        "type": "string"
      },
      "ApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ApiResultStatus": {
        "enum": [
          "ok",
          "serverFailure",
          "permissionDenied",
          "badRequest",
          "notFound",
          "conflict",
          "tooManyRequest",
          "locked",
          "unavailableForLegalReasons",
          "serviceUnavailable"
        ],
        "type": "string"
      },
      "Asset": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "enum": [
              "equity",
              "cryptocurrency"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/AssetType"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "AssetPaginationResponse": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Asset"
            },
            "description": "list of items",
            "nullable": true
          },
          "total": {
            "type": "integer",
            "description": "Total number of items",
            "format": "int64"
          },
          "range": {
            "allOf": [
              {
                "$ref": "#/components/schemas/IndexRange"
              }
            ],
            "description": "A zero indexed based range that indicates the current start item index and end item index set",
            "nullable": true
          },
          "hasMorePages": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "AssetPaginationResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AssetPaginationResponse"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AssetType": {
        "enum": [
          "equity",
          "cryptocurrency"
        ],
        "type": "string"
      },
      "B2BBrokerAccountBalance": {
        "type": "object",
        "properties": {
          "cash": {
            "type": "number",
            "description": "Withdrawable cash amount on the account.",
            "format": "double",
            "nullable": true
          },
          "buyingPower": {
            "type": "number",
            "description": "Buying power indicating the maximum amount the user can spend to buy assets. E.g. available margin.",
            "format": "double",
            "nullable": true
          },
          "cryptocurrencyBuyingPower": {
            "type": "number",
            "description": "Buying power available for placing cryptocurrency orders.",
            "format": "double",
            "nullable": true
          },
          "currencyCode": {
            "type": "string",
            "description": "ISO 4217 currency code.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "B2BBrokerAccountBalanceModel": {
        "type": "object",
        "properties": {
          "balances": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/B2BBrokerAccountBalance"
            },
            "nullable": true
          },
          "totalCashUsdValue": {
            "type": "number",
            "description": "Total USD value of all currencies",
            "format": "double",
            "nullable": true
          },
          "totalBuyingPowerUsdValue": {
            "type": "number",
            "description": "Total USD value of all Buying Power",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "B2BBrokerAccountBalanceModelApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/B2BBrokerAccountBalanceModel"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "B2BBrokerAccountDetailsResponse": {
        "type": "object",
        "properties": {
          "integrationName": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "accountNumber": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "mobileNumber": {
            "type": "string",
            "nullable": true
          },
          "companyName": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "idType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/UserIdentificationType"
              }
            ],
            "nullable": true
          },
          "idNumber": {
            "type": "string",
            "nullable": true
          },
          "dateOfBirth": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "B2BBrokerAccountDetailsResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/B2BBrokerAccountDetailsResponse"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "B2BBrokerAuthStatus": {
        "enum": [
          "failed",
          "succeeded",
          "mfaRequired"
        ],
        "type": "string"
      },
      "B2BBrokerCryptocurrencyDepositAddressListResponse": {
        "type": "object",
        "properties": {
          "addresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DepositAddressItem"
            },
            "nullable": true
          },
          "brokerResponseStatus": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerResponseStatus"
              }
            ],
            "nullable": true
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "B2BBrokerCryptocurrencyDepositAddressListResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/B2BBrokerCryptocurrencyDepositAddressListResponse"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "B2BBrokerCryptocurrencyDepositAddressResponse": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "chain": {
            "type": "string",
            "nullable": true
          },
          "memo": {
            "type": "string",
            "nullable": true
          },
          "minimumDepositAmount": {
            "type": "string",
            "nullable": true
          },
          "networkId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "brokerResponseStatus": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerResponseStatus"
              }
            ],
            "nullable": true
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "B2BBrokerCryptocurrencyDepositAddressResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/B2BBrokerCryptocurrencyDepositAddressResponse"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "B2BBrokerRefreshTokenResponse": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "failed",
              "succeeded",
              "mfaRequired"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/B2BBrokerAuthStatus"
              }
            ]
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "account": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerAccount"
              }
            ],
            "nullable": true,
            "deprecated": true
          },
          "accessToken": {
            "type": "string",
            "nullable": true,
            "deprecated": true
          },
          "refreshToken": {
            "type": "string",
            "nullable": true,
            "deprecated": true
          },
          "expiresInSeconds": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "refreshTokenExpiresInSeconds": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "brokerAccountTokens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BrokerAccountTokens"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "B2BBrokerRefreshTokenResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/B2BBrokerRefreshTokenResponse"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "B2BBrokersHealthStatus": {
        "type": "object",
        "properties": {
          "type": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ],
            "description": "Type of the integration"
          },
          "name": {
            "type": "string",
            "description": "Name of the integration",
            "nullable": true
          },
          "isUp": {
            "type": "boolean",
            "description": "Is the communication with the integration up"
          },
          "description": {
            "type": "string",
            "description": "Description of the outage",
            "nullable": true
          },
          "downTimeStart": {
            "type": "integer",
            "description": "Unix timestamp in seconds indicating when the outage occurred",
            "format": "int64",
            "nullable": true
          },
          "downTimeEnd": {
            "type": "integer",
            "description": "Unix timestamp in seconds indicating expected end of the outage",
            "format": "int64",
            "nullable": true
          },
          "supportedProducts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BrokerFeature"
            },
            "description": "Get products supported by the financial institution",
            "nullable": true
          },
          "deFiWalletData": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DeFiWalletHealthStatusInfo"
              }
            ],
            "description": "Short information about DeFiWallet",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "B2BBrokersHealthStatusListApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/B2BBrokersHealthStatus"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "B2BFiatPortfolioModel": {
        "type": "object",
        "properties": {
          "fiatBalances": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PortfolioFiatBalance"
            },
            "description": "List of aggregated fiat balances",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "B2BFiatPortfolioModelApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/B2BFiatPortfolioModel"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "B2BNftPosition": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "number",
            "format": "double"
          },
          "costBasis": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "contractAddress": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "marketplaceId": {
            "type": "string",
            "nullable": true
          },
          "tokenId": {
            "type": "string",
            "nullable": true
          },
          "marketplacePermalink": {
            "type": "string",
            "nullable": true
          },
          "addressType": {
            "enum": [
              "ethAddress",
              "btcAddress",
              "ltcAddress",
              "solAddress",
              "algoAddress",
              "celoAddress",
              "cardanoAddress",
              "polygonAddress",
              "bnbAddress",
              "elrondAddress",
              "neoAddress",
              "xrpAddress",
              "flowAddress",
              "harmonyOneAddress",
              "tronAddress",
              "dogeAddress",
              "opAddress"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/CryptocurrencyAddressType"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "B2BOptionPosition": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "description": "Symbol of the underlying stock",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "Amount of options",
            "format": "double"
          },
          "averageOpenPrice": {
            "type": "number",
            "description": "Total average paid price",
            "format": "double"
          },
          "direction": {
            "enum": [
              "unknown",
              "buyToOpen",
              "buyToClose",
              "sellToOpen",
              "sellToClose",
              "buyToCover",
              "sellShort"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerOptionDirection"
              }
            ],
            "description": "Side of the option, buy or sell"
          },
          "createdTimestamp": {
            "type": "integer",
            "format": "int64"
          },
          "updatedTimestamp": {
            "type": "integer",
            "format": "int64"
          },
          "numberOfSharesInContract": {
            "type": "number",
            "description": "Number of shares of the underlying stock",
            "format": "double"
          },
          "optionType": {
            "enum": [
              "unknown",
              "call",
              "put"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerOptionType"
              }
            ],
            "description": "Type of the option, put or call"
          },
          "expirationTimestamp": {
            "type": "integer",
            "description": "The last day that the option contract is valid",
            "format": "int64"
          },
          "strikePrice": {
            "type": "number",
            "description": "The price at which a put or call option can be exercised",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "B2BPortfolioModel": {
        "type": "object",
        "properties": {
          "portfolioCostBasis": {
            "type": "number",
            "description": "Amount of money spent to buy all positions of the portfolio.",
            "format": "double",
            "nullable": true
          },
          "actualPortfolioPerformance": {
            "type": "number",
            "description": "Actual performance based on the cost basis.",
            "format": "double",
            "nullable": true
          },
          "equitiesValue": {
            "type": "number",
            "description": "Total USD portfolio value of all equities (sum(equity price * equity amount)). Does not include cash balance.",
            "format": "double"
          },
          "cryptocurrenciesValue": {
            "type": "number",
            "description": "Total USD value of all cryptocurrencies in the portfolio.",
            "format": "double"
          },
          "nftsValue": {
            "type": "number",
            "description": "Total USD value of all NFTs in the portfolio.",
            "format": "double"
          },
          "equityPositions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PositionWithReturn"
            },
            "description": "List of equity positions",
            "nullable": true
          },
          "cryptocurrencyPositions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PositionWithReturn"
            },
            "description": "List of cryptocurrency positions",
            "nullable": true
          },
          "nftPositions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NftPositionWithMarketValues"
            },
            "description": "List of NFT positions",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "B2BPortfolioModelApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/B2BPortfolioModel"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BalanceBrokerBaseRequest": {
        "required": [
          "authToken",
          "type"
        ],
        "type": "object",
        "properties": {
          "authToken": {
            "minLength": 1,
            "type": "string",
            "description": "Auth token that allows connecting to the target institution"
          },
          "type": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ],
            "description": "Type of the institution to connect\n\n### Supported integrations:\n```Robinhood```\n```Coinbase```\n```Kraken```\n```CryptoCom```\n```Binance```\n```Gemini```\n```OkCoin```\n```KuCoin```\n```CexIo```\n```BinanceInternational```\n```Bitstamp```\n```GateIo```\n```Okx```\n```BitFlyer```\n```Coinlist```\n```Huobi```\n```Bitfinex```\n```KrakenDirect```\n```BinanceInternationalDirect```\n```BitfinexDirect```\n```Bybit```\n```Paxos```\n```CoinbasePrime```\n```BtcTurkDirect```\n```KuCoinDirect```\n```OkxOAuth```\n```ParibuDirect```\n```RobinhoodConnect```\n```BlockchainCom```\n```BitsoDirect```\n```BybitDirect```\n```ParibuOAuth```\n```BinanceTrDirect```\n```BybitDirectMobile```\n```Sandbox```\n```Uphold```\n```SandboxCoinbase```\n```KrakenOAuth```\n```BluvoKrakenOAuth```\n```SandboxKrakenOAuth```\n"
          }
        },
        "additionalProperties": false
      },
      "BigInteger": {
        "type": "object",
        "properties": {
          "isPowerOfTwo": {
            "type": "boolean",
            "readOnly": true
          },
          "isZero": {
            "type": "boolean",
            "readOnly": true
          },
          "isOne": {
            "type": "boolean",
            "readOnly": true
          },
          "isEven": {
            "type": "boolean",
            "readOnly": true
          },
          "sign": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "BridgingAddress": {
        "required": [
          "address"
        ],
        "type": "object",
        "properties": {
          "address": {
            "type": "string",
            "description": "The on-chain deposit address to send source funds to.\r\nThis address is single-use — do not reuse it across transfers.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A one-time deposit address generated by the bridge provider.\r\nThe end user must send funds to this address on the correct source network."
      },
      "BridgingAddressConstraintsDto": {
        "type": "object",
        "properties": {
          "minimumAmount": {
            "type": "string",
            "description": "Minimum amount the user must send, expressed as a decimal string in the source asset: the stricter of the\r\nroute's configured minimum and the platform USD floor converted at the current price.\r\n`\"0\"` when neither applies (e.g. price unavailable and no route minimum).",
            "nullable": true
          },
          "maximumAmount": {
            "type": "string",
            "description": "Maximum amount the user may send, expressed as a decimal string in the source asset: the platform USD cap\r\nconverted at the current price. `null` if no maximum can be expressed, e.g. price unavailable\r\n(serialized as JSON `null` despite global omit-null settings).",
            "nullable": true
          },
          "expirationTime": {
            "type": "integer",
            "description": "Unix timestamp (seconds) at which the deposit address expires.\r\n`null` if the address does not expire.\r\nFunds sent after this time may not be processed.",
            "format": "int64",
            "nullable": true
          },
          "singleUseAddress": {
            "type": "boolean",
            "description": "When `true`, this deposit address is single-use and must not be reused across transfers.\r\nSending funds to an already-used address may result in loss of funds."
          }
        },
        "additionalProperties": false,
        "description": "Operational constraints that apply to a bridging deposit address.\r\nPresent these to the end user to avoid failed or stuck transfers."
      },
      "BridgingDestinationSpec": {
        "required": [
          "asset",
          "network"
        ],
        "type": "object",
        "properties": {
          "network": {
            "minLength": 1,
            "type": "string",
            "description": "CAIP-2 network identifier for the token's network.\r\n\nExamples: `eip155:1` (Ethereum Mainnet), `eip155:137` (Polygon),\r\n`eip155:8453` (Base), `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp` (Solana Mainnet)."
          },
          "asset": {
            "minLength": 1,
            "type": "string",
            "description": "Token symbol, case-insensitive (e.g. `USDC`, `ETH`, `MATIC`)."
          }
        },
        "additionalProperties": false,
        "description": "Identifies a token on a specific network using a CAIP-2 network identifier."
      },
      "BridgingDestinationWithAddressSpec": {
        "required": [
          "address",
          "asset",
          "network"
        ],
        "type": "object",
        "properties": {
          "network": {
            "minLength": 1,
            "type": "string",
            "description": "CAIP-2 network identifier for the token's network.\r\n\nExamples: `eip155:1` (Ethereum Mainnet), `eip155:137` (Polygon),\r\n`eip155:8453` (Base), `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp` (Solana Mainnet)."
          },
          "asset": {
            "minLength": 1,
            "type": "string",
            "description": "Token symbol, case-insensitive (e.g. `USDC`, `ETH`, `MATIC`)."
          },
          "address": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string",
            "description": "On-chain wallet address on the destination network that will receive the bridged funds.\r\nMust be a valid address for the specified `network`."
          }
        },
        "additionalProperties": false,
        "description": "A bridging destination (network and asset) together with the on-chain wallet address where\r\nbridged funds should be delivered."
      },
      "BridgingDetails": {
        "type": "object",
        "properties": {
          "bridgingType": {
            "enum": [
              "offChain",
              "onChain"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingType"
              }
            ],
            "description": "Indicates if the transfer is a bridging transfer, meaning that the transfer will be swapped between two different networks."
          },
          "bridgingDirectionId": {
            "type": "string",
            "description": "The ID of the bridging direction that was used to generate the preview.",
            "format": "uuid"
          },
          "targetAddress": {
            "type": "string",
            "nullable": true
          },
          "destinationSymbol": {
            "type": "string",
            "nullable": true
          },
          "destinationNetwork": {
            "type": "string",
            "nullable": true
          },
          "providerType": {
            "enum": [
              "bridgeXyz",
              "bvnk",
              "relay",
              "liFi",
              "flashNet"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingProviderType"
              }
            ]
          },
          "totalBridgingFee": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferFee"
              }
            ],
            "nullable": true
          },
          "appFee": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferFee"
              }
            ],
            "description": "Mesh retention (Relay app fee). Null when fee retention is not configured for the\r\nclient/transfer type. Surfaced separately from Org.Front.Core.Contracts.Models.Bridging.BridgingDetails.TotalBridgingFee because\r\nRelay excludes the app fee from FeeSummary totals — MaxAmount math must subtract it on\r\ntop of Org.Front.Core.Contracts.Models.Bridging.BridgingDetails.TotalBridgingFee.",
            "nullable": true
          },
          "rate": {
            "type": "number",
            "format": "double"
          },
          "amountOut": {
            "type": "number",
            "format": "double"
          },
          "referrerId": {
            "type": "string",
            "description": "The unique referrer ID generated for this bridging operation, sent to the Relay provider for tracking.\r\nUsed to identify and track the transaction on Relay's side during polling.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BridgingFeeKind": {
        "enum": [
          "originGas",
          "destinationGas",
          "providerRelayerService",
          "providerRelayerGas",
          "providerLP",
          "providerPlatformFixed",
          "integrator",
          "subsidized",
          "providerAggregate",
          "other"
        ],
        "type": "string"
      },
      "BridgingOperationStatus": {
        "enum": [
          "recordCreated",
          "registeredInProvider",
          "sourceTransferStarted",
          "inReview",
          "providerAwaitingSourceTransfer",
          "providerFundsReceived",
          "providerProcessingPayment",
          "providerProcessedPayment",
          "providerSetUndeliverable",
          "returned",
          "refundRegisteredInProvider",
          "providerAwaitingSourceRefundTransfer",
          "providerRefundFundsReceived",
          "providerProcessingRefundPayment",
          "providerProcessedRefundPayment",
          "refunded",
          "canceled",
          "failed"
        ],
        "type": "string"
      },
      "BridgingProviderType": {
        "enum": [
          "bridgeXyz",
          "bvnk",
          "relay",
          "liFi",
          "flashNet"
        ],
        "type": "string"
      },
      "BridgingQuoteConstraintsDto": {
        "required": [
          "minimumAmount"
        ],
        "type": "object",
        "properties": {
          "minimumAmount": {
            "type": "string",
            "description": "Minimum pay-in amount as a decimal string in the origin asset: the stricter of the route minimum and the\r\nplatform USD floor converted at the current price. `\"0\"` when neither applies.",
            "nullable": true
          },
          "maximumAmount": {
            "type": "string",
            "description": "Maximum pay-in amount as a decimal string in the origin asset: the platform USD cap converted at the current\r\nprice. An `amount` above it is rejected with `amountExceedsMaximum`; the provider's available\r\nliquidity may be lower and is reported the same way. `null` when no platform maximum can be expressed\r\n(serialized as JSON `null` despite global omit-null settings).",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Pay-in amount limits attached to a headless bridging quote, in the origin asset."
      },
      "BridgingQuoteDestinationLeg": {
        "required": [
          "address",
          "asset",
          "network"
        ],
        "type": "object",
        "properties": {
          "network": {
            "type": "string",
            "description": "CAIP-2 network identifier of the payout network.",
            "nullable": true
          },
          "asset": {
            "type": "string",
            "description": "Payout asset symbol.",
            "nullable": true
          },
          "address": {
            "type": "string",
            "description": "Recipient address the quote was priced for.",
            "nullable": true
          },
          "estimatedAmount": {
            "type": "number",
            "description": "Estimated amount the recipient receives, in the payout asset, net of provider fees.\r\nIndicative only; the fill is priced on the amount that actually arrives.",
            "format": "double"
          },
          "minimumAmount": {
            "type": "number",
            "description": "Indicative minimum for this quote at the configured slippage tolerance, when the provider reports one.\r\nThis quote is not bound to a later `POST /api/v1/bridging/address` call, which obtains a fresh quote\r\nthat may differ; treat it as a snapshot, not a committed floor for settlement.",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Payout leg of a headless bridging quote."
      },
      "BridgingQuoteFeeItem": {
        "required": [
          "asset",
          "label"
        ],
        "type": "object",
        "properties": {
          "kind": {
            "enum": [
              "originGas",
              "destinationGas",
              "providerRelayerService",
              "providerRelayerGas",
              "providerLP",
              "providerPlatformFixed",
              "integrator",
              "subsidized",
              "providerAggregate",
              "other"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingFeeKind"
              }
            ],
            "description": "Fee category."
          },
          "label": {
            "type": "string",
            "description": "Provider label for this fee.",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "Fee amount in `asset` units, when the provider reports it.",
            "format": "double",
            "nullable": true
          },
          "asset": {
            "type": "string",
            "description": "Symbol the fee is denominated in.",
            "nullable": true
          },
          "amountUsd": {
            "type": "number",
            "description": "Fee amount in USD, when the provider reports it.",
            "format": "double",
            "nullable": true
          },
          "includedInEstimate": {
            "type": "boolean",
            "description": "`true` when this fee is already deducted from\r\n            `destination.estimatedAmount`; `false` when it is informational\r\n            (e.g. origin gas paid by the sender)."
          }
        },
        "additionalProperties": false,
        "description": "One fee line of a headless bridging quote."
      },
      "BridgingQuoteFees": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BridgingQuoteFeeItem"
            },
            "description": "Individual fee lines reported by the bridge provider.",
            "nullable": true
          },
          "totalUsd": {
            "type": "number",
            "description": "Total provider fees in USD that are deducted from the payout, when the provider reports it.",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Fee breakdown for a headless bridging quote."
      },
      "BridgingQuoteOriginLeg": {
        "required": [
          "asset",
          "network"
        ],
        "type": "object",
        "properties": {
          "network": {
            "type": "string",
            "description": "CAIP-2 network identifier of the pay-in network.",
            "nullable": true
          },
          "asset": {
            "type": "string",
            "description": "Pay-in asset symbol.",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "Amount the quote was priced for, in the pay-in asset.",
            "format": "double"
          }
        },
        "additionalProperties": false,
        "description": "Pay-in leg of a headless bridging quote."
      },
      "BridgingRouteType": {
        "enum": [
          "bridge",
          "swap",
          "direct"
        ],
        "type": "string",
        "description": "Classifies a transfer route as a cross-chain bridge or a same-chain swap.\r\nReplaces the legacy `IsBridging*` boolean flags. Null indicates a vanilla\r\nsame-chain deposit (neither bridge nor swap)."
      },
      "BridgingTimelineEvent": {
        "type": "object",
        "properties": {
          "eventType": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "timestamp": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "BridgingTracking": {
        "required": [
          "transactionId",
          "transferId",
          "userId"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "description": "The end-user identifier supplied in the originating request.\r\nEchoed back for client-side reconciliation.",
            "nullable": true
          },
          "transactionId": {
            "type": "string",
            "description": "The transfer identifier supplied in the originating request.\r\nEchoed back for client-side reconciliation.",
            "nullable": true
          },
          "transferId": {
            "type": "string",
            "description": "Mesh-internal unique identifier for this transfer record.\r\nUse this ID when querying transfer status or matching incoming webhook payloads.",
            "format": "uuid"
          }
        },
        "additionalProperties": false,
        "description": "Identifiers for tracking a headless bridge transfer through the Mesh platform.\r\nStore these values to correlate webhook events and status polling with the transfer\r\ninitiated by `POST /api/v1/bridging/address` or reported by `POST /api/v1/bridging/notify`."
      },
      "BridgingTransferDetails": {
        "type": "object",
        "properties": {
          "transferFee": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferFee"
              }
            ],
            "nullable": true
          },
          "appFee": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferFee"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BridgingTransferDetailsModel": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "recordCreated",
              "registeredInProvider",
              "sourceTransferStarted",
              "inReview",
              "providerAwaitingSourceTransfer",
              "providerFundsReceived",
              "providerProcessingPayment",
              "providerProcessedPayment",
              "providerSetUndeliverable",
              "returned",
              "refundRegisteredInProvider",
              "providerAwaitingSourceRefundTransfer",
              "providerRefundFundsReceived",
              "providerProcessingRefundPayment",
              "providerProcessedRefundPayment",
              "refunded",
              "canceled",
              "failed"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingOperationStatus"
              }
            ]
          },
          "statusDescription": {
            "type": "string",
            "nullable": true
          },
          "targetSide": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingTransferSide"
              }
            ],
            "nullable": true
          },
          "sourceSide": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingTransferSide"
              }
            ],
            "nullable": true
          },
          "timeline": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BridgingTimelineEvent"
            },
            "nullable": true
          },
          "totalBridgingFee": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferFee"
              }
            ],
            "description": "Settled bridge cost: the source amount the provider received minus the delivered amount and any app fee (Mesh's\r\nprocessing fee, reported in `ProcessingFee`), valued in USD at the provider's rates, with `FeeInFiat` in\r\nthe transfer's fiat currency. Omitted when no settled values are available.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BridgingTransferSide": {
        "type": "object",
        "properties": {
          "networkName": {
            "type": "string",
            "nullable": true
          },
          "symbol": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "transactionHash": {
            "type": "string",
            "nullable": true
          },
          "infoUrl": {
            "type": "string",
            "format": "uri",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BridgingType": {
        "enum": [
          "offChain",
          "onChain"
        ],
        "type": "string"
      },
      "BrokerAccount": {
        "type": "object",
        "properties": {
          "meshAccountId": {
            "type": "string",
            "format": "uuid"
          },
          "frontAccountId": {
            "type": "string",
            "format": "uuid",
            "readOnly": true,
            "deprecated": true
          },
          "accountId": {
            "type": "string",
            "nullable": true
          },
          "accountName": {
            "type": "string",
            "nullable": true
          },
          "fund": {
            "type": "number",
            "description": "Buying power of the account. Typically consists of cash plus available margin.\r\nFor non-margin accounts fund contains cash only",
            "format": "double",
            "nullable": true
          },
          "cash": {
            "type": "number",
            "description": "Cash balance in USD",
            "format": "double",
            "nullable": true
          },
          "isReconnected": {
            "type": "boolean",
            "description": "Indicates if this account was already connected by the current user and device.\r\nCan be null.",
            "nullable": true
          },
          "balances": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BrokerFiatBalance"
            },
            "description": "The list of all asset balances of account",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BrokerAccountTokens": {
        "type": "object",
        "properties": {
          "account": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerAccount"
              }
            ],
            "nullable": true
          },
          "accessToken": {
            "type": "string",
            "nullable": true
          },
          "refreshToken": {
            "type": "string",
            "nullable": true
          },
          "tokenId": {
            "type": "string",
            "description": "Token identifier provided by Mesh when the actual integration's token is managed by Mesh's Token Management System.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BrokerBaseRequest": {
        "required": [
          "authToken",
          "type"
        ],
        "type": "object",
        "properties": {
          "authToken": {
            "minLength": 1,
            "type": "string",
            "description": "Auth token that allows connecting to the target institution"
          },
          "type": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ],
            "description": "Type of the institution to connect"
          }
        },
        "additionalProperties": false
      },
      "BrokerCryptocurrencyDepositAddressRequest": {
        "required": [
          "authToken",
          "type"
        ],
        "type": "object",
        "properties": {
          "authToken": {
            "minLength": 1,
            "type": "string",
            "description": "Auth token that allows connecting to the target institution"
          },
          "type": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ],
            "description": "Type of the institution to connect"
          },
          "symbol": {
            "type": "string",
            "description": "Symbol of the required cryptocurrency, e.g. ETH or BTC.\r\nCan be used instead of the `AddressType` field.",
            "nullable": true
          },
          "addressType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CryptocurrencyAddressType"
              }
            ],
            "description": "Type of the address of symbol to be transferred. Providing `EthAddress` will assume a transfer of ETH over Ethereum blockchain.\r\nCan be used instead of `Symbol` field.",
            "nullable": true
          },
          "chain": {
            "type": "string",
            "description": "Chain of the required cryptocurrency, e.g. USDT has USDT-ERC20, USDT-TRC20, and USDT-Omni",
            "nullable": true
          },
          "mfaCode": {
            "type": "string",
            "description": "Some of integrations require MFA code to create a deposit address, e.g. KrakenDirect",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BrokerCryptocurrencyTransactionStatus": {
        "enum": [
          "unknown",
          "failed",
          "frozen",
          "succeeded",
          "mfaRequired",
          "pending",
          "expired",
          "canceled",
          "waitingForSignature",
          "waitingForClearing",
          "awaitingApproval",
          "awaitingConfirmation",
          "awaitingVerification",
          "rejected",
          "pendingCancel",
          "emailVerification",
          "deviceConfirmationRequired",
          "mfaFailed",
          "addressWhitelistRequired",
          "secondMfaRequired",
          "emailConfirmationApprovalRequired",
          "travelRuleRequired"
        ],
        "type": "string"
      },
      "BrokerFeature": {
        "enum": [
          "holdings",
          "balance",
          "orders",
          "transfers",
          "identity",
          "cryptocurrencyDepositAddresses",
          "accountNumber",
          "paymentMethods",
          "conversions"
        ],
        "type": "string"
      },
      "BrokerFiatBalance": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "description": "Account balance currency",
            "nullable": true
          },
          "buyingPower": {
            "type": "number",
            "description": "BuyingPower indicates total amount of money the user can spend for buying stock. Always includes cash and\r\ncan also include margin",
            "format": "double",
            "nullable": true
          },
          "cryptoBuyingPower": {
            "type": "number",
            "description": "BuyingPower indicates total amount of money the user can spend for buying crypto.",
            "format": "double",
            "nullable": true
          },
          "cash": {
            "type": "number",
            "description": "Account cash indicates total amount of money",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BrokerGroup": {
        "enum": [
          "none",
          "binance",
          "coinbase",
          "kraken"
        ],
        "type": "string"
      },
      "BrokerOptionDirection": {
        "enum": [
          "unknown",
          "buyToOpen",
          "buyToClose",
          "sellToOpen",
          "sellToClose",
          "buyToCover",
          "sellShort"
        ],
        "type": "string"
      },
      "BrokerOptionType": {
        "enum": [
          "unknown",
          "call",
          "put"
        ],
        "type": "string"
      },
      "BrokerPaymentMethodType": {
        "enum": [
          "card",
          "bankAccount",
          "digitalWallet",
          "unknown"
        ],
        "type": "string"
      },
      "BrokerPortfolioValueModel": {
        "type": "object",
        "properties": {
          "totalValue": {
            "type": "number",
            "description": "Total USD value of portfolio.",
            "format": "double",
            "readOnly": true
          },
          "totalPerformance": {
            "type": "number",
            "description": "Total performance in percents based on the cost basis.",
            "format": "double"
          },
          "equitiesValue": {
            "type": "number",
            "description": "USD value of all equities in the portfolio.",
            "format": "double"
          },
          "equitiesPerformance": {
            "type": "number",
            "description": "Performance in percents of all equities based on the cost basis.",
            "format": "double"
          },
          "cryptocurrenciesValue": {
            "type": "number",
            "description": "USD value of all cryptocurrencies in the portfolio.",
            "format": "double"
          },
          "cryptocurrenciesPerformance": {
            "type": "number",
            "description": "Performance in percents of all cryptocurrencies in the portfolio based on the cost basis.",
            "format": "double"
          },
          "nftsValue": {
            "type": "number",
            "description": "USD value of all NFTs in the portfolio.",
            "format": "double"
          },
          "fiatValue": {
            "type": "number",
            "description": "USD value of all fiat currencies in the portfolio.",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "BrokerPortfolioValueModelApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerPortfolioValueModel"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BrokerRefreshTokenRequest": {
        "required": [
          "refreshToken",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ]
          },
          "refreshToken": {
            "minLength": 1,
            "type": "string"
          },
          "createNewRefreshToken": {
            "type": "boolean",
            "description": "Optional, used when we the refresh token should be refreshed.\r\nCurrently this flow is supported by TD Ameritrade",
            "nullable": true
          },
          "accessToken": {
            "type": "string",
            "description": "Some institutions may require accessToken to be provided as well.\r\nIt's currently required by WeBull and Vanguard",
            "nullable": true
          },
          "tradeToken": {
            "type": "string",
            "description": "Currently used to update WeBull trade token.",
            "nullable": true
          },
          "mfaCode": {
            "type": "string",
            "description": "Optional, currently used by Vanguard if account has enforced MFA enabled.",
            "nullable": true
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "description": "Additional metadata",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BrokerRequestStatus": {
        "enum": [
          "succeeded",
          "failed",
          "notAuthorized"
        ],
        "type": "string"
      },
      "BrokerResponseStatus": {
        "enum": [
          "unknown",
          "mfaRequired",
          "kycRequired"
        ],
        "type": "string"
      },
      "BrokerType": {
        "enum": [
          "robinhood",
          "eTrade",
          "alpaca",
          "tdAmeritrade",
          "weBull",
          "stash",
          "interactiveBrokers",
          "public",
          "coinbase",
          "kraken",
          "coinbasePro",
          "cryptoCom",
          "openSea",
          "binanceUs",
          "gemini",
          "cryptocurrencyAddress",
          "cryptocurrencyWallet",
          "okCoin",
          "bittrex",
          "kuCoin",
          "etoro",
          "cexIo",
          "binanceInternational",
          "bitstamp",
          "gateIo",
          "acorns",
          "okx",
          "bitFlyer",
          "coinlist",
          "huobi",
          "bitfinex",
          "deFiWallet",
          "krakenDirect",
          "vanguard",
          "binanceInternationalDirect",
          "bitfinexDirect",
          "bybit",
          "paxos",
          "coinbasePrime",
          "btcTurkDirect",
          "kuCoinDirect",
          "okxOAuth",
          "paribuDirect",
          "robinhoodConnect",
          "blockchainCom",
          "bitsoDirect",
          "binanceConnect",
          "binanceOAuth",
          "revolutConnect",
          "binancePay",
          "bybitDirect",
          "paribuOAuth",
          "payPalConnect",
          "binanceTrDirect",
          "coinbaseRamp",
          "bybitDirectMobile",
          "sandbox",
          "cryptoComPay",
          "bybitEuDirect",
          "uphold",
          "binancePayOnchain",
          "sandboxCoinbase",
          "bybitPay",
          "krakenOAuth",
          "bluvoKrakenOAuth",
          "cashApp",
          "sandboxKrakenOAuth",
          "krakPay",
          "unlimit",
          "alchemyPay",
          "okxPay",
          "bybitPayPsp"
        ],
        "type": "string"
      },
      "BuildSponsoredTxResponse": {
        "type": "object",
        "properties": {
          "trackingId": {
            "type": "string",
            "description": "Server-issued id correlating subsequent\r\n            `/submit` and `/status` calls back to a ledger entry. Surface this to clients.",
            "format": "uuid"
          },
          "strategy": {
            "enum": [
              "unknown",
              "metaMaskGasIncluded",
              "alchemySolanaFeePayer",
              "relayLinkEvmFeeSponsor"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/GasSponsorshipStrategyKind"
              }
            ],
            "description": "The strategy that built the payload."
          },
          "payload": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SponsoredTxPayload"
              }
            ],
            "description": "Strategy-specific payload the client must sign and return on\r\n            `/submit`. For Alchemy on Solana this is a base64-encoded V0 transaction with slot 0\r\n            already signed by Alchemy and slot 1 awaiting the user's signature.",
            "nullable": true
          },
          "additionalPayloads": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SponsoredTxPayload"
            },
            "description": "Additional payloads the client must sign in order when the\r\n            route requires multiple signatures (e.g., Permit2 + ERC-3009 authorize1). The FE prompts the\r\n            wallet for Payload first, then each entry here in order, then submits all\r\n            signatures together on `/submit` alongside `AdditionalSignedPayloads`. Null/empty\r\n            for routes that need a single signature (today: every direct ERC-3009 transfer and most\r\n            USDC same-chain swaps).",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Output of `IRelaySponsorshipStrategy.BuildAsync`. Returned to the caller via the\r\n`POST /v1/sponsorship/build` response."
      },
      "BuildSponsoredTxResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BuildSponsoredTxResponse"
              }
            ],
            "description": "Output of `IRelaySponsorshipStrategy.BuildAsync`. Returned to the caller via the\r\n`POST /v1/sponsorship/build` response.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BuildSponsorshipRequestBody": {
        "type": "object",
        "properties": {
          "transferPreviewId": {
            "type": "string",
            "format": "uuid"
          },
          "fromAddress": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BuildSubscribeRequestBody": {
        "type": "object",
        "properties": {
          "fromAddress": {
            "type": "string",
            "description": "The Solana wallet (delegator) that signs and broadcasts the subscription transaction.",
            "nullable": true
          },
          "fiatAmountPerPeriod": {
            "type": "number",
            "description": "Max fiat per period, human-readable (e.g. `1` = $1). Must be > 0 and within the token's decimals.",
            "format": "double"
          },
          "periodLengthSeconds": {
            "type": "integer",
            "description": "Period length in seconds (e.g. `86400` = 1 day). Between `1` and `31536000` (1 year).",
            "format": "int64"
          },
          "expiryTs": {
            "type": "integer",
            "description": "Required Unix timestamp (seconds) after which the delegation expires. Must be in the future and within\r\nthe configured max horizon. \"Never expires\" (`null` / `0`) is not currently allowed.",
            "format": "int64",
            "nullable": true
          },
          "startNextPeriod": {
            "type": "boolean",
            "description": "When `true`, defers the first charge by one full period (on-chain\r\n`start_ts = now + PeriodLengthSeconds`; the program rejects earlier pulls). Default `false`."
          }
        },
        "additionalProperties": false,
        "description": "Request body for build-subscribe: the signing wallet plus the end-user terms (per-period cap, period\r\nlength, optional expiry). Token/network, pull destination, and delegatee are resolved server-side."
      },
      "BuildSubscriptionResponse": {
        "type": "object",
        "properties": {
          "step": {
            "enum": [
              "initializeAuthority",
              "createDelegation",
              "revokeDelegation"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/SubscriptionStep"
              }
            ],
            "description": "Which transaction this payload represents."
          },
          "isFinal": {
            "type": "boolean",
            "description": "`false` when the widget must broadcast this tx and call again for the next step; `true` on\r\n            the last transaction in the flow."
          },
          "transaction": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ExecuteWithBridgingResponse"
              }
            ],
            "description": "The single-instruction bridge payload the widget signs and broadcasts, in the\r\nOrg.Front.Core.Contracts.Models.Brokers.B2B.ManagedTransfers.Catalog.ExecuteWithBridgingResponse shape the `bridgeandexecute` path returns.",
            "nullable": true
          },
          "parameters": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SubscriptionParameters"
              }
            ],
            "description": "The subscription terms this transaction authorizes, for FE display. Present on every step.",
            "nullable": true
          },
          "subscriptionId": {
            "type": "string",
            "description": "The `Pending` subscription's id — the handle passed to register-subscribe / build-unsubscribe.\r\nPresent only on the final Org.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.SubscriptionStep.CreateDelegation step (null otherwise, e.g. on\r\nthe Org.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.SubscriptionStep.InitializeAuthority step which creates no row).",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response for build-subscription (stateless two-phase flow). Returns\r\nOrg.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.SubscriptionStep.InitializeAuthority (Org.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.BuildSubscriptionResponse.IsFinal`false`) when the wallet's\r\nauthority doesn't exist yet, otherwise Org.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.SubscriptionStep.CreateDelegation\r\n(Org.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.BuildSubscriptionResponse.IsFinal`true`)."
      },
      "BuildSubscriptionResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BuildSubscriptionResponse"
              }
            ],
            "description": "Response for build-subscription (stateless two-phase flow). Returns\r\nOrg.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.SubscriptionStep.InitializeAuthority (Org.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.BuildSubscriptionResponse.IsFinal`false`) when the wallet's\r\nauthority doesn't exist yet, otherwise Org.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.SubscriptionStep.CreateDelegation\r\n(Org.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.BuildSubscriptionResponse.IsFinal`true`).",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BuildUnsubscribeRequestBody": {
        "type": "object",
        "properties": {
          "subscriptionId": {
            "type": "string",
            "description": "The subscription's id (from get-subscriptions) to revoke.",
            "format": "uuid"
          }
        },
        "additionalProperties": false,
        "description": "Request body for build-unsubscribe: the `subscriptionId` (the `id` from get-subscriptions) to\r\ncancel. The delegation account and signing wallet are resolved server-side."
      },
      "ClientType": {
        "enum": [
          "undefined",
          "wallet",
          "exchange",
          "vasp",
          "merchant",
          "other",
          "psp",
          "neobank",
          "iGaming",
          "aggregator"
        ],
        "type": "string"
      },
      "ConfigureTransferRequest": {
        "required": [
          "fromAuthToken",
          "fromType"
        ],
        "type": "object",
        "properties": {
          "fromAuthToken": {
            "minLength": 1,
            "type": "string",
            "description": "The authentication token to send assets from."
          },
          "fromType": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ],
            "description": "The type of the integration to send assets from."
          },
          "toAddresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TransferToAddress"
            },
            "description": "A list of available addresses provided by the API client. The list can contain all supported addresses by the client.\r\nFront API validates the addresses and returns the list of supported tokens and networks as the result of the operation.",
            "nullable": true
          },
          "symbol": {
            "type": "string",
            "description": "If provided, Front API returns only networks that support transferring of this symbol.",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "If provided, Front API configures the response to only return holdings with enough amount of this crypto for the transfer",
            "format": "double",
            "nullable": true
          },
          "amountInFiat": {
            "type": "number",
            "description": "If provided, Front API configures the response to only contain holdings with enough value (converted to fiat) for the transfer.",
            "format": "double",
            "nullable": true
          },
          "fiatCurrency": {
            "type": "string",
            "description": "Fiat currency that is to get corresponding converted fiat values of transfer and fee amounts. If not provided, defaults to `USD`.",
            "nullable": true
          },
          "caipNetworkId": {
            "type": "string",
            "description": "If provided, from API configures the response to include the requested network only.",
            "nullable": true
          },
          "networkId": {
            "type": "string",
            "description": "If provided, from API configures the response to include the requested network only.",
            "format": "uuid",
            "nullable": true
          },
          "isAtomicBatchTxAvailable": {
            "type": "boolean",
            "description": "If provided, if connected wallet supports batched transactions.(DeFi only)",
            "nullable": true
          },
          "isInclusiveFeeEnabled": {
            "type": "boolean",
            "description": "Specifies if all the fees are included in the amount to transfer."
          }
        },
        "additionalProperties": false
      },
      "ConfigureTransferResponse": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "succeeded",
              "failed",
              "validationFailed",
              "notAuthorizedTo",
              "notAuthorizedFrom",
              "kycRequired",
              "fromIntegrationNotSupported",
              "toIntegrationNotSupported"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ConfigureTransferStatus"
              }
            ],
            "description": "Status of the operation."
          },
          "holdings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConfigureTransferResultHolding"
            },
            "description": "List of holdings on the source account.",
            "nullable": true
          },
          "amountInFiat": {
            "type": "number",
            "description": "Amount in USD to transfer.",
            "format": "double",
            "nullable": true
          },
          "fiatCurrency": {
            "type": "string",
            "description": "Used fiat currency.",
            "nullable": true
          },
          "minimumTransferAmountInFiat": {
            "type": "number",
            "description": "Minimum transfer amount in fiat.",
            "format": "double",
            "nullable": true
          },
          "maximumTransferAmountInFiat": {
            "type": "number",
            "description": "Maximum transfer amount in fiat",
            "format": "double",
            "nullable": true
          },
          "supportedFiatCurrencies": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Supported fiat currencies for this transfer",
            "nullable": true
          },
          "transferBalanceFundingAvailability": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferBalanceFundingAvailabilityBase"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ConfigureTransferResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ConfigureTransferResponse"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ConfigureTransferResultHolding": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "description": "The symbol of the digital asset on the source account.",
            "nullable": true
          },
          "availableBalance": {
            "type": "number",
            "description": "Total available balance of the digital asset (sum across all networks).\r\nFor DeFi wallets, use Org.Front.Core.Contracts.Models.Brokers.B2B.ManagedTransfers.ConfigureTransferResultNetwork.MaximumAmount for per-network transfer limits.",
            "format": "double"
          },
          "availableBalanceInFiat": {
            "type": "number",
            "description": "Total available balance converted to fiat currency (sum across all networks).\r\nFor DeFi wallets, use Org.Front.Core.Contracts.Models.Brokers.B2B.ManagedTransfers.ConfigureTransferResultNetwork.MaximumAmount for per-network transfer limits.",
            "format": "double"
          },
          "price": {
            "type": "number",
            "description": "The price of the digital asset in fiat currency.",
            "format": "double"
          },
          "eligibleForTransfer": {
            "type": "boolean",
            "description": "Specifies if the asset is eligible for a transfer."
          },
          "networks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConfigureTransferResultNetwork"
            },
            "description": "Supported networks.",
            "nullable": true
          },
          "ineligibilityReason": {
            "allOf": [
              {
                "$ref": "#/components/schemas/HoldingTransferIneligibilityReason"
              }
            ],
            "description": "The reason indicating why the transfer of the current asset cannot be performed.",
            "nullable": true
          },
          "eligibleForTransferWithFunding": {
            "type": "boolean",
            "description": "Indicates that the asset is not eligible for a transfer with the current holding balance,\r\nbut can be made eligible after funding the balance using the cryptocurrency balance funding feature."
          },
          "logoUrl": {
            "type": "string",
            "description": "Logo url for holding.",
            "format": "uri",
            "nullable": true
          },
          "bridgingRouteType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingRouteType"
              }
            ],
            "description": "Specifies whether this asset is used for a bridge or a swap. Null = neither.\r\nReplaces the legacy Org.Front.Core.Contracts.Models.Brokers.B2B.ManagedTransfers.ConfigureTransferResultHolding.IsBridgingAsset flag.",
            "nullable": true
          },
          "isBridgingAsset": {
            "type": "boolean",
            "description": "Specifies if the asset is used for bridging between networks.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ConfigureTransferResultNetwork": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of the network.",
            "nullable": true
          },
          "id": {
            "type": "string",
            "description": "The Id of the network in Front system.",
            "format": "uuid"
          },
          "minimumAmount": {
            "type": "number",
            "description": "Then minimum amount that can be withdrawn using this network.",
            "format": "double",
            "nullable": true
          },
          "maximumAmount": {
            "type": "number",
            "description": "The maximum amount that can be withdrawn using this network.",
            "format": "double",
            "nullable": true
          },
          "totalEstimatedTransferFeeInFiat": {
            "type": "number",
            "description": "Total estimated transfer fee converted to fiat. Can consist of the fee taken by the financial institution and the\r\ngas fee.",
            "format": "double",
            "nullable": true
          },
          "minimumAmountInFiat": {
            "type": "number",
            "description": "The minimum amount that can be withdrawn using this network, converted to fiat currency.",
            "format": "double",
            "nullable": true
          },
          "maximumAmountInFiat": {
            "type": "number",
            "description": "The maximum amount that can be withdrawn using this network, converted to fiat currency.",
            "format": "double",
            "nullable": true
          },
          "isMaximumAmountEstimated": {
            "type": "boolean",
            "description": "True whenever the per-destination SmartFunding maximum computation is deferred (OR-680) for\r\nthis route — regardless of whether the client has an account-level\r\n`MaximumTransferAmountInFiat` configured. When set, Org.Front.Core.Contracts.Models.Brokers.B2B.ManagedTransfers.ConfigureTransferResultNetwork.MaximumAmount/\r\nOrg.Front.Core.Contracts.Models.Brokers.B2B.ManagedTransfers.ConfigureTransferResultNetwork.MaximumAmountInFiat is a loose, eligibility-safe upper bound rather than a\r\nprecise, fee-aware ceiling: either the client's configured cap converted at the holding's\r\nprice, or null when no cap is configured. Callers displaying a \"max allowable\" figure to the\r\nend user should not present this value as authoritative; the precise SmartFunding-inclusive\r\nceiling is only known once Preview prices the selected pair."
          },
          "estimatedNetworkGasFee": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferFee"
              }
            ],
            "description": "The gas fee that is estimated to be taken by the network. Depending on the integration, the network gas fee might be\r\ncovered by the `InstitutionTransferFee`.",
            "nullable": true
          },
          "estimatedATARentFee": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferFee"
              }
            ],
            "description": "The rent fee that is estimated to be required for creating an Associated Token Account (ATA) on Solana.\r\nThis fee is separate from the transaction/gas fee and is only required when the receiver doesn't have an ATA for the token.",
            "nullable": true
          },
          "bridgingFee": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingTransferDetails"
              }
            ],
            "description": "The gas fee that is estimated to be taken by bridging provider for bridging operation.",
            "nullable": true
          },
          "bridgingDirectionId": {
            "type": "string",
            "description": "The ID of the bridging direction configuration used for this network transfer.",
            "format": "uuid",
            "nullable": true
          },
          "institutionTransferFee": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferFee"
              }
            ],
            "description": "The fee that is taken by the institution. Depending on the institution, can cover the gas fee. Some institutions do not\r\ntake the transfer fee and only network fee is used for the transfer.",
            "nullable": true
          },
          "eligibleForTransfer": {
            "type": "boolean",
            "description": "Specifies if the asset is eligible for a transfer over the current network."
          },
          "ineligibilityReason": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NetworkTransferIneligibilityReason"
              }
            ],
            "description": "The reason indicating why the transfer cannot be performed over this network.",
            "nullable": true
          },
          "eligibleForTransferWithFunding": {
            "type": "boolean"
          },
          "bridgingRouteType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingRouteType"
              }
            ],
            "description": "Specifies whether this asset on this network is used for a bridge or a swap.\r\nNull = neither. Replaces the legacy Org.Front.Core.Contracts.Models.Brokers.B2B.ManagedTransfers.ConfigureTransferResultNetwork.IsBridgingAsset flag.",
            "nullable": true
          },
          "isBridgingAsset": {
            "type": "boolean",
            "description": "Specifies if the asset is used for bridging between networks on this specific network."
          },
          "toAddress": {
            "type": "string",
            "description": "The designated destination for sending the asset.",
            "nullable": true
          },
          "transferAmount": {
            "type": "number",
            "description": "Token's amount to transfer specified by the client.",
            "format": "double",
            "nullable": true
          },
          "minimumRequiredForTransferAmount": {
            "type": "number",
            "description": "The minimum amount of cryptocurrency that is required to be present in the account to perform the transfer.\r\nUnlike `minimum` field that indicates the minimum amount that can generally be transferred, this field indicates the minimum\r\nthat can be transferred given the current transfer configuration values, such as `amountInFiat` and `clientFee`.",
            "format": "double",
            "nullable": true
          },
          "caipNetworkId": {
            "type": "string",
            "nullable": true
          },
          "logoUrl": {
            "type": "string",
            "description": "Logo url for network.",
            "format": "uri",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ConfigureTransferStatus": {
        "enum": [
          "succeeded",
          "failed",
          "validationFailed",
          "notAuthorizedTo",
          "notAuthorizedFrom",
          "kycRequired",
          "fromIntegrationNotSupported",
          "toIntegrationNotSupported"
        ],
        "type": "string"
      },
      "CreateBridgedAddressRequest": {
        "required": [
          "destination",
          "origin",
          "transactionId",
          "userId"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "maxLength": 384,
            "minLength": 1,
            "type": "string",
            "description": "Your platform's unique identifier for the end user initiating this transfer.\r\nCombined with `transactionId` to enforce idempotency."
          },
          "transactionId": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string",
            "description": "Your platform's unique identifier for this transfer attempt.\r\nUse a stable, collision-free ID (e.g. an order ID or UUID).\r\nRe-submitting the same value will return the previously created address rather than\r\ngenerating a new one."
          },
          "origin": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingDestinationSpec"
              }
            ],
            "description": "The pay-in leg: network and asset whose single-use deposit address is returned.\r\nIn deposit flows this is usually the end-user’s wallet chain and token; in withdrawal-style flows\r\nit is the omnibus source chosen from `POST /api/v1/bridging/routes/withdrawal`.\r\nMust match a configured route from deposit or withdrawal route discovery."
          },
          "destination": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingDestinationWithAddressSpec"
              }
            ],
            "description": "The payout leg: network, asset, and address where bridged funds are delivered (e.g. user’s receive\r\naddress in a deposit flow, or their withdrawal address in a platform-led flow).\r\nMust match a route from deposit or withdrawal route discovery together with `origin`."
          }
        },
        "additionalProperties": false,
        "description": "Request body for `POST /api/v1/bridging/address`.\r\n\n\r\nUsed for both pay-in (deposit) and platform-led pay-in (withdrawal-style) bridging: the address returned\r\nis always on `origin`; funds must be sent there before Mesh can deliver to `destination`.\r\n\n\r\nThis endpoint is idempotent per `transactionId` scoped to `userId` and B2B client/environment:\r\nretries with the same origin, destination (network, asset, and `address`),\r\nand route return the same deposit address. Reusing the same `transactionId` with any different origin or\r\ndestination (network, asset, or address) returns an error and does not create a second transfer preview.\r\n"
      },
      "CreateBridgedAddressResponse": {
        "required": [
          "constraints",
          "selectedRoute",
          "tracking",
          "warnings"
        ],
        "type": "object",
        "properties": {
          "selectedRoute": {
            "allOf": [
              {
                "$ref": "#/components/schemas/HeadlessBridgingRouteWithAddress"
              }
            ],
            "description": "The confirmed route for this bridge: origin token/network, the deposit address to send to,\r\nand the destination token/network/address that will receive the funds.",
            "nullable": true
          },
          "constraints": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingAddressConstraintsDto"
              }
            ],
            "description": "Operational constraints for this deposit address — minimum amount, expiry, and address reuse policy.\r\nSurface these before the pay-in is broadcast (end user or your custody system).",
            "nullable": true
          },
          "tracking": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingTracking"
              }
            ],
            "description": "Internal IDs for tracking this bridge transfer. Store these to correlate webhook events\r\nand status updates back to this specific transfer.",
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Operational warnings to show before the pay-in is sent (single-use address, correct source network, fees, minimums).",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response body for `POST /api/v1/bridging/address`.\r\n\n\r\nContains the deposit address on the origin chain, constraints, tracking IDs, and warnings so you can\r\neither guide an end user to broadcast the pay-in or have your platform/custody system broadcast the\r\npay-in to the origin-chain deposit address in a withdrawal-style flow, then track delivery to the\r\ndestination address to completion.\r\n"
      },
      "CreateBridgedAddressResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CreateBridgedAddressResponse"
              }
            ],
            "description": "Response body for `POST /api/v1/bridging/address`.\r\n\n\r\nContains the deposit address on the origin chain, constraints, tracking IDs, and warnings so you can\r\neither guide an end user to broadcast the pay-in or have your platform/custody system broadcast the\r\npay-in to the origin-chain deposit address in a withdrawal-style flow, then track delivery to the\r\ndestination address to completion.\r\n",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CryptocurrencyAddressType": {
        "enum": [
          "ethAddress",
          "btcAddress",
          "ltcAddress",
          "solAddress",
          "algoAddress",
          "celoAddress",
          "cardanoAddress",
          "polygonAddress",
          "bnbAddress",
          "elrondAddress",
          "neoAddress",
          "xrpAddress",
          "flowAddress",
          "harmonyOneAddress",
          "tronAddress",
          "dogeAddress",
          "opAddress"
        ],
        "type": "string"
      },
      "CryptocurrencyFundingOptionType": {
        "enum": [
          "existingCryptocurrencyBalance",
          "buyingPowerPurchase",
          "paymentMethodDepositUsage",
          "cryptocurrencyConversion",
          "stableCoinNoFeeConversion",
          "cryptocurrencyBuyingPowerConversion",
          "cryptocurrencyMultiStepConversion"
        ],
        "type": "string"
      },
      "DeFiPositionDistribution": {
        "required": [
          "address",
          "amount",
          "caipNetworkId"
        ],
        "type": "object",
        "properties": {
          "caipNetworkId": {
            "type": "string",
            "description": "Cryptocurrency CAIP-2 network ID associated with this distribution.",
            "nullable": true
          },
          "address": {
            "type": "string",
            "description": "The wallet address on the specific network.",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "Amount of cryptocurrency allocated to this network and address.",
            "format": "double"
          }
        },
        "additionalProperties": false,
        "description": "Represents the distribution of a DeFi position across different networks and addresses.\r\nThis class holds the network-specific information, wallet address, and the amount of cryptocurrency\r\nallocated to each network and address for self-custody (DeFi) wallets."
      },
      "DeFiWalletHealthStatusInfo": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DeFiWalletVerification": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "description": "User identifier.",
            "nullable": true
          },
          "address": {
            "type": "string",
            "description": "Wallet address.",
            "nullable": true
          },
          "xPubKey": {
            "type": "string",
            "description": "Wallet Xpub key for Bitcon wallets.",
            "nullable": true
          },
          "networkType": {
            "enum": [
              "unknown",
              "evm",
              "solana",
              "bitcoin",
              "cardano",
              "tron",
              "avalancheX",
              "tezos",
              "dogecoin",
              "ripple",
              "stellar",
              "litecoin",
              "sui",
              "aptos",
              "tvm",
              "injective",
              "cosmos",
              "starknet",
              "hedera",
              "filecoin",
              "kusama",
              "enjin",
              "bittensor",
              "terra",
              "terraClassic",
              "xpla",
              "celestia",
              "fogo",
              "assetHub",
              "astarNative",
              "cryptoOrg",
              "osmosis",
              "dydx",
              "juno",
              "oraichain",
              "axelar",
              "kyve",
              "band",
              "akash",
              "fetch",
              "thorchain",
              "dymension",
              "initia",
              "eos",
              "wax",
              "casper",
              "mina",
              "near",
              "algorand",
              "stacks",
              "icp",
              "multiversx",
              "icon",
              "nano",
              "chia",
              "siacoin",
              "ravencoin",
              "digibyte",
              "bitcoinCash",
              "ontology",
              "neo",
              "arweave",
              "vara",
              "polymesh",
              "qtum",
              "brc20",
              "flow",
              "ark",
              "nervos",
              "canton",
              "kava",
              "harmony",
              "ioTeX",
              "theta",
              "veChain"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/NetworkType"
              }
            ],
            "description": "Wallet network type."
          },
          "verificationMethod": {
            "enum": [
              "signedMessage"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/WalletVerificationMethod"
              }
            ],
            "description": "Verification method."
          },
          "message": {
            "type": "string",
            "description": "Original message.",
            "nullable": true
          },
          "signedMessageHash": {
            "type": "string",
            "description": "Message signature.",
            "nullable": true
          },
          "timestamp": {
            "type": "integer",
            "description": "Verification created timestamp.",
            "format": "int64"
          }
        },
        "additionalProperties": false,
        "description": "Verifications data."
      },
      "DeFiWalletVerificationResponse": {
        "type": "object",
        "properties": {
          "verifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeFiWalletVerification"
            },
            "description": "List of found verifications.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Verifications response."
      },
      "DeFiWalletVerificationResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DeFiWalletVerificationResponse"
              }
            ],
            "description": "Verifications response.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DepositAddressItem": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string",
            "nullable": true
          },
          "symbol": {
            "type": "string",
            "nullable": true
          },
          "networkId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "caipId": {
            "type": "string",
            "nullable": true
          },
          "networkName": {
            "type": "string",
            "nullable": true
          },
          "logoUrl": {
            "type": "string",
            "nullable": true
          },
          "memo": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DepositBonusTotal": {
        "type": "object",
        "properties": {
          "transferPreviewId": {
            "type": "string",
            "format": "uuid"
          },
          "promisedAmountUsd": {
            "type": "number",
            "format": "double"
          },
          "promisedTokenAmount": {
            "type": "number",
            "format": "double"
          },
          "settlementAsset": {
            "type": "string",
            "nullable": true
          },
          "settlementNetwork": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DeviceType": {
        "enum": [
          "unknown",
          "android",
          "ios",
          "web"
        ],
        "type": "string"
      },
      "EligibilityReason": {
        "enum": [
          "unknown",
          "eligible",
          "killSwitchOff",
          "noPolicyConfigured",
          "notNeeded",
          "noStrategyEligible",
          "perStrategyKillSwitchOff",
          "brokerTypeMismatch",
          "tokenNotAllowlisted",
          "insufficientGasPaymentBalance",
          "tokenExtensionUnsupported",
          "walletNotInAllowlist",
          "routeTypeUnsupported",
          "routeNotSignatureOnly",
          "permit2AllowanceUnset",
          "selectorFailure",
          "sdkVersionUnsupported",
          "nativeAssetNotSupportedForSponsorship",
          "delegatedAccountUnsupported",
          "networkFeeAboveSponsorLimit"
        ],
        "type": "string",
        "description": "Explains why the gas-sponsorship selector or an individual strategy returned its verdict.\r\nSurfaced in Datadog telemetry tags (`gas_sponsorship.selector.{eligible|ineligible}`)\r\nand on `GasSponsorshipLedgerEntry` rows for post-hoc analysis. Numeric values are\r\npart of the telemetry contract — do not renumber."
      },
      "EligibilityVerdict": {
        "type": "object",
        "properties": {
          "eligible": {
            "type": "boolean"
          },
          "reason": {
            "enum": [
              "unknown",
              "eligible",
              "killSwitchOff",
              "noPolicyConfigured",
              "notNeeded",
              "noStrategyEligible",
              "perStrategyKillSwitchOff",
              "brokerTypeMismatch",
              "tokenNotAllowlisted",
              "insufficientGasPaymentBalance",
              "tokenExtensionUnsupported",
              "walletNotInAllowlist",
              "routeTypeUnsupported",
              "routeNotSignatureOnly",
              "permit2AllowanceUnset",
              "selectorFailure",
              "sdkVersionUnsupported",
              "nativeAssetNotSupportedForSponsorship",
              "delegatedAccountUnsupported",
              "networkFeeAboveSponsorLimit"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/EligibilityReason"
              }
            ],
            "description": "Explains why the gas-sponsorship selector or an individual strategy returned its verdict.\r\nSurfaced in Datadog telemetry tags (`gas_sponsorship.selector.{eligible|ineligible}`)\r\nand on `GasSponsorshipLedgerEntry` rows for post-hoc analysis. Numeric values are\r\npart of the telemetry contract — do not renumber."
          },
          "gasPaymentToken": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "The outcome of an `IGasSponsorshipStrategy.EvaluateEligibilityAsync` call, returned to\r\nthe selector. Always emitted to telemetry — both Org.Front.Core.Contracts.GasSponsorship.EligibilityVerdict.Eligible and ineligible\r\noutcomes are useful for understanding conversion impact."
      },
      "ErrorTypeTransfers": {
        "enum": [
          "invalidFromIntegrationToken",
          "invalidToIntegrationToken",
          "emptyWalletBalance",
          "networkDisabled",
          "kycRequired",
          "balanceNotEnough",
          "feeAssetBalanceNotEnough",
          "symbolNotSupportedBySource",
          "symbolNotSupportedByTarget",
          "symbolNotSupported",
          "notAuthorizedFromIntegrationToken",
          "notAuthorizedToIntegrationToken",
          "fromAccountNotSupported",
          "toAccountNotSupported",
          "configurationMismatch",
          "refusedByIntegration",
          "previewExpired",
          "transferAlreadyRequested",
          "noAvailableSmartContract",
          "expiredSmartDeposit",
          "withdrawalLocked",
          "amountBelowMinimum",
          "amountExceedsMaximum",
          "twoFaFailed",
          "passKeyNotSupported",
          "satoshiTestRequired",
          "coinbaseUnavailable",
          "binanceTravelRuleRestriction",
          "coinbaseTravelRuleRestriction",
          "symbolNotSupportedInRegion",
          "authenticationFailed",
          "accountNotFound",
          "addressNotAllowlisted",
          "addressAllowlistPending",
          "selfTransferNotAllowed",
          "sendAccessDisabled",
          "exceedsApplicationLimit",
          "belowMinimumFiatDeposit",
          "userInfoUnavailable",
          "unableToSend",
          "mfaNotSupported",
          "mfaBindingRequired",
          "withdrawalDisabledDueToSecurityReset",
          "withdrawalPendingDepositConfirmation",
          "withdrawalDisabledDueToScamRisk",
          "webWithdrawalLimitExceeded",
          "withdrawalDisabledDueToSuspiciousActivity",
          "withdrawalDisabledDueToC2CDepositFreeze",
          "tryAgainAfterLogin",
          "whitelistAddressRequired",
          "unableToSendContactSupport",
          "withdrawalLockedP2P",
          "reLogInFaceRecognitionDueToScamRisk",
          "travelRuleRestriction",
          "faceVerificationFailed",
          "withdrawalTimeoutDueToRecentFundsManipulation",
          "withdrawalTimeoutForNewDeviceAndNewAddress",
          "transactionForbidden",
          "serverFailureRetryable",
          "pinCodeInvalid",
          "pinCodeLocked",
          "passKeyAndCoinbaseRampNotSupported",
          "appUpdateRequired",
          "tooManyRequests",
          "invalidDestinationAddress",
          "fiatCurrencyNotSupported",
          "livenessCheckRequired",
          "riskScreeningBlocked",
          "notAuthorizedFromPermissionScope",
          "sponsorshipVendorUnavailable",
          "sponsoredTransactionRejected",
          "transactionNotVisibleOnChain",
          "recipientMismatch"
        ],
        "type": "string"
      },
      "EstimatedGasFeeForDisplay": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "number",
            "description": "Total estimated fee amount. Includes network gas fee, ATA rent fee (if applicable),\r\nOnly fees in the same currency as the network gas fee are included in the crypto amount.",
            "format": "double"
          },
          "symbol": {
            "type": "string",
            "description": "The currency symbol of the base fee (typically the network gas fee currency, e.g., \"SOL\").",
            "nullable": true
          },
          "amountInFiat": {
            "type": "number",
            "description": "Total estimated fee amount converted to fiat currency. Includes all applicable fees\r\n(network gas fee, ATA rent fee) regardless of currency.",
            "format": "double"
          },
          "includes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EstimatedGasFeeType"
            },
            "description": "List of fee types included in this estimate. Can include: EstimatedNetworkGasFee, EstimatedAtaRentFee",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstimatedGasFeeType": {
        "enum": [
          "estimatedNetworkGasFee",
          "estimatedAtaRentFee"
        ],
        "type": "string",
        "description": "Fee types that can be included in EstimatedGasFeeForDisplay.Includes array."
      },
      "ExchangeAccountInfoRequest": {
        "type": "object",
        "properties": {
          "authToken": {
            "type": "string",
            "description": "Auth token that allows connecting to the target institution.",
            "nullable": true
          },
          "integrationId": {
            "type": "string",
            "description": "The Id which uniquely identifies the integration.",
            "format": "uuid"
          },
          "accountInfo": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccountInfoType"
            },
            "description": "Account information to return.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Exchange account info request."
      },
      "ExecuteTransferMfaType": {
        "enum": [
          "unspecified",
          "phone",
          "email",
          "totp",
          "face",
          "tradingPin",
          "mobile",
          "passkey"
        ],
        "type": "string"
      },
      "ExecuteTransferRequest": {
        "required": [
          "fromAuthToken",
          "fromType",
          "previewId"
        ],
        "type": "object",
        "properties": {
          "fromAuthToken": {
            "minLength": 1,
            "type": "string",
            "description": "The authentication token to send the asset from."
          },
          "fromType": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ],
            "description": "The type of the integration to send the asset from."
          },
          "previewId": {
            "type": "string",
            "description": "Id of the Preview of the transfer.",
            "format": "uuid"
          },
          "mfaCode": {
            "type": "string",
            "description": "Multi-factor auth code that should be provided if the status of the transfer was `MfaRequired`.",
            "nullable": true
          },
          "tryAnotherMfa": {
            "type": "boolean",
            "description": "When user is unable to provide the primary Mfa this should be passed in to use fallback Mfa."
          },
          "challengeId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExecuteTransferResponse": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "succeeded",
              "inProgress",
              "failed",
              "mfaRequired",
              "emailConfirmationRequired",
              "deviceConfirmationRequired",
              "mfaFailed",
              "addressWhitelistRequired",
              "secondMfaRequired",
              "deFiWalletConfirmationRequired",
              "emailConfirmationApprovalRequired",
              "travelRuleRequired"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ExecuteTransferStatus"
              }
            ],
            "description": "The status of the transfer."
          },
          "mfaType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ExecuteTransferMfaType"
              }
            ],
            "description": "The type of the MFA when the status is `MfaRequired`.",
            "nullable": true
          },
          "verificationSteps": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExecuteTransferMfaType"
            },
            "description": "The type of the MFA when the status is `MfaRequired`.",
            "nullable": true
          },
          "travelRuleTransactionId": {
            "type": "integer",
            "description": "The transaction number for Travel rule required clients (optional, depends on an integration).",
            "format": "int32",
            "nullable": true
          },
          "qrCode": {
            "type": "string",
            "nullable": true
          },
          "qrCodeLink": {
            "type": "string",
            "nullable": true
          },
          "errorMessage": {
            "type": "string",
            "description": "Error message, if the operation did not complete successfully.",
            "nullable": true
          },
          "executeTransferResult": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ExecuteTransferResultResponse"
              }
            ],
            "description": "Result of the transfer initiation.",
            "nullable": true
          },
          "fallbackMfaAvailable": {
            "type": "boolean"
          },
          "challengeId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExecuteTransferResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ExecuteTransferResponse"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExecuteTransferResultResponse": {
        "type": "object",
        "properties": {
          "transferId": {
            "type": "string",
            "description": "The Id of the transfer by the integration.",
            "nullable": true
          },
          "status": {
            "enum": [
              "unknown",
              "failed",
              "frozen",
              "succeeded",
              "mfaRequired",
              "pending",
              "expired",
              "canceled",
              "waitingForSignature",
              "waitingForClearing",
              "awaitingApproval",
              "awaitingConfirmation",
              "awaitingVerification",
              "rejected",
              "pendingCancel",
              "emailVerification",
              "deviceConfirmationRequired",
              "mfaFailed",
              "addressWhitelistRequired",
              "secondMfaRequired",
              "emailConfirmationApprovalRequired",
              "travelRuleRequired"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerCryptocurrencyTransactionStatus"
              }
            ],
            "description": "The current status of the transfer."
          },
          "statusDetails": {
            "type": "string",
            "description": "Details of the current status of the transfer, as provided by the integration.",
            "nullable": true
          },
          "fromAddress": {
            "type": "string",
            "description": "The address of the source account or wallet.",
            "nullable": true
          },
          "toAddress": {
            "type": "string",
            "description": "The address of the target account or wallet.",
            "nullable": true
          },
          "symbol": {
            "type": "string",
            "description": "Transferred symbol.",
            "nullable": true
          },
          "networkName": {
            "type": "string",
            "description": "The name of the used network.",
            "nullable": true
          },
          "networkId": {
            "type": "string",
            "description": "The Id of the used network in Front system.",
            "format": "uuid"
          },
          "hash": {
            "type": "string",
            "description": "The hash of the blockchain transaction.",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "The transferred amount, in the symbol of the transfer.",
            "format": "double"
          },
          "amountInFiat": {
            "type": "number",
            "description": "The transferred amount, converted to the fiat currency.",
            "format": "double"
          },
          "totalAmountInFiat": {
            "type": "number",
            "description": "Total amount of the transfer including all fees, converted to fiat.",
            "format": "double"
          },
          "completedConfirmations": {
            "type": "integer",
            "description": "Current number of network confirmations.",
            "format": "int64",
            "nullable": true
          },
          "institutionTransferFee": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferFee"
              }
            ],
            "description": "The fee that was taken by the institution.",
            "nullable": true
          },
          "networkGasFee": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferFee"
              }
            ],
            "description": "The gas fee that was taken by the network. Depending on the integration, the network gas fee might be\r\ncovered by the `InstitutionTransferFee`.",
            "nullable": true
          },
          "smartContract": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SmartContractTransferAllocation"
              }
            ],
            "description": "Details of the allocated Smart Contract in case of 'Deposit' type transfers.",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "description": "The end-user identifier from the brokerage session.",
            "nullable": true
          },
          "clientTransactionId": {
            "type": "string",
            "description": "The client-provided transaction identifier, if supplied.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExecuteTransferStatus": {
        "enum": [
          "succeeded",
          "inProgress",
          "failed",
          "mfaRequired",
          "emailConfirmationRequired",
          "deviceConfirmationRequired",
          "mfaFailed",
          "addressWhitelistRequired",
          "secondMfaRequired",
          "deFiWalletConfirmationRequired",
          "emailConfirmationApprovalRequired",
          "travelRuleRequired"
        ],
        "type": "string"
      },
      "ExecuteWithBridgingResponse": {
        "type": "object",
        "properties": {
          "steps": {
            "type": "array",
            "items": { },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FailureReason": {
        "enum": [
          "notSupportedOnIntegration",
          "notSupportedOnNetwork",
          "invalidAddressFormat",
          "notSupportedOnToken"
        ],
        "type": "string"
      },
      "FinancialInstitutionIntegrationType": {
        "enum": [
          "brokerage",
          "bank",
          "exchange",
          "wallet",
          "address",
          "nftMarketplace",
          "deFiWallet"
        ],
        "type": "string"
      },
      "GasSponsorshipStrategyKind": {
        "enum": [
          "unknown",
          "metaMaskGasIncluded",
          "alchemySolanaFeePayer",
          "relayLinkEvmFeeSponsor"
        ],
        "type": "string",
        "description": "Identifies a concrete gas sponsorship strategy. Used as the keyed-services DI key for\r\n`IGasSponsorshipStrategy` registrations, persisted on\r\n`ClientGasSponsorshipPolicy.StrategyOrder`"
      },
      "GasSponsorshipStrategyKindEligibilityReasonKeyValuePair": {
        "type": "object",
        "properties": {
          "key": {
            "enum": [
              "unknown",
              "metaMaskGasIncluded",
              "alchemySolanaFeePayer",
              "relayLinkEvmFeeSponsor"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/GasSponsorshipStrategyKind"
              }
            ],
            "description": "Identifies a concrete gas sponsorship strategy. Used as the keyed-services DI key for\r\n`IGasSponsorshipStrategy` registrations, persisted on\r\n`ClientGasSponsorshipPolicy.StrategyOrder`"
          },
          "value": {
            "enum": [
              "unknown",
              "eligible",
              "killSwitchOff",
              "noPolicyConfigured",
              "notNeeded",
              "noStrategyEligible",
              "perStrategyKillSwitchOff",
              "brokerTypeMismatch",
              "tokenNotAllowlisted",
              "insufficientGasPaymentBalance",
              "tokenExtensionUnsupported",
              "walletNotInAllowlist",
              "routeTypeUnsupported",
              "routeNotSignatureOnly",
              "permit2AllowanceUnset",
              "selectorFailure",
              "sdkVersionUnsupported",
              "nativeAssetNotSupportedForSponsorship",
              "delegatedAccountUnsupported",
              "networkFeeAboveSponsorLimit"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/EligibilityReason"
              }
            ],
            "description": "Explains why the gas-sponsorship selector or an individual strategy returned its verdict.\r\nSurfaced in Datadog telemetry tags (`gas_sponsorship.selector.{eligible|ineligible}`)\r\nand on `GasSponsorshipLedgerEntry` rows for post-hoc analysis. Numeric values are\r\npart of the telemetry contract — do not renumber."
          }
        },
        "additionalProperties": false
      },
      "GetBridgingDepositRoutesRequest": {
        "required": [
          "destinations"
        ],
        "type": "object",
        "properties": {
          "destinations": {
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BridgingDestinationSpec"
            },
            "description": "Destination networks and assets Mesh should match against configured bridging directions\r\n(CAIP-2 network + symbol per entry). At least one is required."
          },
          "optimized": {
            "type": "boolean",
            "description": "When true (default), return at most one <b>destination</b> per distinct\r\n<b>source</b>. When false, return every matching origin→destination pair."
          }
        },
        "additionalProperties": false,
        "description": "Request body for `POST /api/v1/bridging/routes/deposit` — discover pay-in (source) options for fixed payout destinations."
      },
      "GetBridgingQuoteRequest": {
        "required": [
          "amount",
          "destination",
          "origin"
        ],
        "type": "object",
        "properties": {
          "origin": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingDestinationSpec"
              }
            ],
            "description": "The pay-in leg: network and asset that will be sent to the bridging address.\r\nMust match a configured route from deposit or withdrawal route discovery."
          },
          "destination": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingDestinationWithAddressSpec"
              }
            ],
            "description": "The payout leg: network, asset, and the address that will receive the bridged funds.\r\nMust match a route from deposit or withdrawal route discovery together with `origin`."
          },
          "amount": {
            "maximum": 1000000000,
            "minimum": 0.000000000000000001,
            "type": "number",
            "description": "Amount to be sent, denominated in the `origin` asset (e.g. `100` for 100 USDC).\r\nMust be greater than zero and at most 1,000,000,000.",
            "format": "double"
          }
        },
        "additionalProperties": false,
        "description": "Request body for `POST /api/v1/bridging/quote`.\r\n\n\r\nPrices a bridge for a caller-supplied pay-in amount without minting a deposit address or creating a\r\ntransfer. Call it while the end user is still choosing an amount; call `POST /api/v1/bridging/address`\r\nonly once they confirm.\r\n\n\r\nThe result is indicative. The deposit address returned by `/address` accepts any amount and the\r\nbridge provider prices what actually arrives at fill time.\r\n"
      },
      "GetBridgingQuoteResponse": {
        "required": [
          "constraints",
          "destination",
          "fees",
          "origin",
          "warnings"
        ],
        "type": "object",
        "properties": {
          "origin": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingQuoteOriginLeg"
              }
            ],
            "description": "The pay-in leg with the amount the quote was priced for.",
            "nullable": true
          },
          "destination": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingQuoteDestinationLeg"
              }
            ],
            "description": "The payout leg with the estimated and minimum amounts the recipient should receive.",
            "nullable": true
          },
          "fees": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingQuoteFees"
              }
            ],
            "description": "Provider fees that produce `destination.estimatedAmount`.",
            "nullable": true
          },
          "rate": {
            "type": "number",
            "description": "Destination units per one origin unit, net of fees (`estimatedAmount / amount`).",
            "format": "double"
          },
          "constraints": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingQuoteConstraintsDto"
              }
            ],
            "description": "Pay-in amount limits for this route. The same values are returned as `constraints` by\r\n`POST /api/v1/bridging/address`; a quote below `constraints.minimumAmount`\r\nis rejected with `amountBelowMinimum` before the provider is consulted.",
            "nullable": true
          },
          "quotedAt": {
            "type": "integer",
            "description": "Unix timestamp (seconds) at which this quote was produced. Re-quote if the user lingers.",
            "format": "int64"
          },
          "warnings": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Human-readable caveats to surface alongside the estimate.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response body for `POST /api/v1/bridging/quote`.\r\n\n\r\nAn indicative price for bridging `origin` into `destination`. Nothing is\r\npersisted and no deposit address is created. Amounts are in the respective leg's asset.\r\n"
      },
      "GetBridgingQuoteResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/GetBridgingQuoteResponse"
              }
            ],
            "description": "Response body for `POST /api/v1/bridging/quote`.\r\n\n\r\nAn indicative price for bridging `origin` into `destination`. Nothing is\r\npersisted and no deposit address is created. Amounts are in the respective leg's asset.\r\n",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetBridgingRoutesResponse": {
        "required": [
          "routes"
        ],
        "type": "object",
        "properties": {
          "routes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HeadlessBridgingRouteInfo"
            },
            "description": "All available bridging routes that match the requested destinations.\r\nEach route describes a unique source token/network combination and the destination\r\nit can bridge into.\r\n\nAn empty list means no routes are currently available for the requested destinations.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response body for `POST /api/v1/bridging/routes/deposit` and `POST /api/v1/bridging/routes/withdrawal`."
      },
      "GetBridgingRoutesResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/GetBridgingRoutesResponse"
              }
            ],
            "description": "Response body for `POST /api/v1/bridging/routes/deposit` and `POST /api/v1/bridging/routes/withdrawal`.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetBridgingWithdrawalRoutesRequest": {
        "required": [
          "sources"
        ],
        "type": "object",
        "properties": {
          "sources": {
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BridgingDestinationSpec"
            },
            "description": "Source networks and assets (e.g. Stake omnibus chain + token). At least one is required."
          },
          "optimized": {
            "type": "boolean",
            "description": "When true (default), return at most one <b>source</b> per distinct\r\n<b>destination</b>. When false, return every matching origin→destination pair."
          }
        },
        "additionalProperties": false,
        "description": "Request body for `POST /api/v1/bridging/routes/withdrawal` — discover payout (destination) options\r\nwhen funding from fixed omnibus (source) legs."
      },
      "GetLinkTokenRequest": {
        "required": [
          "userId"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "maxLength": 300,
            "minLength": 1,
            "type": "string",
            "description": "A unique Id representing the end user. Typically this will be a user Id from the\r\nclient application. Personally identifiable information, such as an email address or phone number,\r\nshould not be used. 300 characters length maximum."
          },
          "brokerType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ],
            "description": "Type of integration to redirect to. Will redirect to catalog if not provided.\r\nNot supported types: DeFiWallet, CryptocurrencyAddress, CryptocurrencyWallet.",
            "nullable": true,
            "deprecated": true
          },
          "restrictMultipleAccounts": {
            "type": "boolean",
            "description": "The final screen of Link allows users to “continue” back to your app or “Link another account.”\r\nIf this param is present then this button will be hidden."
          },
          "transferOptions": {
            "allOf": [
              {
                "$ref": "#/components/schemas/LinkTokenTransferOptions"
              }
            ],
            "description": "Encapsulates transaction-related parameters, including destination addresses and the amount to transfer in fiat currency.",
            "nullable": true
          },
          "integrationId": {
            "type": "string",
            "description": "A unique identifier representing a specific integration obtained from the list of available integrations.",
            "format": "uuid",
            "nullable": true
          },
          "disableApiKeyGeneration": {
            "type": "boolean",
            "description": "For direct integrations that also support API keys, Link presents the user with the option to generate an API key for seamless access.\r\nIf this param is true, this feature will be disabled."
          },
          "verifyWalletOptions": {
            "allOf": [
              {
                "$ref": "#/components/schemas/VerifyWalletOptions"
              }
            ],
            "description": "Encapsulates verify DeFi wallet parameters.",
            "nullable": true
          },
          "subClientId": {
            "type": "string",
            "description": "Sub Client ID, for B2B2B clients to tailor Link experience for their clients.",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetSubscriptionsResponse": {
        "type": "object",
        "properties": {
          "subscriptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubscriptionSummaryView"
            },
            "description": "The caller's subscriptions for the requested wallet, newest first.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response for get-subscriptions: the caller's subscriptions granted by one wallet. Items are the same\r\nOrg.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.SubscriptionSummaryView the catalog-init (exchange-initial) response embeds per integration\r\n— one projection, two scopings — so the home screen and this endpoint always agree."
      },
      "GetSubscriptionsResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/GetSubscriptionsResponse"
              }
            ],
            "description": "Response for get-subscriptions: the caller's subscriptions granted by one wallet. Items are the same\r\nOrg.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.SubscriptionSummaryView the catalog-init (exchange-initial) response embeds per integration\r\n— one projection, two scopings — so the home screen and this endpoint always agree.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GoodsDetails": {
        "type": "object",
        "properties": {
          "goodsType": {
            "type": "string",
            "description": "The type of the goods for the order (01: Tangible Goods, 02: Virtual Goods).",
            "nullable": true
          },
          "goodsCategory": {
            "type": "string",
            "description": "The category of goods (e.g., Electronics, Food).",
            "nullable": true
          },
          "referenceGoodsId": {
            "type": "string",
            "description": "A unique reference ID to identify the goods.",
            "nullable": true
          },
          "goodsName": {
            "type": "string",
            "description": "The name of the goods.",
            "nullable": true
          },
          "goodsDetail": {
            "type": "string",
            "description": "Additional details about the goods (optional).",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HeadlessBridgingRouteInfo": {
        "required": [
          "destination",
          "origin"
        ],
        "type": "object",
        "properties": {
          "origin": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingDestinationSpec"
              }
            ],
            "description": "The token and network for the pay-in (deposit address is on this leg).\r\nUse these values in the `origin` field of `POST /api/v1/bridging/address`.",
            "nullable": true
          },
          "destination": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingDestinationSpec"
              }
            ],
            "description": "The token and network that bridged funds will be delivered to.",
            "nullable": true
          },
          "displayName": {
            "type": "string",
            "description": "Human-readable label for the route, suitable for display in a UI.\r\nExample: `USDC on Polygon → USDC on Base`.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A discovered bridging route returned by headless route discovery (`POST /api/v1/bridging/routes/deposit` or `POST /api/v1/bridging/routes/withdrawal`),\r\nincluding a human-readable display name."
      },
      "HeadlessBridgingRouteWithAddress": {
        "required": [
          "bridgingAddress",
          "destination",
          "origin"
        ],
        "type": "object",
        "properties": {
          "origin": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingDestinationSpec"
              }
            ],
            "description": "The pay-in token and network (deposit address is valid for this asset on this chain).\r\nWho broadcasts the transfer depends on your product (end user or platform omnibus).",
            "nullable": true
          },
          "bridgingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingAddress"
              }
            ],
            "description": "The one-time deposit address: the pay-in amount must be sent here on the origin network to initiate the bridge.",
            "nullable": true
          },
          "destination": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingDestinationWithAddressSpec"
              }
            ],
            "description": "The destination token, network, and wallet address where bridged funds will be delivered.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "The confirmed bridging route for a created address: pay-in leg, one-time deposit address on that leg,\r\nand delivery leg (network, asset, recipient address)."
      },
      "HoldingTransferIneligibilityReason": {
        "enum": [
          "noEligibleNetworks",
          "symbolDoesNotMatch",
          "notSupportedForTransferByTarget",
          "notSupportedForTransferBySource",
          "eligibleWithFunding",
          "amountNotSufficient",
          "noPrice"
        ],
        "type": "string"
      },
      "HoldingsModel": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "succeeded",
              "failed",
              "notAuthorized"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerRequestStatus"
              }
            ],
            "description": "Status of the request to the institution's API"
          },
          "errorMessage": {
            "type": "string",
            "description": "Error message specifying the problem",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly error message, optimized to be shown to the end user",
            "nullable": true
          },
          "notSupportedEquityPositions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Position"
            },
            "description": "The equity positions Front could not recognize",
            "nullable": true
          },
          "notSupportedCryptocurrencyPositions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Position"
            },
            "description": "The cryptocurrency positions Front could not recognize",
            "nullable": true
          },
          "nftPositions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/B2BNftPosition"
            },
            "description": "NFT holdings on the account",
            "nullable": true
          },
          "optionPositions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/B2BOptionPosition"
            },
            "description": "Option holdings on the account",
            "nullable": true
          },
          "type": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ],
            "description": "Type of the institution"
          },
          "accountId": {
            "type": "string",
            "description": "External institution's account id (returned by the institution)",
            "nullable": true
          },
          "institutionName": {
            "type": "string",
            "description": "Friendly name of the connected institution",
            "nullable": true
          },
          "accountName": {
            "type": "string",
            "description": "Name of the account as returned from the institution",
            "nullable": true
          },
          "equityPositions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PositionWithMarketValue"
            },
            "description": "Equity holdings, such as stocks and ETFs",
            "nullable": true
          },
          "cryptocurrencyPositions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PositionWithMarketValue"
            },
            "description": "Cryptocurrency holdings on the account",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HoldingsModelApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/HoldingsModel"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HoldingsRequest": {
        "required": [
          "authToken",
          "type"
        ],
        "type": "object",
        "properties": {
          "authToken": {
            "minLength": 1,
            "type": "string",
            "description": "Auth token that allows connecting to the target institution"
          },
          "type": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ],
            "description": "Type of the institution to connect"
          },
          "includeMarketValue": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "IncentiveProgramKind": {
        "enum": [
          "none",
          "deposit",
          "firstConnectedDeposit",
          "secondConnectedDeposit",
          "largerDeposit"
        ],
        "type": "string",
        "description": "What kind of incentive program an offer or a reward belongs to. A client can run one deposit program of each kind\r\nat once: each kind has its own offer per Link session, its own quotes on a preview and its own reward for a deposit."
      },
      "IndexRange": {
        "type": "object",
        "properties": {
          "start": {
            "type": "integer",
            "description": "The zero-based start index (inclusive)",
            "format": "int64"
          },
          "end": {
            "type": "integer",
            "description": "The zero-based end index (inclusive)",
            "format": "int64"
          },
          "isValid": {
            "type": "boolean",
            "readOnly": true
          },
          "count": {
            "type": "integer",
            "format": "int64",
            "readOnly": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a zero-based index range"
      },
      "IntegrationLogo": {
        "type": "object",
        "properties": {
          "logoLightUrl": {
            "type": "string",
            "description": "Light logo url.",
            "nullable": true
          },
          "logoDarkUrl": {
            "type": "string",
            "description": "Dark logo url.",
            "nullable": true
          },
          "logoWhiteUrl": {
            "type": "string",
            "description": "White logo url.",
            "nullable": true
          },
          "logoBlackUrl": {
            "type": "string",
            "description": "Black logo url.",
            "nullable": true
          },
          "logoColorUrl": {
            "type": "string",
            "description": "Colored logo url.",
            "nullable": true
          },
          "iconLightUrl": {
            "type": "string",
            "description": "White icon url.",
            "nullable": true
          },
          "iconDarkUrl": {
            "type": "string",
            "description": "Light icon url.",
            "nullable": true
          },
          "iconWhiteUrl": {
            "type": "string",
            "description": "Dark icon url.",
            "nullable": true
          },
          "iconBlackUrl": {
            "type": "string",
            "description": "Balck icon url.",
            "nullable": true
          },
          "iconColorUrl": {
            "type": "string",
            "description": "Colored logo url.",
            "nullable": true
          },
          "base64Logo": {
            "type": "string",
            "description": "Base64 PNG logo.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Integreation logos."
      },
      "IntegrationModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Integration unique identifier.",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "Integration name.",
            "nullable": true
          },
          "type": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ],
            "description": "Integration type."
          },
          "deFiWalletProviderId": {
            "type": "string",
            "description": "DeFi wallet provider identifier.",
            "nullable": true
          },
          "categories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FinancialInstitutionIntegrationType"
            },
            "description": "Integration categories.",
            "nullable": true
          },
          "style": {
            "allOf": [
              {
                "$ref": "#/components/schemas/IntegrationStyle"
              }
            ],
            "description": "Style object.",
            "nullable": true
          },
          "logo": {
            "allOf": [
              {
                "$ref": "#/components/schemas/IntegrationLogo"
              }
            ],
            "description": "Logo object.",
            "nullable": true
          },
          "forgotPasswordLink": {
            "type": "string",
            "description": "Forgot Password Link.",
            "nullable": true
          },
          "cryptoTransfersSupported": {
            "type": "boolean",
            "description": "Indicates if crypto transfers supported by integration."
          },
          "brokerGroup": {
            "enum": [
              "none",
              "binance",
              "coinbase",
              "kraken"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerGroup"
              }
            ],
            "description": "Logical exchange group the BrokerType belongs to (BrokerGroup.None when ungrouped)."
          }
        },
        "additionalProperties": false,
        "description": "Integration model."
      },
      "IntegrationNetwork": {
        "type": "object",
        "properties": {
          "networkId": {
            "type": "string",
            "format": "uuid"
          },
          "netwokName": {
            "type": "string",
            "nullable": true
          },
          "innerNetworkId": {
            "type": "string",
            "nullable": true
          },
          "networkLogo": {
            "type": "string",
            "nullable": true
          },
          "brokerType": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "IntegrationNetworkResponse": {
        "type": "object",
        "properties": {
          "integrations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IntegrationNetworksModelResponse"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IntegrationNetworkResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/IntegrationNetworkResponse"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IntegrationNetworksModelResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Integration unique identifier.",
            "format": "uuid"
          },
          "type": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ],
            "description": "Type of the integration."
          },
          "name": {
            "type": "string",
            "description": "Name of the integration.",
            "nullable": true
          },
          "networks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NetworkResponseWithSupportedDevices"
            },
            "description": "The list of supported networks and corresponding tokens for the integration.",
            "nullable": true
          },
          "supportsOutgoingTransfers": {
            "type": "boolean",
            "description": "Specifies if the integration supports outgoing transfers."
          },
          "supportsIncomingTransfers": {
            "type": "boolean",
            "description": "Specifies if the integration supports incoming transfers."
          }
        },
        "additionalProperties": false
      },
      "IntegrationStyle": {
        "type": "object",
        "properties": {
          "fieldActiveLight": {
            "type": "string",
            "description": "Field Active Light Hex Color",
            "nullable": true
          },
          "buttonPrimaryLight": {
            "type": "string",
            "description": "Button Primary Light Hex Color",
            "nullable": true
          },
          "buttonHoverLight": {
            "type": "string",
            "description": "Button Hover Light Hex Color",
            "nullable": true
          },
          "buttonTextLight": {
            "type": "string",
            "description": "Button Text Light Hex Color",
            "nullable": true
          },
          "buttonTextHoverLight": {
            "type": "string",
            "description": "Button Text Hover Light Hex Color",
            "nullable": true
          },
          "fieldActiveDark": {
            "type": "string",
            "description": "Field Active Dark Hex Color",
            "nullable": true
          },
          "buttonPrimaryDark": {
            "type": "string",
            "description": "Button Primary Dark Hex Color",
            "nullable": true
          },
          "buttonHoverDark": {
            "type": "string",
            "description": "Button Hover Dark Hex Color",
            "nullable": true
          },
          "buttonTextDark": {
            "type": "string",
            "description": "Button Text Dark Hex Color",
            "nullable": true
          },
          "buttonTextHoverDark": {
            "type": "string",
            "description": "Button Text Hover Dark Hex Color",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Integration style"
      },
      "IntegrationsResponse": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IntegrationModel"
            },
            "description": "Integrations list.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Integration response."
      },
      "IntegrationsResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/IntegrationsResponse"
              }
            ],
            "description": "Integration response.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LinkTokenModel": {
        "type": "object",
        "properties": {
          "linkToken": {
            "type": "string",
            "nullable": true
          },
          "paymentLink": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LinkTokenModelApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/LinkTokenModel"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LinkTokenTransferOptions": {
        "type": "object",
        "properties": {
          "toAddresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TransferToAddressWithAmount"
            },
            "description": "The list of destination addresses with corresponding networks are asset symbols that\r\ncan be used to initiate incoming transfers. If this parameter is present, the Link\r\nsession will continue to transfer flow after connecting the origin account.",
            "nullable": true
          },
          "fromPairs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TransferFromPair"
            },
            "description": "Withdrawal only, and required for it: the assets and networks your custodian can pay the\r\nwithdrawal from, 1 to 20 entries, each with its own `maxAmount`. Link offers the user the\r\ndestinations Mesh can deliver to from these pairs. Do not send `toAddresses` or\r\n`amountInFiat` with a withdrawal.",
            "nullable": true
          },
          "amountInFiat": {
            "type": "number",
            "description": "Amount in USD to transfer. If not provided users can specify amount by themselves.",
            "format": "double",
            "nullable": true
          },
          "transactionId": {
            "maxLength": 128,
            "minLength": 0,
            "type": "string",
            "description": "Transaction ID Provided by client to track transaction in future calls",
            "nullable": true
          },
          "clientFee": {
            "maximum": 1,
            "minimum": 0,
            "type": "number",
            "description": "A percentage fee (input as a ratio, eg. 0.02500 = 2.500%) added onto your users' gross payments to your company.\r\nThis will override any default fee entered in your Mesh dashboard for an individual transaction.\r\nPlease note: this fee should only be used for Payments (when the transfer destination is an address owned by your company),\r\nand not for Deposits (when the transfer destination is an address owned by the end user).\r\nIf used for Deposits, it will increase the size of the user's Deposit by the fee amount,\r\nbut will incorrectly show to the user as a fee.",
            "format": "double",
            "nullable": true
          },
          "transferType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferTypeEnum"
              }
            ],
            "description": "Deposit: The user is transferring crypto to a wallet they own on your platform.\r\nPayment: The user is transferring crypto to a wallet your company owns in exchange for receiving a good or service.\r\nOnramp: The user is using balances and linked payment methods in an exchange account to fund the purchase of crypto in their wallet on your platform.\r\nFiatOnRamp: The user is purchasing crypto using a bank transfer (e.g. SPEI, SEPA) via a fiat-to-crypto ramp provider.\r\nFiatOffRamp: The user is selling crypto to receive fiat via a bank transfer through a crypto-to-fiat ramp provider.\r\nWithdrawal: Your custodian pays crypto out to a wallet or exchange account the user chooses in Link. Requires\r\n`fromPairs`. After the user confirms, Mesh sends the `withdrawal.pay_in_requested` webhook with the address and\r\nexact amount your custodian pays.",
            "nullable": true
          },
          "isInclusiveFeeEnabled": {
            "type": "boolean",
            "description": "Specifies if all the fees are included in the amount to transfer."
          },
          "description": {
            "maxLength": 256,
            "minLength": 0,
            "type": "string",
            "description": "Transaction description. (Binance Pay)",
            "nullable": true
          },
          "goodsDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GoodsDetails"
            },
            "description": "Goods details for the transaction. (Binance Pay)",
            "nullable": true
          },
          "generatePayLink": {
            "type": "boolean",
            "description": "Link presents the user with the option to generate a unique payment link for Mesh pay scenarios.\r\nIf this param is true, a unique payment link will be returned."
          },
          "payLinkReturnUrl": {
            "maxLength": 2048,
            "minLength": 0,
            "type": "string",
            "description": "If this parameter is specified then user will be redirected to this url after UI is closed.\r\nReturned for both success and unsuccess scenarios.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ManagedBrokerCryptocurrencyDepositAddressListRequest": {
        "required": [
          "authToken",
          "symbol",
          "type"
        ],
        "type": "object",
        "properties": {
          "authToken": {
            "minLength": 1,
            "type": "string",
            "description": "Auth token that allows connecting to the target institution"
          },
          "type": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ],
            "description": "Type of the institution to connect"
          },
          "symbol": {
            "minLength": 1,
            "type": "string",
            "description": "Symbol of the required cryptocurrency, e.g. ETH or BTC."
          },
          "networks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NetworkIdentifier"
            },
            "description": "Specifies which networks to use to obtain the deposit address of the `Symbol` asset.",
            "nullable": true
          },
          "mfaCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ManagedBrokerCryptocurrencyDepositAddressRequest": {
        "required": [
          "authToken",
          "type"
        ],
        "type": "object",
        "properties": {
          "authToken": {
            "minLength": 1,
            "type": "string",
            "description": "Auth token that allows connecting to the target institution"
          },
          "type": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ],
            "description": "Type of the institution to connect"
          },
          "symbol": {
            "type": "string",
            "description": "Symbol of the required cryptocurrency, e.g. ETH or BTC.\r\nCan be used instead of the `AddressType` field.",
            "nullable": true
          },
          "addressType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CryptocurrencyAddressType"
              }
            ],
            "description": "Type of the address of symbol to be transferred. Providing `EthAddress` will assume a transfer of ETH over Ethereum blockchain.\r\nCan be used instead of `Symbol` field.",
            "nullable": true
          },
          "networkId": {
            "type": "string",
            "description": "Specifies which the network to use to obtain the deposit address of the `Symbol` asset.",
            "format": "uuid"
          },
          "mfaCode": {
            "type": "string",
            "description": "Some of integrations require MFA code to create a deposit address, e.g. KrakenDirect",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NetworkIdentifier": {
        "type": "object",
        "properties": {
          "networkId": {
            "type": "string",
            "description": "Either NetworkId or CaipId should be present, but not both.",
            "format": "uuid",
            "nullable": true
          },
          "caipId": {
            "type": "string",
            "description": "Either NetworkId or CaipId should be present, but not both.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NetworkModelResponse": {
        "type": "object",
        "properties": {
          "networks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NetworkResponseWithIntegrations"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NetworkModelResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NetworkModelResponse"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NetworkResponseToken": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "description": "Token symbol.",
            "nullable": true
          },
          "logoUrl": {
            "type": "string",
            "description": "Token logo URL.",
            "nullable": true
          },
          "contractAddress": {
            "type": "string",
            "description": "Optional. The contract address for this token on the network.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Token information for a network."
      },
      "NetworkResponseWithIntegrations": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Id of the network in Mesh system. Should be used to initiate transfers.",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "The name if the network.",
            "nullable": true
          },
          "chainId": {
            "type": "string",
            "description": "The Inner id of the chain, used for reference. For example, Polygon's (MATIC) chain Id is 137.",
            "nullable": true
          },
          "logoUrl": {
            "type": "string",
            "description": "Network logo URL.",
            "nullable": true
          },
          "supportedTokens": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The list of tokens that are currently supported to be transferred using the network.",
            "nullable": true
          },
          "nativeSymbol": {
            "type": "string",
            "description": "The symbol of the network's native cryptocurrency.",
            "nullable": true
          },
          "networkType": {
            "enum": [
              "unknown",
              "evm",
              "solana",
              "bitcoin",
              "cardano",
              "tron",
              "avalancheX",
              "tezos",
              "dogecoin",
              "ripple",
              "stellar",
              "litecoin",
              "sui",
              "aptos",
              "tvm",
              "injective",
              "cosmos",
              "starknet",
              "hedera",
              "filecoin",
              "kusama",
              "enjin",
              "bittensor",
              "terra",
              "terraClassic",
              "xpla",
              "celestia",
              "fogo",
              "assetHub",
              "astarNative",
              "cryptoOrg",
              "osmosis",
              "dydx",
              "juno",
              "oraichain",
              "axelar",
              "kyve",
              "band",
              "akash",
              "fetch",
              "thorchain",
              "dymension",
              "initia",
              "eos",
              "wax",
              "casper",
              "mina",
              "near",
              "algorand",
              "stacks",
              "icp",
              "multiversx",
              "icon",
              "nano",
              "chia",
              "siacoin",
              "ravencoin",
              "digibyte",
              "bitcoinCash",
              "ontology",
              "neo",
              "arweave",
              "vara",
              "polymesh",
              "qtum",
              "brc20",
              "flow",
              "ark",
              "nervos",
              "canton",
              "kava",
              "harmony",
              "ioTeX",
              "theta",
              "veChain"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/NetworkType"
              }
            ],
            "description": "Network type."
          },
          "tokens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NetworkResponseToken"
            },
            "description": "The list of tokens that are currently supported to be transferred using the network.",
            "nullable": true
          },
          "supportedBrokerTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BrokerType"
            },
            "description": "The list of types of integrations that are currently supported to perform transfers over the network.",
            "nullable": true
          },
          "addressPattern": {
            "type": "string",
            "description": "Optional. The regex pattern for validating addresses on this network.",
            "nullable": true
          },
          "requiresAddressTag": {
            "type": "boolean",
            "description": "Whether a deposit to this network must carry a destination tag/memo (`addressTag`), e.g. XRP Ledger,\r\nStellar or Cosmos-family networks. When `true`, an address without its tag must not be used: funds sent\r\nwithout the tag may be lost. Just-in-Time (JIT) address providers must return `addressTag` for these\r\nnetworks or Mesh rejects the address."
          }
        },
        "additionalProperties": false,
        "description": "Crypto network."
      },
      "NetworkResponseWithSupportedDevices": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Id of the network in Mesh system. Should be used to initiate transfers.",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "The name if the network.",
            "nullable": true
          },
          "chainId": {
            "type": "string",
            "description": "The Inner id of the chain, used for reference. For example, Polygon's (MATIC) chain Id is 137.",
            "nullable": true
          },
          "logoUrl": {
            "type": "string",
            "description": "Network logo URL.",
            "nullable": true
          },
          "supportedTokens": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The list of tokens that are currently supported to be transferred using the network.",
            "nullable": true
          },
          "nativeSymbol": {
            "type": "string",
            "description": "The symbol of the network's native cryptocurrency.",
            "nullable": true
          },
          "supportedDevices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeviceType"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NetworkTransferIneligibilityReason": {
        "enum": [
          "amountNotSufficient",
          "gasFeeAssetBalanceNotEnough",
          "noTargetNetworkFound",
          "refusedByInstitution",
          "eligibleWithFunding",
          "balanceBelowRequestedAmount",
          "requestedAmountBelowMinimum",
          "balanceBelowMinimum",
          "requestedAmountBelowFees",
          "requestedAmountBelowClientMinimum",
          "requestedAmountAboveClientMaximum",
          "noPrice",
          "nyCoinbaseUserRestrictions",
          "gasFeeAssetAndBalanceNotEnough",
          "exceedsTopNHoldingsCap",
          "manualTransferOnly"
        ],
        "type": "string"
      },
      "NetworkType": {
        "enum": [
          "unknown",
          "evm",
          "solana",
          "bitcoin",
          "cardano",
          "tron",
          "avalancheX",
          "tezos",
          "dogecoin",
          "ripple",
          "stellar",
          "litecoin",
          "sui",
          "aptos",
          "tvm",
          "injective",
          "cosmos",
          "starknet",
          "hedera",
          "filecoin",
          "kusama",
          "enjin",
          "bittensor",
          "terra",
          "terraClassic",
          "xpla",
          "celestia",
          "fogo",
          "assetHub",
          "astarNative",
          "cryptoOrg",
          "osmosis",
          "dydx",
          "juno",
          "oraichain",
          "axelar",
          "kyve",
          "band",
          "akash",
          "fetch",
          "thorchain",
          "dymension",
          "initia",
          "eos",
          "wax",
          "casper",
          "mina",
          "near",
          "algorand",
          "stacks",
          "icp",
          "multiversx",
          "icon",
          "nano",
          "chia",
          "siacoin",
          "ravencoin",
          "digibyte",
          "bitcoinCash",
          "ontology",
          "neo",
          "arweave",
          "vara",
          "polymesh",
          "qtum",
          "brc20",
          "flow",
          "ark",
          "nervos",
          "canton",
          "kava",
          "harmony",
          "ioTeX",
          "theta",
          "veChain"
        ],
        "type": "string"
      },
      "NftBlockchain": {
        "enum": [
          "ethereum",
          "polygon",
          "klaytn"
        ],
        "type": "string"
      },
      "NftOrder": {
        "type": "object",
        "properties": {
          "orderSide": {
            "enum": [
              "buy",
              "sell"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/NftOrderSide"
              }
            ]
          },
          "symbol": {
            "type": "string",
            "nullable": true
          },
          "price": {
            "type": "number",
            "format": "double"
          },
          "priceUsd": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "createdTimestamp": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "updatedTimestamp": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "symbolLogo": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NftOrderSide": {
        "enum": [
          "buy",
          "sell"
        ],
        "type": "string"
      },
      "NftPositionWithMarketValues": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "number",
            "format": "double"
          },
          "costBasis": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "contractAddress": {
            "type": "string",
            "nullable": true
          },
          "paymentTokenSymbol": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "imageOriginalUrl": {
            "type": "string",
            "nullable": true
          },
          "animationUrl": {
            "type": "string",
            "nullable": true
          },
          "backgroundColor": {
            "type": "string",
            "nullable": true
          },
          "marketplaceId": {
            "type": "string",
            "nullable": true
          },
          "tokenId": {
            "type": "string",
            "nullable": true
          },
          "numberOfSales": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "contractType": {
            "type": "string",
            "nullable": true
          },
          "contractName": {
            "type": "string",
            "nullable": true
          },
          "contractSchemaName": {
            "type": "string",
            "nullable": true
          },
          "contractSymbol": {
            "type": "string",
            "nullable": true
          },
          "contractDescription": {
            "type": "string",
            "nullable": true
          },
          "marketplacePermalink": {
            "type": "string",
            "nullable": true
          },
          "contractExternalLink": {
            "type": "string",
            "nullable": true
          },
          "creatorAddress": {
            "type": "string",
            "nullable": true
          },
          "currentOffer": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NftOrder"
              }
            ],
            "nullable": true
          },
          "lastSale": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NftOrder"
              }
            ],
            "nullable": true
          },
          "blockchain": {
            "enum": [
              "ethereum",
              "polygon",
              "klaytn"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/NftBlockchain"
              }
            ]
          },
          "addressExplorerLink": {
            "type": "string",
            "nullable": true
          },
          "twitterUsername": {
            "type": "string",
            "nullable": true
          },
          "marketValue": {
            "type": "number",
            "description": "Amount of NFTs multiplied by NFT value",
            "format": "double",
            "nullable": true
          },
          "portfolioPercentage": {
            "type": "number",
            "description": "What percentage of total portfolio value is taken by this NFT",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NotifyNativeDepositRequest": {
        "required": [
          "destination",
          "transactionHash",
          "transactionId",
          "userId"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "maxLength": 384,
            "minLength": 1,
            "type": "string",
            "description": "Your platform's unique identifier for the end user who made this deposit.\r\nCombined with `transactionId` to enforce idempotency."
          },
          "transactionId": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string",
            "description": "Your platform's unique identifier for this deposit. One per on-chain transaction; re-submitting the same\r\nvalue with the same destination and hash returns the previously created record."
          },
          "destination": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingDestinationWithAddressSpec"
              }
            ],
            "description": "Where the deposit landed: the network (CAIP-2 id), the asset symbol, and your platform's deposit address\r\nthat received the funds. Mesh verifies the reported transaction against this destination."
          },
          "transactionHash": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string",
            "description": "Hash of the on-chain transaction that delivered the deposit to `destination.address`."
          },
          "amount": {
            "maxLength": 64,
            "type": "string",
            "description": "Optional amount received, as a decimal string in `destination.asset` units (e.g. `\"125.5\"`).\r\nInformational: the on-chain credit is authoritative and is what the `succeeded` webhook carries; a\r\ndiffering value is logged for reconciliation but does not fail the deposit.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request body for `POST /api/v1/bridging/notify`.\r\n\n\r\nReports a native (non-bridged) deposit the client has already detected on one of its own deposit addresses,\r\nso Mesh records it, verifies it on chain and emits the same transfer webhooks a bridged deposit produces.\r\nOne call per on-chain transaction.\r\n\n\r\nIdempotent per `transactionId` scoped to `userId` and B2B client/environment: a retry with the same\r\ndestination and `transactionHash` returns the original record. The same `transactionId` with a\r\ndifferent destination or hash is a `400`; a `transactionHash` already tracked for the same destination\r\nunder another `transactionId` is a `409` (`transferAlreadyRequested`). The same hash crediting a\r\ndifferent address is a separate deposit.\r\n"
      },
      "NotifyNativeDepositResponse": {
        "required": [
          "destination",
          "expirationTime",
          "tracking",
          "transactionHash",
          "warnings"
        ],
        "type": "object",
        "properties": {
          "tracking": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingTracking"
              }
            ],
            "description": "Internal IDs for tracking this deposit. Store these to correlate webhook events and status updates\r\nback to this specific transfer.",
            "nullable": true
          },
          "destination": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingDestinationWithAddressSpec"
              }
            ],
            "description": "The destination (network, asset, address) the deposit was recorded against, normalized by Mesh.",
            "nullable": true
          },
          "transactionHash": {
            "type": "string",
            "description": "The on-chain transaction hash Mesh is verifying, normalized.",
            "nullable": true
          },
          "amount": {
            "type": "string",
            "description": "The reported amount in `destination.asset` units, when one was supplied.",
            "nullable": true
          },
          "expirationTime": {
            "type": "integer",
            "description": "Unix timestamp (seconds) by which Mesh must verify the transaction. If it cannot, the transfer is marked\r\n`failed` and a `failed` webhook is sent.",
            "format": "int64"
          },
          "warnings": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Operational notes about verification, idempotency and the failure deadline.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response body for `POST /api/v1/bridging/notify`.\r\n\n\r\nEchoes the recorded deposit and the tracking IDs to correlate the `succeeded` / `failed` webhook\r\nMesh sends once the reported transaction has been verified on chain (or could not be by\r\n`expirationTime`). This endpoint does not return transfer status.\r\n"
      },
      "NotifyNativeDepositResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NotifyNativeDepositResponse"
              }
            ],
            "description": "Response body for `POST /api/v1/bridging/notify`.\r\n\n\r\nEchoes the recorded deposit and the tracking IDs to correlate the `succeeded` / `failed` webhook\r\nMesh sends once the reported transaction has been verified on chain (or could not be by\r\n`expirationTime`). This endpoint does not return transfer status.\r\n",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OriginalTransferModel": {
        "type": "object",
        "properties": {
          "originalHash": {
            "type": "string",
            "description": "Transaction hash of the first (source-chain) leg.",
            "nullable": true
          },
          "originalSourceAddress": {
            "type": "string",
            "description": "On-chain source address of the first leg — the user's wallet for bridging transfers.\r\nMay be empty until post-transfer on-chain detection completes.",
            "nullable": true
          },
          "originalNetworkName": {
            "type": "string",
            "description": "Network name of the first-leg transfer (e.g. the source chain in a bridging operation).",
            "nullable": true
          },
          "originalSymbol": {
            "type": "string",
            "description": "Cryptocurrency symbol of the first-leg transfer.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "First-leg transfer details for multi-leg (bridging) transfers.\r\nFor a bridging operation, this describes what left the user's account on the source chain,\r\nwhile the containing Org.Front.Core.Contracts.Models.ManagedTransfers.TransferModel continues to represent the source-chain transfer preview/deposit leg.\r\nNull for vanilla and SmartFunding transfers, which have a single on-chain leg."
      },
      "PortfolioBrokerBaseRequest": {
        "required": [
          "authToken",
          "type"
        ],
        "type": "object",
        "properties": {
          "authToken": {
            "minLength": 1,
            "type": "string",
            "description": "Auth token that allows connecting to the target institution"
          },
          "type": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ],
            "description": "Type of the institution to connect\n\n### Supported integrations:\n```Robinhood```\n```Coinbase```\n```Kraken```\n```CryptoCom```\n```OpenSea```\n```Binance```\n```Gemini```\n```OkCoin```\n```KuCoin```\n```CexIo```\n```BinanceInternational```\n```Bitstamp```\n```GateIo```\n```Okx```\n```BitFlyer```\n```Coinlist```\n```Huobi```\n```Bitfinex```\n```KrakenDirect```\n```BinanceInternationalDirect```\n```BitfinexDirect```\n```Bybit```\n```Paxos```\n```CoinbasePrime```\n```BtcTurkDirect```\n```KuCoinDirect```\n```OkxOAuth```\n```ParibuDirect```\n```RobinhoodConnect```\n```BlockchainCom```\n```BitsoDirect```\n```BinanceOAuth```\n```BybitDirect```\n```ParibuOAuth```\n```BinanceTrDirect```\n```BybitDirectMobile```\n```Sandbox```\n```Uphold```\n```SandboxCoinbase```\n```KrakenOAuth```\n```BluvoKrakenOAuth```\n```SandboxKrakenOAuth```\n```DeFiWallet```\n"
          }
        },
        "additionalProperties": false
      },
      "PortfolioFiatBalance": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "description": "Balance currency",
            "nullable": true
          },
          "cash": {
            "type": "number",
            "description": "Amount of money in a specific currency from all brokers",
            "format": "double",
            "nullable": true
          },
          "buyingPower": {
            "type": "number",
            "description": "BuyingPower from all brokers, it indicates total amount of money the user can spend on buying stock.\r\nAlways includes cash and can also include margin",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PortfolioHoldingsRequest": {
        "required": [
          "authToken",
          "type"
        ],
        "type": "object",
        "properties": {
          "authToken": {
            "minLength": 1,
            "type": "string",
            "description": "Auth token that allows connecting to the target institution"
          },
          "type": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ],
            "description": "Type of the institution to connect\n\n### Supported integrations:\n```Robinhood```\n```Coinbase```\n```Kraken```\n```CryptoCom```\n```OpenSea```\n```Binance```\n```Gemini```\n```OkCoin```\n```KuCoin```\n```CexIo```\n```BinanceInternational```\n```Bitstamp```\n```GateIo```\n```Okx```\n```BitFlyer```\n```Coinlist```\n```Huobi```\n```Bitfinex```\n```KrakenDirect```\n```BinanceInternationalDirect```\n```BitfinexDirect```\n```Bybit```\n```Paxos```\n```CoinbasePrime```\n```BtcTurkDirect```\n```KuCoinDirect```\n```OkxOAuth```\n```ParibuDirect```\n```RobinhoodConnect```\n```BlockchainCom```\n```BitsoDirect```\n```BinanceOAuth```\n```BybitDirect```\n```ParibuOAuth```\n```BinanceTrDirect```\n```BybitDirectMobile```\n```Sandbox```\n```Uphold```\n```SandboxCoinbase```\n```KrakenOAuth```\n```BluvoKrakenOAuth```\n```SandboxKrakenOAuth```\n```DeFiWallet```\n"
          },
          "includeMarketValue": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "Position": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of the asset",
            "nullable": true
          },
          "symbol": {
            "type": "string",
            "description": "Symbol of the asset",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "Amount of the asset",
            "format": "double"
          },
          "costBasis": {
            "type": "number",
            "description": "The total original value (or purchase price) of the asset",
            "format": "double",
            "nullable": true
          },
          "distribution": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeFiPositionDistribution"
            },
            "description": "Breakdown of crypto distribution across different networks and addresses.\r\nThis data is populated only for self-custody (DeFi) wallets.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PositionWithMarketValue": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of the asset",
            "nullable": true
          },
          "symbol": {
            "type": "string",
            "description": "Symbol of the asset",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "Amount of the asset",
            "format": "double"
          },
          "costBasis": {
            "type": "number",
            "description": "The total original value (or purchase price) of the asset",
            "format": "double",
            "nullable": true
          },
          "distribution": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeFiPositionDistribution"
            },
            "description": "Breakdown of crypto distribution across different networks and addresses.\r\nThis data is populated only for self-custody (DeFi) wallets.",
            "nullable": true
          },
          "marketValue": {
            "type": "number",
            "description": "Market value of the asset: amount of asset multiplied by last asset value.",
            "format": "double",
            "nullable": true
          },
          "lastPrice": {
            "type": "number",
            "description": "Current last price of the asset.",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PositionWithReturn": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of the asset",
            "nullable": true
          },
          "symbol": {
            "type": "string",
            "description": "Symbol of the asset",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "Amount of the asset",
            "format": "double"
          },
          "costBasis": {
            "type": "number",
            "description": "The total original value (or purchase price) of the asset",
            "format": "double",
            "nullable": true
          },
          "distribution": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeFiPositionDistribution"
            },
            "description": "Breakdown of crypto distribution across different networks and addresses.\r\nThis data is populated only for self-custody (DeFi) wallets.",
            "nullable": true
          },
          "marketValue": {
            "type": "number",
            "description": "Market value of the asset: amount of asset multiplied by last asset value.",
            "format": "double",
            "nullable": true
          },
          "lastPrice": {
            "type": "number",
            "description": "Current last price of the asset.",
            "format": "double",
            "nullable": true
          },
          "portfolioPercentage": {
            "type": "number",
            "description": "What percentage of total portfolio value is taken by this asset.",
            "format": "double",
            "nullable": true
          },
          "totalReturn": {
            "type": "number",
            "description": "Total return of investment of this asset. Can be negative or null. Based on the cost basis of the asset, cost basis\r\nis not available by some of integrations.",
            "format": "double",
            "nullable": true
          },
          "returnPercentage": {
            "type": "number",
            "description": "Percent of return of investment for this asset. Can be negative or null.",
            "format": "double",
            "nullable": true
          },
          "companyName": {
            "type": "string",
            "description": "Company name of the relative asset.",
            "nullable": true
          },
          "totalDailyReturn": {
            "type": "number",
            "description": "Total daily return of investment for this asset. Can be negative.",
            "format": "double",
            "nullable": true
          },
          "dailyReturnPercentage": {
            "type": "number",
            "description": "Daily percent of return of investment for this asset. Can be negative.",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PreviewTransferRequest": {
        "required": [
          "fromAuthToken",
          "fromType"
        ],
        "type": "object",
        "properties": {
          "fromAuthToken": {
            "minLength": 1,
            "type": "string",
            "description": "The authentication token to send the asset from."
          },
          "fromType": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ],
            "description": "The type of the integration to send the asset from."
          },
          "networkId": {
            "type": "string",
            "description": "The network to send the asset over.",
            "format": "uuid"
          },
          "symbol": {
            "type": "string",
            "description": "The symbol of the digital asset to send.",
            "nullable": true
          },
          "toAddress": {
            "type": "string",
            "description": "The target address to send the asset to.",
            "nullable": true
          },
          "addressTag": {
            "type": "string",
            "description": "Secondary address identifier for coins like XRP,XMR etc.",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "The amount that must arrive at the destination, in crypto, denominated in the\r\ndestination asset's units. `Symbol` is always the sent (source) asset; on a\r\nnon-bridging transfer the two coincide, so this is also the amount sent. On a\r\ncross-symbol bridging/swap direction the source-side amount is derived from this\r\nvalue via prices and the bridging quote.",
            "format": "double",
            "nullable": true
          },
          "amountInFiat": {
            "type": "number",
            "description": "The amount to send, in fiat currency. Can be used alternatively to `Amount`.",
            "format": "double",
            "nullable": true
          },
          "fiatCurrency": {
            "type": "string",
            "description": "Fiat currency that is to get corresponding converted fiat values of transfer and fee amounts. If not provided, defaults to `USD`.",
            "nullable": true
          },
          "transactionId": {
            "maxLength": 128,
            "minLength": 0,
            "type": "string",
            "description": "Transaction ID Provided by client to track transaction in future calls.",
            "nullable": true
          },
          "bridgingRouteType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingRouteType"
              }
            ],
            "description": "Specifies whether the transfer is a bridge (cross-chain) or a swap (same-chain).\r\nNull = vanilla deposit. Replaces the legacy Org.Front.Core.Contracts.Models.Brokers.B2B.ManagedTransfers.BasePreviewTransferRequest.IsBridging flag.",
            "nullable": true
          },
          "isBridging": {
            "type": "boolean",
            "description": "Indicates that the transfer is a bridging transfer.",
            "nullable": true
          },
          "bridgingDirectionId": {
            "type": "string",
            "description": "The ID of the bridging direction configuration to use for this transfer.",
            "format": "uuid",
            "nullable": true
          },
          "isAtomicBatchTxAvailable": {
            "type": "boolean",
            "description": "Specifies if connected wallet supports batched transactions.",
            "nullable": true
          },
          "isInclusiveFeeEnabled": {
            "type": "boolean",
            "description": "Specifies if all the fees are included in the amount to transfer."
          }
        },
        "additionalProperties": false
      },
      "PreviewTransferResponse": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "succeeded",
              "failed",
              "requiresFunding"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/PreviewTransferStatus"
              }
            ],
            "description": "The status of the operation."
          },
          "previewResult": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PreviewTransferResult"
              }
            ],
            "description": "Result of the preview.",
            "nullable": true
          },
          "transferBalanceFundingAvailability": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferBalanceFundingAvailability"
              }
            ],
            "nullable": true
          },
          "errorType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ErrorTypeTransfers"
              }
            ],
            "description": "OR-590: set on a successful (HTTP 200) Payment preview whose Status is RequiresFunding and whose\r\nTransferBalanceFundingAvailability.Status is RequiresAmountLowering — i.e. the requested amount is\r\nover the max Smart Funding can currently cover. Behind ShowExceededPayMaxAmountFeesDetailScreen:\r\npreviously this shape was a 400 \"Insufficient funds\" with this same error type; the flag now keeps\r\nthe request's own HTTP success and surfaces the reason here so the widget can render the\r\nmax-allowable breakdown instead of a hard error. Null otherwise (including on Deposit, which this\r\nfield does not apply to).",
            "nullable": true
          },
          "transferFromAnotherAccountAvailabilityInfo": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferFromAnotherAccountAvailabilityInfo"
              }
            ],
            "description": "For instance if not enough assets in Spot account, and we can fill it from Funding account",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PreviewTransferResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PreviewTransferResponse"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PreviewTransferResult": {
        "type": "object",
        "properties": {
          "previewId": {
            "type": "string",
            "description": "The Id of the preview of the transfer. Should be used to commit the transfer using `Execute` endpoint.",
            "format": "uuid",
            "nullable": true
          },
          "previewExpiresIn": {
            "type": "integer",
            "description": "The period of time in seconds during which the transfer can be committed.",
            "format": "int32"
          },
          "fromAddress": {
            "type": "string",
            "description": "Obtained address that will be used to send the transfer. Not guaranteed to be returned by some of integrations.",
            "nullable": true
          },
          "refundAddress": {
            "type": "string",
            "description": "Obtained address that will be used to refund the transfer. Not guaranteed to be returned by some integrations.",
            "nullable": true
          },
          "refundAddressTag": {
            "type": "string",
            "description": "Obtained secondary address identifier for coins like XRP, XMR etc that will be used to refund the transfer. Not guaranteed to be returned by some integrations.",
            "nullable": true
          },
          "toAddress": {
            "type": "string",
            "description": "The target address to send the asset to.",
            "nullable": true
          },
          "addressTag": {
            "type": "string",
            "description": "Secondary address identifier for coins like XRP, XMR etc.",
            "nullable": true
          },
          "symbol": {
            "type": "string",
            "description": "Symbol of the asset to be sent.",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "Amount in symbol. If the transfer was requested using `AmountInFiat` field, this field represents the exact amount\r\nof the asset that will be transferred.",
            "format": "double"
          },
          "amountInFiat": {
            "type": "number",
            "description": "Transfer amount in fiat. If the transfer was requested in crypto amount using the `Amount` field,\r\nthis field contains the corresponding converted to fiat value.",
            "format": "double"
          },
          "amountInUsd": {
            "type": "number",
            "description": "Transfer amount converted to USD, regardless of the requested `FiatCurrency`.",
            "format": "double",
            "nullable": true
          },
          "totalEstimatedAmount": {
            "type": "number",
            "description": "Total estimated amount of the transfer including all fees, in cryptocurrency.",
            "format": "double"
          },
          "totalEstimatedAmountInFiat": {
            "type": "number",
            "description": "Total estimated amount of the transfer including all fees, converted to fiat.",
            "format": "double"
          },
          "totalEstimatedAmountInUsd": {
            "type": "number",
            "description": "Total estimated amount of the transfer including all fees, converted to USD, regardless of\r\nthe requested `FiatCurrency`.",
            "format": "double",
            "nullable": true
          },
          "networkId": {
            "type": "string",
            "description": "Id of the network in Front system.",
            "format": "uuid"
          },
          "networkName": {
            "type": "string",
            "description": "Name of the network in Front system.",
            "nullable": true
          },
          "contractAddress": {
            "type": "string",
            "description": "Blockchain address of the transferred token's contract",
            "nullable": true
          },
          "institutionTransferFee": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferFee"
              }
            ],
            "description": "The fee that is taken by the institution. Depending on the institution, can cover the gas fee. Some institutions do not\r\ntake the transfer fee and only network fee is used for the transfer.",
            "nullable": true
          },
          "estimatedNetworkGasFee": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferFee"
              }
            ],
            "description": "The gas fee that is estimated to be taken by the network. Depending on the integration, the network gas fee might be\r\ncovered by the `InstitutionTransferFee`.",
            "nullable": true
          },
          "estimatedATARentFee": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferFee"
              }
            ],
            "description": "The rent fee that is estimated to be required for creating an Associated Token Account (ATA) on Solana.\r\nThis fee is separate from the transaction/gas fee and is only required when the receiver doesn't have an ATA for the token.",
            "nullable": true
          },
          "estimatedGasFeeForDisplay": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EstimatedGasFeeForDisplay"
              }
            ],
            "description": "Combined display of estimated gas fees including network gas fee and ATA rent fee (if applicable).\r\nThis provides a consolidated view of all gas-related fees for display purposes.",
            "nullable": true
          },
          "estimatedNetworkGasFeeDetails": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferFeeDetails"
              }
            ],
            "description": "The gas fee values in EIP 1559 standard that is estimated to be taken by the network.",
            "nullable": true
          },
          "decimalPlaces": {
            "type": "integer",
            "description": "Number of decimal places used to represent the token's smallest unit",
            "format": "int32",
            "nullable": true
          },
          "unitPrice": {
            "type": "number",
            "description": "The price of the cryptocurrency asset in the fiat currency.",
            "format": "double"
          },
          "clientTransactionId": {
            "maxLength": 128,
            "minLength": 0,
            "type": "string",
            "description": "Transaction id provided by the client",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "description": "The end user identifier associated with the transfer.",
            "nullable": true
          },
          "clientFee": {
            "maximum": 1,
            "minimum": 0,
            "type": "number",
            "description": "A percentage fee (input as a ratio, eg. 0.02500 = 2.500%) added onto your users' gross payments.\r\nThis will override any default fee entered in your Mesh dashboard for an individual transaction.\r\nPlease note: this fee should only be used for Payments (when the transfer destination is an address owned by your company),\r\nand not for Deposits (when the transfer destination is an address owned by the end user).\r\nIf used for Deposits, it will increase the size of the user's Deposit by the fee amount,\r\nbut will incorrectly show to the user as a fee.",
            "format": "double",
            "nullable": true
          },
          "customClientFee": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferFee"
              }
            ],
            "description": "The client fee that is estimated to be added to the total estimated transfer amount, based on the user's requested transfer amount and client fee percentage.",
            "nullable": true
          },
          "processingFeeRetainMethod": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProcessingFeeRetainMethod"
              }
            ],
            "nullable": true
          },
          "transferType": {
            "enum": [
              "deposit",
              "payment",
              "onramp",
              "fiatOnRamp",
              "fiatOffRamp",
              "subscribe",
              "unsubscribe",
              "withdrawal"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferTypeEnum"
              }
            ],
            "description": "Deposit: The user is transferring crypto to a wallet they own on your platform.\r\nPayment: The user is transferring crypto to a wallet your company owns in exchange for receiving a good or service.\r\nOnramp: The user is using balances and linked payment methods in an exchange account to fund the purchase of crypto in their wallet on your platform."
          },
          "isCustomClientFeeProvided": {
            "type": "boolean"
          },
          "amountWithCustomClientFee": {
            "type": "number",
            "description": "Amount in symbol after the client fees are applied. This field represents the exact amount\r\nof the asset that will be requested for transfer.",
            "format": "double"
          },
          "isFeeIncluded": {
            "type": "boolean",
            "description": "Indicates if all the fees are included in the amount. For example, if this field's value is `true`\r\nand the user wants to send 1 BTC and the sum of all fees is 0.1 BTC, the user will be charged 1 BTC, and\r\nthe target address will receive 0.9 BTC.\r\nIf the fees are no inclusive, the user will be charged 1.1 BTC and the target address will receive 1 BTC."
          },
          "amountToReceive": {
            "type": "number",
            "description": "Indicates the final amount to receive after all fees are applied. In case fees are not inclusive (`IsFeeIncluded` is `false`),\r\nthis field will be equal to the `Amount` field.",
            "format": "double"
          },
          "amountToReceiveInFiat": {
            "type": "number",
            "description": "Indicates the final amount in fiat to receive after all fees are applied. In case fees are not inclusive (`IsFeeIncluded` is `false`),\r\nthis field will be equal to the `AmountInFiat` field.",
            "format": "double"
          },
          "transferAmountToRequest": {
            "type": "number",
            "description": "Exact amount in cryptocurrency requested to transfer to the destination address using the target integration.",
            "format": "double"
          },
          "isMaximumAmount": {
            "type": "boolean",
            "description": "Indicates if the transfer's intention is to transfer all available assets using the requested network and symbol."
          },
          "fiatCurrency": {
            "type": "string",
            "description": "Indicates the fiat currency that is used to calculate transfer amounts.",
            "nullable": true
          },
          "bridgingRouteType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingRouteType"
              }
            ],
            "description": "Bridge or swap classification for this transfer. Null = vanilla deposit.\r\nReplaces the legacy Org.Front.Core.Contracts.Models.Brokers.B2B.ManagedTransfers.PreviewTransferResult.IsBridging flag.",
            "nullable": true
          },
          "isBridging": {
            "type": "boolean",
            "description": "Indicates if the transfer is a bridging transfer (cross-chain)."
          },
          "relayFeeRetainType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProcessingFeeRetainType"
              }
            ],
            "description": "Set to Relay when an app-fee is being captured on this transfer via the Relay provider.\r\nCurrently flagged for Relay bridging previews; future work will extend this to vanilla\r\n(non-bridging) transfers routed through Relay solely for fee capture.",
            "nullable": true
          },
          "bridgingDetails": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingDetails"
              }
            ],
            "description": "Details of the bridging operation, in case the transfer is a bridging transfer.",
            "nullable": true
          },
          "totalEstimatedAmountPlusConversionFeesInFiat": {
            "type": "number",
            "description": "Total amount of the transfer including all fees (include smart funding conversion fees), converted to fiat.",
            "format": "double"
          },
          "brokerType": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ],
            "description": "Bridging quote from DeFi bridging service when direct transfer is not possible."
          },
          "sessionId": {
            "type": "string",
            "description": "The browser-supplied link session id (`LinkSessId` header), used by flow-of-funds\r\ncode such as the DeFiWallet preview resume scope. Not the JWT `sid` claim — that is\r\ncarried separately in Org.Front.Core.Contracts.Models.Brokers.B2B.ManagedTransfers.PreviewTransferResult.AnalyticsSessionId.",
            "format": "uuid",
            "nullable": true
          },
          "sponsorshipSelection": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SponsorshipSelection"
              }
            ],
            "description": "Gas-sponsorship selector verdict for this preview. Populated only when a sponsorship\r\nstrategy was actually applied - null when the user pays native gas directly or when\r\nthe source/route is not eligible (CeFi, bridging).\r\n\n\r\nThe CeFi half of that contract is enforced by `GasSponsorshipSelector.SelectAsync`,\r\nwhich returns `BrokerTypeMismatch` unless the source broker is exactly\r\n`BrokerType.DeFiWallet`. That is narrower than\r\n`BridgingTransferFlowExtensions.IsDeFiWalletSurface` and intentionally so: the\r\n`[Obsolete]``CryptocurrencyAddress` / `CryptocurrencyWallet` aliases are\r\ntreated as CeFi by `FromActor` derivation and by `previewWallet` resolution, so\r\nthey carry no wallet address to sponsor and are ineligible here too.\r\n\n\r\nThis was aspirational until ONC-1230: a custodial source used to come back Eligible, and\r\nconsumers that (correctly) trust this field rendered \"Mesh covers fees\" on transfers where\r\nthe exchange charged the user and no sponsorship existed. Treat a non-null value here as a\r\npromise that the end user controls the signing key.\r\n",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PreviewTransferStatus": {
        "enum": [
          "succeeded",
          "failed",
          "requiresFunding"
        ],
        "type": "string"
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": { }
      },
      "ProcessingFeeRetainMethod": {
        "type": "object",
        "properties": {
          "type": {
            "enum": [
              "default",
              "smartDeposit",
              "relay"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ProcessingFeeRetainType"
              }
            ]
          },
          "processingFeeAddress": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProcessingFeeRetainType": {
        "enum": [
          "default",
          "smartDeposit",
          "relay"
        ],
        "type": "string"
      },
      "ProgramRewardQuote": {
        "type": "object",
        "additionalProperties": false
      },
      "QuoteFees": {
        "type": "object",
        "properties": {
          "inFiat": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QuoteFeesInFiat"
              }
            ],
            "description": "Summary of all possible transfer fees in fiat",
            "nullable": true
          },
          "inCrypto": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QuoteFeesInCrypto"
              }
            ],
            "description": "Summary of all possible transfer fees in crypto",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "QuoteFeesInCrypto": {
        "type": "object",
        "properties": {
          "paymentMethodFeeMax": {
            "type": "number",
            "description": "Max fee charged if funded by payment method",
            "format": "double"
          },
          "tradingFeeMax": {
            "type": "number",
            "description": "Max fee charged to buy crypto",
            "format": "double"
          },
          "withdrawalFee": {
            "type": "number",
            "description": "Fee charged to withdraw crypto",
            "format": "double"
          },
          "partnerFee": {
            "type": "number",
            "description": "Fee charged by partner",
            "format": "double"
          },
          "networkFee": {
            "type": "number",
            "description": "Fee charged for network transaction",
            "format": "double"
          },
          "minFees": {
            "type": "number",
            "description": "Min of total fees charged in crypto",
            "format": "double"
          },
          "maxFees": {
            "type": "number",
            "description": "Max of total fees charged in crypto",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "QuoteFeesInFiat": {
        "type": "object",
        "properties": {
          "paymentMethodFeeMaxFiat": {
            "type": "number",
            "description": "Max fee charged if funded by payment method",
            "format": "double"
          },
          "tradingFeeMaxFiat": {
            "type": "number",
            "description": "Max fee charged to buy crypto",
            "format": "double"
          },
          "withdrawalFeeFiat": {
            "type": "number",
            "description": "Fee charged to withdraw crypto",
            "format": "double"
          },
          "partnerFeeFiat": {
            "type": "number",
            "description": "Fee charged by partner",
            "format": "double"
          },
          "networkFeeFiat": {
            "type": "number",
            "description": "Fee charged for network transaction",
            "format": "double"
          },
          "minFeesFiat": {
            "type": "number",
            "description": "Min of total fees charged in fiat",
            "format": "double"
          },
          "maxFeesFiat": {
            "type": "number",
            "description": "Max of total fees charged in fiat",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "QuoteFundingOption": {
        "type": "object",
        "properties": {
          "fundingOption": {
            "enum": [
              "existingCryptocurrencyBalance",
              "buyingPowerPurchase",
              "paymentMethodDepositUsage",
              "cryptocurrencyConversion",
              "stableCoinNoFeeConversion",
              "cryptocurrencyBuyingPowerConversion",
              "cryptocurrencyMultiStepConversion"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/CryptocurrencyFundingOptionType"
              }
            ],
            "description": "Funding option being quoted"
          },
          "paymentMethodType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerPaymentMethodType"
              }
            ],
            "description": "Payment method being quoted for PaymentMethodDepositUsage funding option",
            "nullable": true
          },
          "paymentMethodFeeFiat": {
            "type": "number",
            "description": "Fee charged for this payment method",
            "format": "double"
          },
          "tradingFeeFiat": {
            "type": "number",
            "description": "Fee charged to buy crypto if necessary for this funding option",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "QuoteTransferRequest": {
        "required": [
          "amountInFiat",
          "brokerType",
          "fiatCurrency",
          "networkId",
          "symbol",
          "toAddress"
        ],
        "type": "object",
        "properties": {
          "amountInFiat": {
            "type": "number",
            "description": "Base amount of fiat currency being transferred",
            "format": "double"
          },
          "fiatCurrency": {
            "maxLength": 3,
            "minLength": 0,
            "type": "string",
            "description": "3 character currency code, e.g. USD"
          },
          "symbol": {
            "maxLength": 10,
            "minLength": 0,
            "type": "string",
            "description": "Symbol of destination cryptocurrency, e.g. ETH"
          },
          "networkId": {
            "type": "string",
            "description": "Unique id of destination network",
            "format": "uuid"
          },
          "toAddress": {
            "maxLength": 1024,
            "minLength": 0,
            "type": "string",
            "description": "The designated destination for sending the asset."
          },
          "brokerType": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ],
            "description": "The type of the integration to send the asset from"
          },
          "feeFlat": {
            "type": "number",
            "description": "Flat fee in crypto to be charged as a partner fee",
            "format": "double",
            "nullable": true
          },
          "feePercentage": {
            "type": "number",
            "description": "Percentage of transfer amount to be charged as a partner fee, expressed as decimal (ie 0.1 = 10%)",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "QuoteTransferResponse": {
        "type": "object",
        "properties": {
          "amountInFiat": {
            "type": "number",
            "description": "Base amount of fiat currency being transferred (provided in request)",
            "format": "double"
          },
          "fiatCurrency": {
            "type": "string",
            "description": "3 character currency code (provided in request)",
            "nullable": true
          },
          "symbol": {
            "type": "string",
            "description": "Symbol of destination cryptocurrency (provided in request)",
            "nullable": true
          },
          "networkId": {
            "type": "string",
            "description": "Unique id of destination network (provided in request)",
            "format": "uuid"
          },
          "toAddress": {
            "type": "string",
            "description": "The designated destination for sending the asset.",
            "nullable": true
          },
          "brokerType": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ],
            "description": "The type of the integration to send the asset from (provided in request)"
          },
          "isEligible": {
            "type": "boolean",
            "description": "Is the transaction is possible based on the minimum transfer amount of the selected exchange"
          },
          "minEligibleAmount": {
            "type": "number",
            "description": "Minimum amount eligible to transfer with selected asset, exchange, and network",
            "format": "double"
          },
          "minEligibleAmountFiat": {
            "type": "number",
            "description": "Minimum amount in fiat eligible to transfer with selected asset, exchange, and network",
            "format": "double"
          },
          "maxEligibleAmount": {
            "type": "number",
            "description": "Maximum amount eligible to transfer with selected asset, exchange, and network",
            "format": "double",
            "nullable": true
          },
          "maxEligibleAmountFiat": {
            "type": "number",
            "description": "Maximum amount eligible in fiat to transfer with selected asset, exchange, and network",
            "format": "double",
            "nullable": true
          },
          "ineligibilityReason": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NetworkTransferIneligibilityReason"
              }
            ],
            "description": "The reason a transaction is ineligible, returns none if eligible",
            "nullable": true
          },
          "brokerPrice": {
            "type": "number",
            "description": "Price quote from the broker, falls back to reference price",
            "format": "double"
          },
          "price": {
            "type": "number",
            "description": "Reference price",
            "format": "double"
          },
          "minAmountFiat": {
            "type": "number",
            "description": "Min amount transferred in fiat",
            "format": "double"
          },
          "maxAmountFiat": {
            "type": "number",
            "description": "Max amount transferred in fiat",
            "format": "double"
          },
          "minAmount": {
            "type": "number",
            "description": "Min amount of crypto transferred",
            "format": "double"
          },
          "maxAmount": {
            "type": "number",
            "description": "Max amount of crypto transferred",
            "format": "double"
          },
          "fees": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QuoteFees"
              }
            ],
            "description": "Summary of all possible transfer fees",
            "nullable": true
          },
          "fundingOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuoteFundingOption"
            },
            "description": "Summary of all possible funding options",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "QuoteTransferResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QuoteTransferResponse"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RegisterSubscribeRequestBody": {
        "type": "object",
        "properties": {
          "subscriptionId": {
            "type": "string",
            "description": "The subscription id returned by the build-subscribe final step.",
            "format": "uuid"
          },
          "transactionHash": {
            "type": "string",
            "description": "Base58 signature of the broadcast `createDelegation` transaction.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request body for register-subscribe: confirms the user broadcast the final `createDelegation`\r\ntransaction so the row advances `Pending → UserClaimActive` before the puller's first scan."
      },
      "RegisterSubscriptionResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The subscription's id.",
            "format": "uuid"
          },
          "status": {
            "enum": [
              "pending",
              "userClaimActive",
              "active",
              "cancelPending",
              "userClaimCancelled",
              "cancelFailed",
              "cancelled",
              "expired",
              "failed",
              "onChainMismatch",
              "abandoned",
              "unregistered"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/SubscriptionStatus"
              }
            ],
            "description": "Authoritative lifecycle state. Right after register this is `UserClaimActive` /\r\n`UserClaimCancelled`; it becomes `Active` / `Cancelled` once the transaction is confirmed\r\non-chain (by this call or the puller backstop)."
          },
          "onChainConfirmed": {
            "type": "boolean",
            "description": "`false` while the operation is not yet confirmed on-chain (Org.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.RegisterSubscriptionResponse.Status is a\r\n            `UserClaim*` state) — keep polling; `true` once Org.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.RegisterSubscriptionResponse.Status is `Active` /\r\n            `Cancelled`."
          }
        },
        "additionalProperties": false,
        "description": "Response for register-subscribe / register-unsubscribe. Register is non-blocking for valid requests: it advances to the\r\noptimistic `UserClaim*` state immediately and, in the same call, opportunistically finalizes to\r\n`Active` / `Cancelled` if the transaction is already visible on-chain. The caller polls (re-calls\r\nregister, or get) until Org.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.RegisterSubscriptionResponse.OnChainConfirmed is true."
      },
      "RegisterSubscriptionResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/RegisterSubscriptionResponse"
              }
            ],
            "description": "Response for register-subscribe / register-unsubscribe. Register is non-blocking for valid requests: it advances to the\r\noptimistic `UserClaim*` state immediately and, in the same call, opportunistically finalizes to\r\n`Active` / `Cancelled` if the transaction is already visible on-chain. The caller polls (re-calls\r\nregister, or get) until Org.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.RegisterSubscriptionResponse.OnChainConfirmed is true.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RegisterUnsubscribeRequestBody": {
        "type": "object",
        "properties": {
          "subscriptionId": {
            "type": "string",
            "description": "The subscription id (same handle passed to build-unsubscribe) being cancelled.",
            "format": "uuid"
          },
          "transactionHash": {
            "type": "string",
            "description": "Base58 signature of the broadcast `revokeDelegation` transaction.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request body for register-unsubscribe: confirms the user broadcast the `revokeDelegation`\r\ntransaction so the row advances to `UserClaimCancelled` before the puller reconciles."
      },
      "SmartContractTransferAllocation": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string",
            "description": "Blockchain address of the Smart Contract",
            "nullable": true
          },
          "expirationTimestamp": {
            "type": "integer",
            "description": "The timestamp by which the transfer must be completely initiated. Currently, this means solving the MFA steps",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "SponsoredTxError": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Error envelope attached to Org.Front.Core.Contracts.GasSponsorship.SponsoredTxStatus when the transaction failed."
      },
      "SponsoredTxPayload": {
        "type": "object",
        "properties": {
          "payloadType": {
            "type": "string",
            "description": "Wire-stable discriminator (e.g., `solana-v0-tx`).",
            "nullable": true
          },
          "payloadBase64": {
            "type": "string",
            "description": "Base64-encoded serialized payload.",
            "nullable": true
          },
          "slotsRemainingToSign": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "For multi-sig payloads, the signature slots the client\r\n            still owes. For Alchemy on Solana this is `[1]` (user signs slot 1; Alchemy already\r\n            signed slot 0). Empty for payloads that need no client signature.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Strategy-specific payload returned by `/build` for the client to sign."
      },
      "SponsoredTxState": {
        "enum": [
          "unknown",
          "built",
          "submitted",
          "confirmed",
          "failed",
          "cancelled",
          "refunded"
        ],
        "type": "string",
        "description": "Lifecycle state of a `GasSponsorshipLedgerEntry`. Numeric values are part of the\r\npersistence + wire contract."
      },
      "SponsoredTxStatus": {
        "type": "object",
        "properties": {
          "trackingId": {
            "type": "string",
            "description": "Ledger tracking id correlating the request to its persisted entry.",
            "format": "uuid"
          },
          "strategy": {
            "enum": [
              "unknown",
              "metaMaskGasIncluded",
              "alchemySolanaFeePayer",
              "relayLinkEvmFeeSponsor"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/GasSponsorshipStrategyKind"
              }
            ],
            "description": "Sponsorship strategy that produced this status."
          },
          "state": {
            "enum": [
              "unknown",
              "built",
              "submitted",
              "confirmed",
              "failed",
              "cancelled",
              "refunded"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/SponsoredTxState"
              }
            ],
            "description": "Current lifecycle state of the sponsored transaction."
          },
          "txHash": {
            "type": "string",
            "description": "On-chain transaction hash for direct flows; null until known.",
            "nullable": true
          },
          "confirmations": {
            "type": "integer",
            "description": "Number of on-chain confirmations observed for TxHash.",
            "format": "int64"
          },
          "error": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SponsoredTxError"
              }
            ],
            "description": "Failure details when State is Org.Front.Core.Contracts.GasSponsorship.SponsoredTxState.Failed.",
            "nullable": true
          },
          "originTxHashes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Origin-chain transaction hashes for routed flows (bridge/swap)\r\n            — populated from Relay's `inTxHashes`. Empty for `Direct` transfers, which keep\r\n            using TxHash.",
            "nullable": true
          },
          "destinationTxHashes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Destination-chain transaction hashes for routed flows —\r\n            populated from Relay's `txHashes`. Empty until Relay reports the destination fill.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Output of `IRelaySponsorshipStrategy.GetStatusAsync`. Returned via\r\n`GET /v1/sponsorship/{trackingId}`."
      },
      "SponsoredTxStatusApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SponsoredTxStatus"
              }
            ],
            "description": "Output of `IRelaySponsorshipStrategy.GetStatusAsync`. Returned via\r\n`GET /v1/sponsorship/{trackingId}`.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SponsorshipSelection": {
        "type": "object",
        "properties": {
          "strategyKind": {
            "allOf": [
              {
                "$ref": "#/components/schemas/GasSponsorshipStrategyKind"
              }
            ],
            "description": "The chosen strategy, or null when no strategy was selected.",
            "nullable": true
          },
          "verdict": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EligibilityVerdict"
              }
            ],
            "description": "The verdict that produced this selection.",
            "nullable": true
          },
          "coversAllUserFeeCosts": {
            "type": "boolean",
            "description": "Mirror of the chosen strategy's\r\n            Org.Front.Core.Contracts.GasSponsorship.IGasSponsorshipStrategy.CoversAllUserFeeCosts at selection time. Always\r\n            false when no strategy was selected. Consumed by\r\n            `TransferPreviewValidationService.ValidateFeeBalance` to decide whether to skip\r\n            the fee-asset balance check — replaces a previous enum switch over Org.Front.Core.Contracts.GasSponsorship.SponsorshipSelection.StrategyKind."
          },
          "hasStrategy": {
            "type": "boolean",
            "description": "True when a strategy was chosen and is willing to sponsor the transfer.",
            "readOnly": true
          },
          "perStrategyReasons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GasSponsorshipStrategyKindEligibilityReasonKeyValuePair"
            },
            "description": "Per-strategy verdicts captured during the selector's walk. Populated by\r\n`GasSponsorshipSelector` when concluding Org.Front.Core.Contracts.GasSponsorship.EligibilityReason.NoStrategyEligible\r\nso callers can surface the most informative per-strategy reason (e.g.\r\nOrg.Front.Core.Contracts.GasSponsorship.EligibilityReason.Permit2AllowanceUnset from\r\nOrg.Front.Core.Contracts.GasSponsorship.GasSponsorshipStrategyKind.RelayLinkEvmFeeSponsor) instead of the bland aggregate.\r\nEmpty when a strategy was selected (the top-level Org.Front.Core.Contracts.GasSponsorship.SponsorshipSelection.Verdict already carries the reason)\r\nor when an upstream gate short-circuited before any strategy was evaluated.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "The selector's final decision for a single eligibility evaluation. Either:\r\n<list type=\"bullet\"><item>A strategy was chosen (Org.Front.Core.Contracts.GasSponsorship.SponsorshipSelection.StrategyKind has a value and Org.Front.Core.Contracts.GasSponsorship.SponsorshipSelection.Verdict.Eligible is true), or</item><item>No strategy applies (Org.Front.Core.Contracts.GasSponsorship.SponsorshipSelection.StrategyKind is null; Org.Front.Core.Contracts.GasSponsorship.SponsorshipSelection.Verdict carries the rejection reason).</item></list>\r\nPersisted on `TransferPreview.TransferGasFeePayerId` (via the related `TransferGasFeePayer`\r\nrow) so downstream calls (`/v1/sponsorship/build`, `/register`) all agree on the\r\nsame choice even if state shifts between calls."
      },
      "StringApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubmitSponsoredTxResponse": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "unknown",
              "submitted",
              "alreadySubmitted"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/SubmitStatus"
              }
            ],
            "description": "Terminal status: Org.Front.Core.Contracts.GasSponsorship.SubmitStatus.Submitted on first success,\r\n            Org.Front.Core.Contracts.GasSponsorship.SubmitStatus.AlreadySubmitted when the same tracking id has already been\r\n            broadcast (idempotent replay)."
          },
          "txHash": {
            "type": "string",
            "description": "On-chain transaction hash; present once broadcast succeeded. Nullable\r\n            to allow the idempotent Org.Front.Core.Contracts.GasSponsorship.SubmitStatus.AlreadySubmitted replay path to return a\r\n            minimal response when the persisted hash is not in the request scope.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Output of `IRelaySponsorshipStrategy.SubmitAsync`. Returned via\r\n`POST /v1/sponsorship/submit`."
      },
      "SubmitSponsoredTxResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SubmitSponsoredTxResponse"
              }
            ],
            "description": "Output of `IRelaySponsorshipStrategy.SubmitAsync`. Returned via\r\n`POST /v1/sponsorship/submit`.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubmitSponsorshipRequestBody": {
        "type": "object",
        "properties": {
          "trackingId": {
            "type": "string",
            "format": "uuid"
          },
          "signedPayload": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SubmitSponsorshipSignedPayload"
              }
            ],
            "nullable": true
          },
          "additionalSignedPayloads": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubmitSponsorshipSignedPayload"
            },
            "description": "Additional client-signed payloads (in signing order) for routes that returned multiple\r\npayloads at `/build` time (e.g., Permit2 + ERC-3009 authorize1). Null/empty for\r\nsingle-signature routes.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubmitSponsorshipSignedPayload": {
        "type": "object",
        "properties": {
          "payloadType": {
            "type": "string",
            "nullable": true
          },
          "signedPayloadBase64": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubmitStatus": {
        "enum": [
          "unknown",
          "submitted",
          "alreadySubmitted"
        ],
        "type": "string",
        "description": "Result of broadcasting a sponsored transaction. Numeric values are part of the wire contract."
      },
      "SubscriptionParameters": {
        "type": "object",
        "properties": {
          "network": {
            "type": "string",
            "description": "Blockchain network (currently `\"Solana\"`).",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "description": "Display symbol of the token being delegated (e.g. `\"USDC\"`).",
            "nullable": true
          },
          "tokenMint": {
            "type": "string",
            "description": "The SPL token mint address (Base58).",
            "nullable": true
          },
          "delegatee": {
            "type": "string",
            "description": "The party authorized to pull funds each period (Base58).",
            "nullable": true
          },
          "amountInFiat": {
            "type": "number",
            "description": "Max the delegatee may pull per period, in fiat USD (e.g. `1` = $1).",
            "format": "double"
          },
          "periodLengthSeconds": {
            "type": "integer",
            "description": "Length of each spending period in seconds (e.g. `86400` = 1 day).",
            "format": "int64"
          },
          "expiryTs": {
            "type": "integer",
            "description": "Unix timestamp after which the delegation expires; `0` when it never expires.",
            "format": "int64"
          },
          "firstChargeTs": {
            "type": "integer",
            "description": "Unix timestamp of the first period's start (the authored on-chain `start_ts`) — the earliest the\r\nfirst charge can occur: \"now\" at build time, or one period out with `startNextPeriod`. Null\r\n(omitted) on the revoke path, where the original start is not known.",
            "format": "int64",
            "nullable": true
          },
          "neverExpires": {
            "type": "boolean",
            "description": "`true` when the delegation never expires (Org.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.SubscriptionParameters.ExpiryTs = 0)."
          }
        },
        "additionalProperties": false,
        "description": "Human-readable subscription terms for FE display, mirroring the values encoded into the on-chain\r\n`createRecurringDelegation` instruction."
      },
      "SubscriptionStatus": {
        "enum": [
          "pending",
          "userClaimActive",
          "active",
          "cancelPending",
          "userClaimCancelled",
          "cancelFailed",
          "cancelled",
          "expired",
          "failed",
          "onChainMismatch",
          "abandoned",
          "unregistered"
        ],
        "type": "string",
        "description": "Lifecycle status of a subscription. Persisted and serialized BY NAME, so members may be reordered but never\r\nrenamed. Ownership: the puller owns Org.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.SubscriptionStatus.Active, lifecycle sync owns the transient states, and the\r\nsettled ones (Org.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.SubscriptionStatus.OnChainMismatch, Org.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.SubscriptionStatus.CancelFailed, Org.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.SubscriptionStatus.Expired,\r\nOrg.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.SubscriptionStatus.Unregistered) move only on user action."
      },
      "SubscriptionStep": {
        "enum": [
          "initializeAuthority",
          "createDelegation",
          "revokeDelegation"
        ],
        "type": "string",
        "description": "Which subscription transaction Org.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.BuildSubscriptionResponse carries. Serialized as a\r\ncamelCase string by the API's global `JsonStringEnumConverter`."
      },
      "SubscriptionSummaryView": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Our subscription id; pass it to build-unsubscribe.",
            "format": "uuid"
          },
          "status": {
            "enum": [
              "pending",
              "userClaimActive",
              "active",
              "cancelPending",
              "userClaimCancelled",
              "cancelFailed",
              "cancelled",
              "expired",
              "failed",
              "onChainMismatch",
              "abandoned",
              "unregistered"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/SubscriptionStatus"
              }
            ],
            "description": "Mesh lifecycle status of the subscription (the DB row's status)."
          },
          "canUnsubscribe": {
            "type": "boolean",
            "description": "`true` when build/register-unsubscribe would accept a revoke for this row — the FE renders the\r\n            Unsubscribe entry off this flag alone. Same predicate the endpoints guard on, so an offered unsubscribe\r\n            is always accepted."
          },
          "currency": {
            "type": "string",
            "description": "Display symbol of the delegated token (e.g. `\"USDC\"`).",
            "nullable": true
          },
          "tokenMint": {
            "type": "string",
            "description": "The SPL token mint address (Base58).",
            "nullable": true
          },
          "amountInFiat": {
            "type": "number",
            "description": "Max amount the delegatee may pull per period, in fiat.",
            "format": "double"
          },
          "periodLengthSeconds": {
            "type": "integer",
            "description": "Period length in seconds (e.g. `86400` = 1 day).",
            "format": "int64"
          },
          "expiryTs": {
            "type": "integer",
            "description": "Unix timestamp after which the delegation expires; `0` when it never expires.",
            "format": "int64"
          },
          "neverExpires": {
            "type": "boolean",
            "description": "`true` when the delegation never expires (Org.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.SubscriptionSummaryView.ExpiryTs = 0)."
          },
          "createdTs": {
            "type": "integer",
            "description": "Unix timestamp the subscription was created (for \"subscribed since\" display).",
            "format": "int64"
          },
          "walletAddress": {
            "type": "string",
            "description": "Base58 delegator wallet that granted the delegation.",
            "nullable": true
          },
          "network": {
            "type": "string",
            "description": "Network name the delegation lives on (currently `\"Solana\"`).",
            "nullable": true
          },
          "delegationAccount": {
            "type": "string",
            "description": "The RecurringDelegation account address (Base58). Informational; unsubscribe by Id.",
            "nullable": true
          },
          "delegatee": {
            "type": "string",
            "description": "The party authorized to pull each period — the Controller's MeshDelegate PDA (Base58).",
            "nullable": true
          },
          "currentPeriodStartTs": {
            "type": "integer",
            "description": "Unix start of the current spending period, rolled forward from the immutable anchor (never past expiry).",
            "format": "int64"
          },
          "currentPeriodEndTs": {
            "type": "integer",
            "description": "Unix end of the current spending period.",
            "format": "int64"
          },
          "pulledInFiat": {
            "type": "number",
            "description": "Amount already consumed in the current period, in fiat. Summed from our pull ledger: confirmed pulls plus\r\nany still in flight (an attempt is recorded before it is broadcast), so this never under-reports funds that\r\nmay already have left the wallet. An in-flight attempt that ultimately fails is dropped on a later read.",
            "format": "double"
          },
          "availableInFiat": {
            "type": "number",
            "description": "Amount pullable right now, in fiat: the period's unconsumed remainder, or `0` before a deferred start\r\nor after expiry. A conservative floor rather than a live on-chain allowance — derived from Mesh's own pull\r\nledger (Mesh's puller key is the only party that can pull), with in-flight attempts already deducted. The\r\non-chain program remains the ultimate cap enforcer; do not build reconciliation on this figure alone.",
            "format": "double"
          },
          "nextPullTs": {
            "type": "integer",
            "description": "Earliest Unix time the next pull can occur: the future start while a deferred delegation hasn't started,\r\n\"now\" while allowance remains, else the next period boundary. `null` when no pull is expected —\r\nexpired, no billable period left, pulling permanently stopped (`OnChainMismatch`), or a cancel\r\nintent recorded. The charge lands at the puller's first run at or after this time.",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "One subscription, in BOTH surfaces that list them: the per-integration init summary\r\n(`integrations[].subscriptions` in the catalog init / exchange-initial response) and\r\n`subscription/get` (the same rows, scoped to one wallet address). A DB-only projection of the\r\ncaller's `Subscriptions` rows — no chain read on either path, so neither surface's latency depends\r\non Solana RPC and the two can never disagree. Live per-period usage (pulled/available amounts, current\r\nperiod window) is derived from our own `SubscriptionPulls` ledger rather than read from the chain:\r\nMesh's puller key is the only party that can pull, so the ledger is authoritative for \"how much was taken\r\nthis period\". The puller / lifecycle-sync timers keep Org.Front.Core.Contracts.Models.Brokers.B2B.Subscriptions.SubscriptionSummaryView.Status reconciled against the chain.\r\nDeliberately NOT `[SafeToLog]`: carries end-user wallet addresses and subscription terms."
      },
      "TokenNetworkPair": {
        "type": "object",
        "properties": {
          "pairId": {
            "type": "string",
            "description": "Stable, deterministic identifier for this (token, network) pair (RFC 4122 version 5 GUID).\r\nThe same token/network combination always maps to the same value.",
            "format": "uuid"
          },
          "symbol": {
            "type": "string",
            "description": "Token symbol (e.g. \"USDC\", \"ETH\", \"BTC\").",
            "nullable": true
          },
          "networkId": {
            "type": "string",
            "description": "Internal Mesh network ID (GUID format).",
            "format": "uuid"
          },
          "networkName": {
            "type": "string",
            "description": "Network Name",
            "nullable": true
          },
          "tokenLogoUrl": {
            "type": "string",
            "description": "Token logo URL.",
            "nullable": true
          },
          "networkLogoUrl": {
            "type": "string",
            "description": "Network logo URL.",
            "nullable": true
          },
          "isTracked": {
            "type": "boolean",
            "description": "Whether the network is monitored by Indexing Co. When true, manual deposits on this chain are\r\nauto-detected; when false, the client reconciles deposits itself."
          }
        },
        "additionalProperties": false,
        "description": "A single token-on-network combination available in the transfer catalog. Decoupled from broker\r\nintegrations: a pair can be available for manual transfers even when no connected broker supports it."
      },
      "TokenNetworkPairsResponse": {
        "type": "object",
        "properties": {
          "pairs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TokenNetworkPair"
            },
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Flat list of every token-on-network combination in the transfer catalog, including manual-only pairs."
      },
      "TokenNetworkPairsResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TokenNetworkPairsResponse"
              }
            ],
            "description": "Flat list of every token-on-network combination in the transfer catalog, including manual-only pairs.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TokenNetworkResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Id of the network in Mesh system. Should be used to initiate transfers.",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "The name if the network.",
            "nullable": true
          },
          "chainId": {
            "type": "string",
            "description": "The Inner id of the chain, used for reference. For example, Polygon's (MATIC) chain Id is 137.",
            "nullable": true
          },
          "logoUrl": {
            "type": "string",
            "description": "Network logo URL.",
            "nullable": true
          },
          "isTracked": {
            "type": "boolean",
            "description": "Whether the chain is monitored by Indexing Co. When true, manual deposits on this chain are auto-detected; when false, the client reconciles deposits itself."
          }
        },
        "additionalProperties": false,
        "description": "Network entry as surfaced by the token-network catalog (Org.Front.Core.Contracts.Models.Brokers.B2B.ManagedTransfers.TokenNetworksResponse) and the\r\nderived token-network-pairs endpoint. Carries Org.Front.Core.Contracts.Models.Brokers.B2B.ManagedTransfers.TokenNetworkResponse.IsTracked, which is meaningful only for the\r\ncatalog/pairs surface and intentionally absent from the broker integration network responses."
      },
      "TokenNetworksModel": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "nullable": true
          },
          "networks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TokenNetworkResponse"
            },
            "nullable": true
          },
          "supportedIntegrations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BrokerType"
            },
            "nullable": true
          },
          "integrationNetworks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IntegrationNetwork"
            },
            "nullable": true
          },
          "tokenLogoUrl": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TokenNetworksResponse": {
        "type": "object",
        "properties": {
          "tokens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TokenNetworksModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TokenNetworksResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TokenNetworksResponse"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TonConnectBridge": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "url": {
            "type": "string",
            "nullable": true
          },
          "key": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TonConnectWalletEntry": {
        "type": "object",
        "properties": {
          "app_name": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "image": {
            "type": "string",
            "nullable": true
          },
          "about_url": {
            "type": "string",
            "nullable": true
          },
          "platforms": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "bridge": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TonConnectBridge"
            },
            "nullable": true
          },
          "universal_url": {
            "type": "string",
            "nullable": true
          },
          "deepLink": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TonTokenInfoResponse": {
        "type": "object",
        "properties": {
          "totalSupply": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BigInteger"
              }
            ],
            "nullable": true
          },
          "mintable": {
            "type": "boolean",
            "nullable": true
          },
          "adminAddress": {
            "type": "string",
            "nullable": true
          },
          "jettonContent": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TonTokenInfoResponseJettonContent"
              }
            ],
            "nullable": true
          },
          "jettonWalletCode": {
            "type": "string",
            "nullable": true
          },
          "contractType": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TonTokenInfoResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TonTokenInfoResponse"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TonTokenInfoResponseJettonContent": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "data": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TonTokenInfoResponseJettonContentData"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TonTokenInfoResponseJettonContentData": {
        "type": "object",
        "properties": {
          "uri": {
            "type": "string",
            "nullable": true
          },
          "decimals": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BigInteger"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TransferBalanceFundingAvailability": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "disabled",
              "available",
              "requiresAmountLowering",
              "notApplicable",
              "unavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferBalanceFundingAvailabilityStatus"
              }
            ]
          },
          "transferTotalAmount": {
            "type": "number",
            "description": "The total transfer amount in crypto after all fees are applied",
            "format": "double"
          },
          "unitPrice": {
            "type": "number",
            "description": "The price of the cryptocurrency asset in the fiat currency.",
            "format": "double"
          },
          "gasFeeBuffer": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferFee"
              }
            ],
            "description": "Represents the safety margin amount to cover gas fee volatility.",
            "nullable": true
          },
          "symbol": {
            "type": "string",
            "nullable": true
          },
          "transferTotalAmountInFiat": {
            "type": "number",
            "description": "The total transfer amount in fiat after all fees are applied.",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "TransferBalanceFundingAvailabilityBase": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "disabled",
              "available",
              "requiresAmountLowering",
              "notApplicable",
              "unavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferBalanceFundingAvailabilityStatus"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "TransferBalanceFundingAvailabilityStatus": {
        "enum": [
          "disabled",
          "available",
          "requiresAmountLowering",
          "notApplicable",
          "unavailable"
        ],
        "type": "string"
      },
      "TransferFee": {
        "type": "object",
        "properties": {
          "fee": {
            "type": "number",
            "description": "The amount of the fee.",
            "format": "double"
          },
          "feeCurrency": {
            "type": "string",
            "description": "The currency of the fee. Does not match the currency of the transfer in some cases.",
            "nullable": true
          },
          "feeInFiat": {
            "type": "number",
            "description": "The value of the fee converted to the fiat currency.",
            "format": "double"
          },
          "feeInTransferCurrency": {
            "type": "number",
            "description": "The value of the fee converted to the transfer currency.",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "TransferFeeDetails": {
        "type": "object",
        "properties": {
          "gasLimit": {
            "type": "number",
            "description": "Units of gas used",
            "format": "double",
            "nullable": true
          },
          "maxPriorityFeePerGas": {
            "type": "number",
            "description": "The max amount of tip to be paid to validator",
            "format": "double",
            "nullable": true
          },
          "maxFeePerGas": {
            "type": "number",
            "description": "The max amount of fee to be paid per gas",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TransferFromAnotherAccountAvailabilityInfo": {
        "type": "object",
        "properties": {
          "transferFromAnotherAccountNeeded": {
            "type": "boolean"
          },
          "transferFromAnotherAccountAmount": {
            "type": "number",
            "format": "double"
          },
          "anotherAccountName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TransferFromPair": {
        "type": "object",
        "properties": {
          "networkId": {
            "type": "string",
            "description": "Required. The Id of the network in Front system. The list of all available networks can be\r\nobtained by using `GET /transfers/managed/networks` endpoint.",
            "format": "uuid"
          },
          "symbol": {
            "type": "string",
            "description": "Required. The symbol of the digital asset your custodian pays out, e.g. \"USDC\".",
            "nullable": true
          },
          "maxAmount": {
            "type": "number",
            "description": "Required. The most the user may withdraw from this pair, in units of the asset (not fiat):\r\ntypically the user's withdrawable balance. Must be greater than zero.",
            "format": "double",
            "nullable": true
          },
          "minAmount": {
            "type": "number",
            "description": "Optional. The least the user may withdraw from this pair, in units of the asset: for example your\r\ncustodian's minimum payout. Must be greater than zero when set; above Org.Front.Core.Contracts.Models.Brokers.B2B.ManagedTransfers.TransferFromPair.MaxAmount the pair\r\noffers no amount.",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "An asset and network your custodian can pay a withdrawal from, with the most the user may\r\nwithdraw from it."
      },
      "TransferFundingModel": {
        "type": "object",
        "properties": {
          "type": {
            "enum": [
              "existingCryptocurrencyBalance",
              "buyingPowerPurchase",
              "paymentMethodDepositUsage",
              "cryptocurrencyConversion",
              "stableCoinNoFeeConversion",
              "cryptocurrencyBuyingPowerConversion",
              "cryptocurrencyMultiStepConversion"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/CryptocurrencyFundingOptionType"
              }
            ],
            "description": "Type of the funding method."
          },
          "amount": {
            "type": "number",
            "description": "Amount funded.",
            "format": "double"
          },
          "amountInFiat": {
            "type": "number",
            "description": "Amount in fiat.",
            "format": "double"
          },
          "toSymbol": {
            "type": "string",
            "description": "Symbol purchased.",
            "nullable": true
          },
          "fromAmount": {
            "type": "number",
            "description": "Amount used.",
            "format": "double"
          },
          "fromSymbol": {
            "type": "string",
            "description": "Symbol used.",
            "nullable": true
          },
          "paymentMethodType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerPaymentMethodType"
              }
            ],
            "description": "Payment method type",
            "nullable": true
          },
          "fee": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferFee"
              }
            ],
            "description": "Fee of funding.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Funding method model."
      },
      "TransferIntegrationModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier of integration.",
            "format": "uuid"
          },
          "type": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ],
            "description": "Type of integration."
          },
          "name": {
            "type": "string",
            "description": "Name of integration.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Integration model.\r\n            \r\n\n<b>Why the primary constructor is marked System.Text.Json.Serialization.JsonConstructorAttribute:</b>\r\nthis record has two public constructors and no parameterless one, and its\r\nproperties are init-only — so System.Text.Json must construct it parametrically,\r\ncannot choose between the two, and throws System.NotSupportedException at\r\nDESERIALIZE time. The convenience constructor below exists for FBE's own\r\nprojections; only this one matches the wire shape (`id`, `type`,\r\n`name`).\r\n\n\r\nThis is load-bearing for the MFS transfers union: mesh-services emitting a\r\n`from` object would otherwise throw here, the union would catch it and fall\r\nback, and every client would SILENTLY drop to legacy-only transfers. The exception\r\nis what forced `from` to be stripped from the mesh-services translator\r\n(mesh-services #3200) in the first place.\r\n"
      },
      "TransferIntegrationWithLogoModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier of integration.",
            "format": "uuid"
          },
          "type": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ],
            "description": "Type of integration."
          },
          "name": {
            "type": "string",
            "description": "Name of integration.",
            "nullable": true
          },
          "logoUrl": {
            "type": "string",
            "description": "Integration logo URL.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TransferLimitsResponse": {
        "type": "object",
        "properties": {
          "clientId": {
            "type": "string",
            "format": "uuid"
          },
          "subClientId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "minimumTransferAmountInFiat": {
            "type": "number",
            "description": "The resolved minimum transfer amount in USD: sub-client override, else client-level.\r\nOmitted when there is no account-level floor.",
            "format": "double",
            "nullable": true
          },
          "maximumTransferAmountInFiat": {
            "type": "number",
            "description": "The resolved maximum transfer amount in USD: sub-client override, else client-level, else the\r\nglobal default. Always present. A value of 0 means no amount is currently transferable: the\r\ncap is unset in configuration, and the preview and quote paths compare against it unguarded,\r\nso every positive amount is rejected. It does not mean the cap is unlimited.",
            "format": "double"
          }
        },
        "additionalProperties": false,
        "description": "Resolved client/sub-client transfer limit, readable before a Link session starts. Mirrors the\r\naccount-level fields already returned by `clientInfo` (Org.Front.Core.Contracts.Models.Brokers.B2B.ClientInfoResponse), but\r\nreachable with just an API key/client credentials instead of an end-user JWT."
      },
      "TransferLimitsResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferLimitsResponse"
              }
            ],
            "description": "Resolved client/sub-client transfer limit, readable before a Link session starts. Mirrors the\r\naccount-level fields already returned by `clientInfo` (Org.Front.Core.Contracts.Models.Brokers.B2B.ClientInfoResponse), but\r\nreachable with just an API key/client credentials instead of an end-user JWT.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TransferModel": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Mesh transfer identifier.",
            "format": "uuid"
          },
          "meshTransferId": {
            "type": "string",
            "description": "The verbatim MFS (mesh-services) transfer id, when this transfer was sourced\r\nfrom MFS rather than the legacy FBE store. null for every\r\nlegacy FBE transfer, and omitted from JSON responses entirely\r\n(`DefaultIgnoreCondition = WhenWritingNull`), so this is additive for\r\nexisting consumers.\r\n            \r\n\n<b>Why this exists.</b> MFS mints transfer ids as free-form strings —\r\n`transfer-{guid:N}` from the crypto/DeFi register and quote paths, and\r\n`ramp_{guid}` from the fiat ramp path — and `transfers.transfer_id` is\r\na `text` primary key, not a `uuid`. Org.Front.Core.Contracts.Models.ManagedTransfers.BaseTransferModel.Id is a\r\nSystem.Guid and is the shared v1 contract, so the union derives\r\nOrg.Front.Core.Contracts.Models.ManagedTransfers.BaseTransferModel.Id from the MFS id (see the mesh-internal adapter's\r\n`MeshTransferIdGuidConverter`) and keeps the original here. That\r\nderivation is one-way in the general case, so this is the ONLY field that\r\nround-trips back to MFS — use it, not Org.Front.Core.Contracts.Models.ManagedTransfers.BaseTransferModel.Id, for any MFS drill-down,\r\nsupport lookup or cross-system correlation.\r\n\n<b>Why `set` and not `init`, unlike every other property here.</b> Do\r\nnot \"fix\" this — it will break the mesh-internal adapter. The wire carries this\r\nvalue under `id`, the same JSON property that populates Org.Front.Core.Contracts.Models.ManagedTransfers.BaseTransferModel.Id,\r\nand System.Text.Json cannot bind one JSON property to two CLR properties. So the\r\nadapter deserialises normally (the id converter derives Org.Front.Core.Contracts.Models.ManagedTransfers.BaseTransferModel.Id) and\r\nthen assigns this from the raw payload, which an `init` accessor would\r\nforbid. It is the only mutable member on this type and is written in exactly one\r\nplace: `MeshInternalTransfersJson.ParseResponse`.\r\n\n\r\nThe System.Text.Json.Serialization.JsonIgnoreAttribute is what makes this additive rather than a\r\nvisible contract change: without it, omission would depend on each host setting\r\n`DefaultIgnoreCondition = WhenWritingNull` globally. All three API hosts do\r\ntoday, but this type lives in Core.Contracts and is serialized by more than the\r\nMVC pipeline, so enforce it on the model instead of trusting every present and\r\nfuture caller. Deserialization is unaffected — the condition only governs writes.\r\n",
            "nullable": true
          },
          "clientTransactionId": {
            "type": "string",
            "description": "Client transaction identifier.",
            "nullable": true
          },
          "institutionTransactionId": {
            "type": "string",
            "description": "Integration transaction identifier.",
            "nullable": true
          },
          "status": {
            "enum": [
              "pending",
              "succeeded",
              "failed",
              "expired"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferStatus"
              }
            ],
            "description": "Transfer status."
          },
          "amountInFiat": {
            "type": "number",
            "description": "Transfer amount in fiat.",
            "format": "double"
          },
          "amountToReceiveInFiat": {
            "type": "number",
            "description": "Actual transfer amount without fees in fiat.",
            "format": "double"
          },
          "amountInFiatCurrencyCode": {
            "type": "string",
            "description": "Transfer amount in fiat currency code.",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "Transfer amount.",
            "format": "double"
          },
          "symbol": {
            "type": "string",
            "description": "Transfer cryptocurrency symbol.",
            "nullable": true
          },
          "tokenAddress": {
            "type": "string",
            "description": "Transfer cryptocurrency token contract address (e.g., for ERC20s).",
            "nullable": true
          },
          "networkName": {
            "type": "string",
            "description": "Transfer network name.",
            "nullable": true
          },
          "createdTimestamp": {
            "type": "integer",
            "description": "Created timestamp.",
            "format": "int64"
          },
          "hash": {
            "type": "string",
            "description": "Transfer hash.",
            "nullable": true
          },
          "subClientId": {
            "type": "string",
            "description": "Sub-client identifier.",
            "format": "uuid",
            "nullable": true
          },
          "clientId": {
            "type": "string",
            "description": "Client identifier.",
            "format": "uuid",
            "nullable": true
          },
          "companyName": {
            "type": "string",
            "description": "Company name",
            "nullable": true
          },
          "gasFee": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferFee"
              }
            ],
            "description": "Transfer network gas fee.",
            "nullable": true
          },
          "withdrawalFee": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferFee"
              }
            ],
            "description": "Financial institution withdrawal fee.",
            "nullable": true
          },
          "processingFee": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferFee"
              }
            ],
            "description": "Transfer processing fee.",
            "nullable": true
          },
          "executedTimestamp": {
            "type": "integer",
            "description": "Transfer executed Unix timestamp.",
            "format": "int64",
            "nullable": true
          },
          "transferType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferTypeEnum"
              }
            ],
            "description": "Type of a transfer.",
            "nullable": true
          },
          "isFeeIncluded": {
            "type": "boolean",
            "description": "Is fee included."
          },
          "infoUrl": {
            "type": "string",
            "description": "Transfer info url on blockchain explorer.",
            "format": "uri",
            "nullable": true
          },
          "destinationAddress": {
            "type": "string",
            "description": "Transfer Destination Address.",
            "nullable": true
          },
          "addressTag": {
            "type": "string",
            "description": "Transfer Destination Address Tag.",
            "nullable": true
          },
          "isSmartFundingTransfer": {
            "type": "boolean",
            "description": "Indicates whether this transfer is part of a smart funding operation."
          },
          "unitPrice": {
            "type": "number",
            "description": "Unit price of the cryptocurrency in fiat at the time of transfer.",
            "format": "double"
          },
          "requestedTransferAmount": {
            "type": "number",
            "description": "The exact amount requested for transfer before any fees are applied.",
            "format": "double"
          },
          "sourceAddress": {
            "type": "string",
            "description": "The on-chain source address (sender) detected for this transfer.\r\nFor CEX transfers, this is typically the exchange's omnibus hot wallet.\r\nDistinct from RefundAddress, which is reserved for safe refund destinations.",
            "nullable": true
          },
          "refundAddress": {
            "type": "string",
            "description": "Transfer Refund Address.",
            "nullable": true
          },
          "bridgingRouteType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingRouteType"
              }
            ],
            "description": "Bridge or swap classification for this transfer. Null = vanilla deposit.\r\nReplaces the legacy Org.Front.Core.Contracts.Models.ManagedTransfers.BaseTransferModel.IsBridgingTransfer flag.",
            "nullable": true
          },
          "isBridgingTransfer": {
            "type": "boolean",
            "description": "Indicates whether this transfer involves bridging between different blockchain networks."
          },
          "sessionId": {
            "type": "string",
            "description": "Session identifier.",
            "format": "uuid",
            "nullable": true
          },
          "updatedTimestamp": {
            "type": "integer",
            "description": "Updated timestamp.",
            "format": "int64",
            "nullable": true
          },
          "isHashSearchStarted": {
            "type": "boolean",
            "description": "Indicates whether hash search has been started.",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "description": "User identifier.",
            "nullable": true
          },
          "sourceAmount": {
            "type": "number",
            "description": "Source amount of the transfer.",
            "format": "double",
            "nullable": true
          },
          "destinationAmount": {
            "type": "number",
            "description": "Destination amount of the transfer.",
            "format": "double",
            "nullable": true
          },
          "destinationAmountInFiat": {
            "type": "number",
            "description": "Destination amount in fiat.",
            "format": "double",
            "nullable": true
          },
          "clientFee": {
            "type": "number",
            "description": "Client fee.",
            "format": "double",
            "nullable": true
          },
          "netAmount": {
            "type": "number",
            "description": "Net amount (Amount - ProcessingFee).",
            "format": "double",
            "nullable": true
          },
          "clientType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ClientType"
              }
            ],
            "description": "Client type.",
            "nullable": true
          },
          "amountToReceive": {
            "type": "number",
            "description": "Actual transfer amount without fees.",
            "format": "double"
          },
          "networkId": {
            "type": "string",
            "description": "Id of the transfer network.",
            "format": "uuid"
          },
          "networkLogoUrl": {
            "type": "string",
            "description": "Network logo URL.",
            "nullable": true
          },
          "from": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferIntegrationWithLogoModel"
              }
            ],
            "nullable": true
          },
          "totalFeesAmountInFiat": {
            "type": "number",
            "description": "Total fees paid by user to execute this transaction.",
            "format": "double",
            "readOnly": true
          },
          "totalTransactionAmountInFiat": {
            "type": "number",
            "description": "Total fiat transaction amount in origin integration.",
            "format": "double",
            "readOnly": true
          },
          "fundingMethods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TransferFundingModel"
            },
            "description": "The funding methods that were used to fund the transaction.",
            "nullable": true
          },
          "bridgingDetails": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BridgingTransferDetailsModel"
              }
            ],
            "description": "Bridging operation details.",
            "nullable": true
          },
          "refundAddressMemo": {
            "type": "string",
            "description": "Memo/tag associated with Org.Front.Core.Contracts.Models.ManagedTransfers.BaseTransferModel.RefundAddress\r\n(e.g. for XRP or Stellar). Null when not applicable.",
            "nullable": true
          },
          "originalTransfer": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OriginalTransferModel"
              }
            ],
            "description": "First-leg transfer details for multi-leg (bridging) transfers.\r\nNull for vanilla and SmartFunding transfers, which have a single on-chain leg.",
            "nullable": true
          },
          "webhookLogs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WebhookLogModel"
            },
            "description": "Transfer status update logs sent to a client.",
            "nullable": true
          },
          "sendToAddress": {
            "type": "string",
            "description": "Withdrawal only: the address your custodian must pay into. Not the user's destination\r\n(that is Org.Front.Core.Contracts.Models.ManagedTransfers.BaseTransferModel.DestinationAddress).",
            "nullable": true
          },
          "sendToAddressTag": {
            "type": "string",
            "description": "Withdrawal only: memo or tag to include with the payment, when the address needs one.",
            "nullable": true
          },
          "sendToken": {
            "type": "string",
            "description": "Withdrawal only: symbol of the token to pay in.",
            "nullable": true
          },
          "sendTokenAddress": {
            "type": "string",
            "description": "Withdrawal only: contract address of Org.Front.Core.Contracts.Models.ManagedTransfers.TransferModel.SendToken. Absent for a network's native coin.",
            "nullable": true
          },
          "sendNetworkId": {
            "type": "string",
            "description": "Withdrawal only: id of the network to pay on. Absent when the network has no Mesh network id;\r\nOrg.Front.Core.Contracts.Models.ManagedTransfers.TransferModel.SendNetworkCaip2 is always set.",
            "format": "uuid",
            "nullable": true
          },
          "sendNetworkCaip2": {
            "type": "string",
            "description": "Withdrawal only: CAIP-2 id of the network to pay on (e.g. `eip155:8453`).",
            "nullable": true
          },
          "sendAmount": {
            "type": "number",
            "description": "Withdrawal only: exact amount of Org.Front.Core.Contracts.Models.ManagedTransfers.TransferModel.SendToken to pay.",
            "format": "double",
            "nullable": true
          },
          "expiresTimestamp": {
            "type": "integer",
            "description": "Withdrawal only: Unix timestamp (seconds) by which the payment must be confirmed on chain;\r\nafter it the transfer expires. Absent until the deadline is known.",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TransferModelPaginationResponse": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TransferModel"
            },
            "description": "list of items",
            "nullable": true
          },
          "total": {
            "type": "integer",
            "description": "Total number of items",
            "format": "int64"
          },
          "range": {
            "allOf": [
              {
                "$ref": "#/components/schemas/IndexRange"
              }
            ],
            "description": "A zero indexed based range that indicates the current start item index and end item index set",
            "nullable": true
          },
          "hasMorePages": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "TransferModelPaginationResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferModelPaginationResponse"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TransferOrderByFields": {
        "enum": [
          "id",
          "clientTransferId",
          "userId",
          "fromType",
          "amountInFiat",
          "status",
          "createdTimestamp",
          "symbol",
          "networkName"
        ],
        "type": "string"
      },
      "TransferPreSelections": {
        "type": "object",
        "additionalProperties": false,
        "description": "A client-declared pre-selection to default the Link deposit flow to, without restricting the user\r\nto it — the user can still choose any other option in Org.Front.Core.Contracts.Models.Brokers.B2B.ManagedTransfers.LinkTokenTransferOptions.ToAddresses.\r\nSymbol-only for now: if Org.Front.Core.Contracts.Models.Brokers.B2B.ManagedTransfers.LinkTokenTransferOptions.ToAddresses lists the same symbol on\r\nmore than one network, the specific network is not disambiguated. Network/method/integration/amount\r\npre-selections are planned follow-ups, not yet supported."
      },
      "TransferStatus": {
        "enum": [
          "pending",
          "succeeded",
          "failed",
          "expired"
        ],
        "type": "string"
      },
      "TransferToAddress": {
        "type": "object",
        "properties": {
          "networkId": {
            "type": "string",
            "description": "The Id of the network in Front system. The list of all available networks can be obtained by\r\nusing `GET /transfers/managed/networks` endpoint.",
            "format": "uuid"
          },
          "symbol": {
            "type": "string",
            "description": "The symbol of the digital asset.",
            "nullable": true
          },
          "address": {
            "type": "string",
            "description": "The address to send the asset to.",
            "nullable": true
          },
          "addressTag": {
            "type": "string",
            "description": "Secondary address identifier for coins like XRP,XMR etc.",
            "nullable": true
          },
          "note": {
            "maxLength": 200,
            "minLength": 0,
            "type": "string",
            "description": "Optional informational message shown to the end-user alongside this destination address\r\n(for example \"Only send USDC on Ethereum\"). Maximum 200 characters.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TransferToAddressWithAmount": {
        "type": "object",
        "properties": {
          "networkId": {
            "type": "string",
            "description": "The Id of the network in Front system. The list of all available networks can be obtained by\r\nusing `GET /transfers/managed/networks` endpoint.",
            "format": "uuid"
          },
          "symbol": {
            "type": "string",
            "description": "The symbol of the digital asset.",
            "nullable": true
          },
          "address": {
            "type": "string",
            "description": "The address to send the asset to.",
            "nullable": true
          },
          "addressTag": {
            "type": "string",
            "description": "Secondary address identifier for coins like XRP,XMR etc.",
            "nullable": true
          },
          "note": {
            "maxLength": 200,
            "minLength": 0,
            "type": "string",
            "description": "Optional informational message shown to the end-user alongside this destination address\r\n(for example \"Only send USDC on Ethereum\"). Maximum 200 characters.",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "Amount of tokens to transfer by specified network.",
            "format": "double",
            "nullable": true
          },
          "displayAmountInFiat": {
            "type": "number",
            "description": "Transfer amount in fiat which is requested by client to be shown as amount in fiat.\r\nIt will be shown to end-user if and only if it's difference with actual amount in fiat is less that 1%.",
            "format": "double",
            "nullable": true
          },
          "minAmount": {
            "type": "number",
            "description": "Minimum allowed amount of tokens to transfer by specified token/network combination.",
            "format": "double",
            "nullable": true
          },
          "minAmountInFiat": {
            "type": "number",
            "description": "Minimum allowed amount in fiat to transfer by specified token/network combination.",
            "format": "double",
            "nullable": true
          },
          "maxAmount": {
            "type": "number",
            "description": "Maximum allowed amount of tokens to transfer by specified token/network combination.",
            "format": "double",
            "nullable": true
          },
          "maxAmountInFiat": {
            "type": "number",
            "description": "Maximum allowed amount in fiat to transfer by specified token/network combination.",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TransferTypeEnum": {
        "enum": [
          "deposit",
          "payment",
          "onramp",
          "fiatOnRamp",
          "fiatOffRamp",
          "subscribe",
          "unsubscribe",
          "withdrawal"
        ],
        "type": "string"
      },
      "TransferVerificationRequest": {
        "type": "object",
        "properties": {
          "integrationId": {
            "type": "string",
            "nullable": true
          },
          "token": {
            "type": "string",
            "nullable": true
          },
          "networkId": {
            "type": "string",
            "nullable": true
          },
          "targetAddress": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TransferVerificationResponse": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "succeeded",
              "failed"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferVerifyStatus"
              }
            ]
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "failureReason": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FailureReason"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TransferVerificationResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferVerificationResponse"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TransferVerifyStatus": {
        "enum": [
          "succeeded",
          "failed"
        ],
        "type": "string"
      },
      "TransfersBrokerCryptocurrencyDepositAddressRequest": {
        "required": [
          "authToken",
          "type"
        ],
        "type": "object",
        "properties": {
          "authToken": {
            "minLength": 1,
            "type": "string",
            "description": "Auth token that allows connecting to the target institution"
          },
          "type": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ],
            "description": "Type of the institution to connect\n\n### Supported integrations:\n```Robinhood```\n```Coinbase```\n```Kraken```\n```CryptoCom```\n```Binance```\n```Gemini```\n```OkCoin```\n```KuCoin```\n```BinanceInternational```\n```Bitstamp```\n```GateIo```\n```Okx```\n```Huobi```\n```Bitfinex```\n```KrakenDirect```\n```BinanceInternationalDirect```\n```BitfinexDirect```\n```Bybit```\n```Paxos```\n```CoinbasePrime```\n```BtcTurkDirect```\n```ParibuDirect```\n```RobinhoodConnect```\n```BlockchainCom```\n```BinanceConnect```\n```RevolutConnect```\n```BinancePay```\n```BybitDirect```\n```ParibuOAuth```\n```PayPalConnect```\n```CoinbaseRamp```\n```BybitDirectMobile```\n```Sandbox```\n```CryptoComPay```\n```Uphold```\n```BinancePayOnchain```\n```SandboxCoinbase```\n```BybitPay```\n```CashApp```\n```SandboxKrakenOAuth```\n```KrakPay```\n```OkxPay```\n```BybitPayPsp```\n```DeFiWallet```\n"
          },
          "symbol": {
            "type": "string",
            "description": "Symbol of the required cryptocurrency, e.g. ETH or BTC.\r\nCan be used instead of the `AddressType` field.",
            "nullable": true
          },
          "addressType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CryptocurrencyAddressType"
              }
            ],
            "description": "Type of the address of symbol to be transferred. Providing `EthAddress` will assume a transfer of ETH over Ethereum blockchain.\r\nCan be used instead of `Symbol` field.",
            "nullable": true
          },
          "chain": {
            "type": "string",
            "description": "Chain of the required cryptocurrency, e.g. USDT has USDT-ERC20, USDT-TRC20, and USDT-Omni",
            "nullable": true
          },
          "mfaCode": {
            "type": "string",
            "description": "Some of integrations require MFA code to create a deposit address, e.g. KrakenDirect",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateTransferModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Mesh transfer identifier.",
            "format": "uuid"
          },
          "clientTransactionId": {
            "type": "string",
            "description": "Client transaction identifier.",
            "nullable": true
          },
          "institutionTransactionId": {
            "type": "string",
            "description": "Integration transaction identifier.",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "description": "Client's user identifier.",
            "nullable": true
          },
          "status": {
            "enum": [
              "pending",
              "succeeded",
              "failed",
              "expired"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferStatus"
              }
            ],
            "description": "Transfer status."
          },
          "amountInFiat": {
            "type": "number",
            "description": "Transfer amount in fiat.",
            "format": "double"
          },
          "amountInFiatCurrencyCode": {
            "type": "string",
            "description": "Transfer amount in fiat currency code.",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "Transfer amount.",
            "format": "double"
          },
          "symbol": {
            "type": "string",
            "description": "Transfer cryptocurrency symbol.",
            "nullable": true
          },
          "networkName": {
            "type": "string",
            "description": "Transfer network name.",
            "nullable": true
          },
          "createdTimestamp": {
            "type": "integer",
            "description": "Created timestamp.",
            "format": "int64"
          },
          "from": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferIntegrationModel"
              }
            ],
            "description": "From integration.",
            "nullable": true
          },
          "hash": {
            "type": "string",
            "description": "Transfer hash.",
            "nullable": true
          },
          "executedTimestamp": {
            "type": "integer",
            "description": "Transfer executed Unix timestamp.",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateTransferResponse": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "pending",
              "succeeded",
              "failed",
              "expired"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/TransferStatus"
              }
            ],
            "description": "The status of the transfer."
          },
          "statusDetails": {
            "enum": [
              "unknown",
              "failed",
              "frozen",
              "succeeded",
              "mfaRequired",
              "pending",
              "expired",
              "canceled",
              "waitingForSignature",
              "waitingForClearing",
              "awaitingApproval",
              "awaitingConfirmation",
              "awaitingVerification",
              "rejected",
              "pendingCancel",
              "emailVerification",
              "deviceConfirmationRequired",
              "mfaFailed",
              "addressWhitelistRequired",
              "secondMfaRequired",
              "emailConfirmationApprovalRequired",
              "travelRuleRequired"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerCryptocurrencyTransactionStatus"
              }
            ],
            "description": "The status details of the transfer."
          },
          "errorMessage": {
            "type": "string",
            "description": "Error message, if the operation did not complete successfully.",
            "nullable": true
          },
          "transferResult": {
            "allOf": [
              {
                "$ref": "#/components/schemas/UpdateTransferModel"
              }
            ],
            "description": "Result of the transfer initiation.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateTransferResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/UpdateTransferResponse"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateTransferStatusRequest": {
        "required": [
          "authToken",
          "transactionId",
          "type"
        ],
        "type": "object",
        "properties": {
          "authToken": {
            "minLength": 1,
            "type": "string",
            "description": "Auth token that allows connecting to the target institution"
          },
          "type": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ],
            "description": "Type of the institution to connect"
          },
          "transactionId": {
            "minLength": 1,
            "type": "string",
            "description": "Id of the executed transfer."
          }
        },
        "additionalProperties": false
      },
      "UserIdentificationType": {
        "enum": [
          "none",
          "idCard",
          "driversLicense",
          "passport"
        ],
        "type": "string"
      },
      "VerifyIntegrationModelResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Integration unique identifier. Pass it as `integrationId` when creating a link token.",
            "format": "uuid"
          },
          "type": {
            "enum": [
              "robinhood",
              "eTrade",
              "alpaca",
              "tdAmeritrade",
              "weBull",
              "stash",
              "interactiveBrokers",
              "public",
              "coinbase",
              "kraken",
              "coinbasePro",
              "cryptoCom",
              "openSea",
              "binanceUs",
              "gemini",
              "cryptocurrencyAddress",
              "cryptocurrencyWallet",
              "okCoin",
              "bittrex",
              "kuCoin",
              "etoro",
              "cexIo",
              "binanceInternational",
              "bitstamp",
              "gateIo",
              "acorns",
              "okx",
              "bitFlyer",
              "coinlist",
              "huobi",
              "bitfinex",
              "deFiWallet",
              "krakenDirect",
              "vanguard",
              "binanceInternationalDirect",
              "bitfinexDirect",
              "bybit",
              "paxos",
              "coinbasePrime",
              "btcTurkDirect",
              "kuCoinDirect",
              "okxOAuth",
              "paribuDirect",
              "robinhoodConnect",
              "blockchainCom",
              "bitsoDirect",
              "binanceConnect",
              "binanceOAuth",
              "revolutConnect",
              "binancePay",
              "bybitDirect",
              "paribuOAuth",
              "payPalConnect",
              "binanceTrDirect",
              "coinbaseRamp",
              "bybitDirectMobile",
              "sandbox",
              "cryptoComPay",
              "bybitEuDirect",
              "uphold",
              "binancePayOnchain",
              "sandboxCoinbase",
              "bybitPay",
              "krakenOAuth",
              "bluvoKrakenOAuth",
              "cashApp",
              "sandboxKrakenOAuth",
              "krakPay",
              "unlimit",
              "alchemyPay",
              "okxPay",
              "bybitPayPsp"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/BrokerType"
              }
            ],
            "description": "Type of the integration."
          },
          "name": {
            "type": "string",
            "description": "Name of the integration.",
            "nullable": true
          },
          "networks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VerifyNetworkModelResponse"
            },
            "description": "The networks this integration can verify ownership on, and the devices each one works on.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VerifyIntegrationsResponse": {
        "type": "object",
        "properties": {
          "integrations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VerifyIntegrationModelResponse"
            },
            "description": "Wallets that can verify ownership on at least one network.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VerifyIntegrationsResponseApiResult": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "ok",
              "serverFailure",
              "permissionDenied",
              "badRequest",
              "notFound",
              "conflict",
              "tooManyRequest",
              "locked",
              "unavailableForLegalReasons",
              "serviceUnavailable"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiResultStatus"
              }
            ],
            "readOnly": true
          },
          "message": {
            "type": "string",
            "description": "A message generated by the API",
            "nullable": true
          },
          "displayMessage": {
            "type": "string",
            "description": "User-friendly display message that can be presented to the end user",
            "nullable": true
          },
          "errorHash": {
            "type": "string",
            "description": "An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping",
            "nullable": true,
            "readOnly": true
          },
          "teamCode": {
            "type": "string",
            "description": "Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS.\r\nFormat: 2-character code (e.g., \"7K\", \"M2\"). Use for alerting/routing, not display.",
            "nullable": true,
            "readOnly": true
          },
          "errorType": {
            "type": "string",
            "description": "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation.",
            "nullable": true
          },
          "errorData": {
            "nullable": true,
            "readOnly": true
          },
          "content": {
            "allOf": [
              {
                "$ref": "#/components/schemas/VerifyIntegrationsResponse"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VerifyNetworkModelResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Id of the network in Mesh system. Pass it as `verifyWalletOptions.networkId` when creating a link token.",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "The name of the network.",
            "nullable": true
          },
          "chainId": {
            "type": "string",
            "description": "The Inner id of the chain, used for reference. For example, Polygon's (MATIC) chain Id is 137.",
            "nullable": true
          },
          "supportedDevices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeviceType"
            },
            "description": "Devices on which Link can verify this wallet on this network: `android` and `ios` cover native apps (including\r\nReact Native and Flutter) and mobile browsers, `web` covers desktop browsers. A device is left out when the\r\nwallet is unsupported on any of its surfaces. Empty when `isSupported` is false.",
            "nullable": true
          },
          "isSupported": {
            "type": "boolean",
            "description": "Whether a link token can verify this wallet on this network. Always true unless both `integrationId` and\r\n`networkId` are passed, since lists only hold supported pairs."
          },
          "unsupportedReason": {
            "allOf": [
              {
                "$ref": "#/components/schemas/VerifyUnsupportedReason"
              }
            ],
            "description": "Why the pair cannot be verified, or null when `isSupported` is true.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VerifyUnsupportedReason": {
        "enum": [
          "networkRetired",
          "networkUnavailable",
          "walletUnavailable",
          "networkNotSupportedByWallet",
          "noConnectionAvailable",
          "noSupportedDevice"
        ],
        "type": "string",
        "description": "Why a wallet and network pair cannot be verified. When several apply, the first in this order is returned."
      },
      "VerifyWalletOptions": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "Verification message to sign.\r\nRequired if `signedMessage` is provided in <paramref name=\"VerificationMethods\">VerificationMethods</paramref> list.",
            "nullable": true
          },
          "verificationMethods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WalletVerificationMethod"
            },
            "description": "List or required verification methods. By default - sign message with wallet key.",
            "nullable": true
          },
          "addresses": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Addresses list to verify. If user verifies another address then verification will be failed.",
            "nullable": true
          },
          "networkId": {
            "type": "string",
            "description": "Network to verify. If user verifies another network address then verification will be failed.",
            "format": "uuid",
            "nullable": true
          },
          "networkType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NetworkType"
              }
            ],
            "description": "Network type to verify. If user verifies another network address then verification will be failed.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "DeFi wallet verification options."
      },
      "WalletVerificationMethod": {
        "enum": [
          "signedMessage"
        ],
        "type": "string",
        "description": "Verification method."
      },
      "WebhookLogModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "webhookUri": {
            "type": "string",
            "nullable": true
          },
          "responseCode": {
            "type": "string",
            "nullable": true
          },
          "responseMessage": {
            "type": "string",
            "nullable": true
          },
          "sentTimestamp": {
            "type": "integer",
            "format": "int64"
          },
          "responseTimestamp": {
            "type": "integer",
            "format": "int64"
          },
          "webhookPayload": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Client-Secret": {
        "type": "apiKey",
        "description": "Contact Mesh to get client Secret",
        "name": "X-Client-Secret",
        "in": "header"
      },
      "Client-Id": {
        "type": "apiKey",
        "description": "Contact Mesh to get client Id",
        "name": "X-Client-Id",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Client-Secret": [ ],
      "Client-Id": [ ]
    }
  ],
  "tags": [
    {
      "name": "BlockchainQuery"
    },
    {
      "name": "CatalogGasSponsorship"
    },
    {
      "name": "CatalogSubscription"
    },
    {
      "name": "TokenNetworkPairs"
    },
    {
      "name": "Integrations account information"
    },
    {
      "name": "Managed Account Authentication",
      "description": "The recommended approach for account authentication. Front manages multiple authentication flows and handles all authentication steps such as MFA codes and OAuth redirect through our web and mobile SDKs."
    },
    {
      "name": "Portfolio",
      "description": "\n\n### Supported integrations:\n```Robinhood```\n```Coinbase```\n```Kraken```\n```CryptoCom```\n```OpenSea```\n```Binance```\n```Gemini```\n```OkCoin```\n```KuCoin```\n```CexIo```\n```BinanceInternational```\n```Bitstamp```\n```GateIo```\n```Okx```\n```BitFlyer```\n```Coinlist```\n```Huobi```\n```Bitfinex```\n```KrakenDirect```\n```BinanceInternationalDirect```\n```BitfinexDirect```\n```Bybit```\n```Paxos```\n```CoinbasePrime```\n```BtcTurkDirect```\n```KuCoinDirect```\n```OkxOAuth```\n```ParibuDirect```\n```RobinhoodConnect```\n```BlockchainCom```\n```BitsoDirect```\n```BinanceOAuth```\n```BybitDirect```\n```ParibuOAuth```\n```BinanceTrDirect```\n```BybitDirectMobile```\n```Sandbox```\n```Uphold```\n```SandboxCoinbase```\n```KrakenOAuth```\n```BluvoKrakenOAuth```\n```SandboxKrakenOAuth```\n```DeFiWallet```\n"
    },
    {
      "name": "Balance",
      "description": "\n\n### Supported integrations:\n```Robinhood```\n```Coinbase```\n```Kraken```\n```CryptoCom```\n```Binance```\n```Gemini```\n```OkCoin```\n```KuCoin```\n```CexIo```\n```BinanceInternational```\n```Bitstamp```\n```GateIo```\n```Okx```\n```BitFlyer```\n```Coinlist```\n```Huobi```\n```Bitfinex```\n```KrakenDirect```\n```BinanceInternationalDirect```\n```BitfinexDirect```\n```Bybit```\n```Paxos```\n```CoinbasePrime```\n```BtcTurkDirect```\n```KuCoinDirect```\n```OkxOAuth```\n```ParibuDirect```\n```RobinhoodConnect```\n```BlockchainCom```\n```BitsoDirect```\n```BybitDirect```\n```ParibuOAuth```\n```BinanceTrDirect```\n```BybitDirectMobile```\n```Sandbox```\n```Uphold```\n```SandboxCoinbase```\n```KrakenOAuth```\n```BluvoKrakenOAuth```\n```SandboxKrakenOAuth```\n"
    },
    {
      "name": "Transfers",
      "description": "\n\n### Supported integrations:\n```Robinhood```\n```Coinbase```\n```Kraken```\n```CryptoCom```\n```Binance```\n```Gemini```\n```OkCoin```\n```KuCoin```\n```BinanceInternational```\n```Bitstamp```\n```GateIo```\n```Okx```\n```Huobi```\n```Bitfinex```\n```KrakenDirect```\n```BinanceInternationalDirect```\n```BitfinexDirect```\n```Bybit```\n```Paxos```\n```CoinbasePrime```\n```BtcTurkDirect```\n```ParibuDirect```\n```RobinhoodConnect```\n```BlockchainCom```\n```BinanceConnect```\n```RevolutConnect```\n```BinancePay```\n```BybitDirect```\n```ParibuOAuth```\n```PayPalConnect```\n```CoinbaseRamp```\n```BybitDirectMobile```\n```Sandbox```\n```CryptoComPay```\n```Uphold```\n```BinancePayOnchain```\n```SandboxCoinbase```\n```BybitPay```\n```CashApp```\n```SandboxKrakenOAuth```\n```KrakPay```\n```OkxPay```\n```BybitPayPsp```\n```DeFiWallet```\n\n\n### Integration-specific notes:\n\n\n#### Robinhood:\n\n\nCryptocurrency transfers should be enabled in Robinhood settings. Transfers are disabled by default, enabling them for end users requires a review from Robinhood.\n\nPlease note:\n * `MfaCode` parameter is required to initiate a transaction in Robinhood.\n * The user's security settings should be configured to use an authenticator application.\n * Robinhood doesn't allow initiation of transactions if the authenticator application is not configured.\n\n\n#### Coinbase:\n\n\n`MfaCode` parameter should be used to initiate transactions in Coinbase.\n * If the end user's Coinbase account is configured to use text messages (SMS) for two factor authentication, the API will return `MfaRequired` status, and a text code will then be sent by Coinbase. The code is expected to be provided in the subsequent call using the `MfaCode` request field\n * If the account is configured to use an authenticator application, the API is expecting to get the code in the `MfaCode` request field.\n\n\n#### Kraken:\n\n\nKraken requires the explicit chain name to be provided (e.g. `Dogecoin` or `Ethereum (ERC20)`). The list of possible chains can be obtained by calling `symbol/details` endpoint.\n\nTo initiate a transaction, a Kraken Address Key name should be provided in `TargetAddress` field. Target address should be added using Kraken UI, then its name should be used.\n\n\n#### Binance:\n\n\n`Enable Withdrawals` permission should be given to the user's API key to initiate transfers with Binance Us.\n\nBinance requires adding the IP address to the list of trusted IPs to be able to create API keys with transfer permission.\n * Please reach out to Front to get the static IP address. This address should be provided to the end user, and the user should be instructed to add it to the list of trusted IP addresses.\n * By default, the permission to enable withdrawals is turned off. If the end user's API key does not have the permission, asset transfers will not be available.\n\n\n#### KuCoin:\n\n\nKuCoin requires adding the IP address to the list of trusted IPs to be able to create API keys with transfer permission.\n\n`Fee` parameter should be used to initiate a transaction in KuCoin.\n\nPlease note:\n * Please reach out to Front to get the static IP address. This address should be provided to the end user, and the user should be instructed to add it to the list of trusted IP addresses.\n * All currencies have their minimum `fee` and `amount` requirements. Please use `symbol/details` endpoint to get this data for a particular symbol.\n * KuCoin requires chain name to be provided for getting deposit address or initiating a cryptocurrency transfer. Some cryptocurrencies are supported over multiple chains. It's recommended to use `symbol/details` endpoint to get the list of supported chains and show it to the end user to select a target one.\n\n\n#### BinanceInternational:\n\n\n`Enable Withdrawals` permission should be given to the user's API key to initiate transfers with Binance International.\n\nBinance requires adding the IP address to the list of trusted IPs to be able to create API keys with transfer permission.\n * Please reach out to Front to get the static IP address. This address should be provided to the end user, and the user should be instructed to add it to the list of trusted IP addresses.\n * By default, the permission to enable withdrawals is turned off. If the end user's API key does not have the permission, asset transfers will not be available.\n\n\n#### GateIo:\n\n\nGate.io requires adding IP address to the list of trusted IP addresses to be able to initiate a cryptocurrency transfers.\n\nWithdrawal address should be already verified or added on the Gate.io UI (in mobile application or on the web site).\n * Please reach out to Front to get the static IP address for withdrawals. This address should be provided to the end user, and the user should be instructed to add it to the list of trusted IP addresses.\n * Only verified withdrawal blockchain addresses are allowed for withdrawal with Gate.io API.\n * Gate.io requires chain name to be provided for getting deposit address or initiating a cryptocurrency transfer. Some cryptocurrencies are supported over multiple chains. It's recommended to use `symbol/details` endpoint to get the list of supported chains and show it to the end user to select a target one.\n\n\n#### Huobi:\n\n\nWarning: Huobi does not refund executed deposits that are below the `Minimum Deposit Amount`\n * Please check the MinimumDepositAmount in Get Deposit Address response in order to avoid making a deposit below the minimum amount\n * Huobi does not allow withdrawals to addresses that are not white-listed, please add the address that you would like to withdraw to the white list of addresses through the UI so that a withrawal can be processed\n\n\n#### Bitfinex:\n * The hash of transfer is not available when making a transfer in Bitfinex. To get the hash please re-query the transfer using the transaction id.\n * Bitfinex does not separate sub-accounts when returning the list of transfers.Therefore the same list of transfers is returned for all Bitfinex sub-accounts.\n\n\n#### KrakenDirect:\n\n\nKraken requires the explicit chain name to be provided (e.g. `Dogecoin` or `Ethereum (ERC20)`). The list of possible chains can be obtained by calling `symbol/details` endpoint.\n\nTo initiate a transaction, a Kraken Address Key name should be provided in `TargetAddress` field. Target address should be added using Kraken UI, then its name should be used.\n\n\n#### BitfinexDirect:\n * The hash of transfer is not available when making a transfer in Bitfinex. To get the hash please re-query the transfer using the transaction id.\n * Bitfinex does not separate sub-accounts when returning the list of transfers.Therefore the same list of transfers is returned for all Bitfinex sub-accounts.\n"
    },
    {
      "name": "Assets"
    },
    {
      "name": "Managed Transfers"
    },
    {
      "name": "Wallets"
    },
    {
      "name": "Headless Bridging",
      "description": "Mesh's cross-chain bridging engine as a pure API, with no Mesh-hosted UI or SDK. Discover bridged routes, quote a pay-in amount and generate a single-use deposit address that bridges funds to the destination the user selected. Enabled per client; see https://docs.meshconnect.com/resources/headless-bridging."
    }
  ]
}