POST
/
api
/
v1
/
linktoken
curl --request POST \
  --url https://integration-api.meshconnect.com/api/v1/linktoken \
  --header 'Content-Type: application/json' \
  --header 'X-Client-Id: <api-key>' \
  --header 'X-Client-Secret: <api-key>' \
  --data '{
  "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
}'
{
  "content": {
    "linkToken": "aHR0cHM6Ly93ZWIubWVzaGNvbm5lY3QuY29tL2IyYi1pZnJhbWUve2NsaWVudElkfS9icm9rZXItY29ubmVjdD9hdXRoX2NvZGU9e2F1dGhDb2RlfQ=="
  },
  "status": "ok",
  "message": "",
  "errorType": ""
}

Authorizations

X-Client-Secret
string
header
required

Contact Mesh to get client Secret

X-Client-Id
string
header
required

Contact Mesh to get client Id

Body

Create Link token request.

The body is of type object.

Response

200
application/json
Link token created.

The response is of type object.