Create a multi-currency wallet for your users. Please note that by default as soon as your user passes KYC, a default wallet is provisioned for your user already. A wallet contains accounts denominated in the currencies enabled for your application. Each account can be further enriched with deposit credentials or linked to payment cards.

post/wallets/create

Request

  • Base URL
    https://www.sandbox.striga.com/api/v1
  • URL
    https://www.sandbox.striga.com/api/v1/wallets/create
  • Auth
    API key in header api-key and API key in header Authorization

Headers

api-keystring required

Your Striga API key

Authorizationstring required

Request body

userIdstring required

Unique Id of the user for whom this wallet is being created

Response

200

walletIdstring
syncedOwnerIdstring
ownerTypestring
createdAtstring
commentstring
walletBalancestring

Example response

{
  "walletId": "0dbe72c2-a723-4dc5-bab0-bc6a30c1b880",
  "accounts": {
    "EUR": {
      "accountId": "8b9c240d4bd133e78abf3831be087297",
      "parentWalletId": "0dbe72c2-a723-4dc5-bab0-bc6a30c1b880",
      "currency": "EUR",
      "ownerId": "104894c7-95fc-4dde-97dd-cb25b2587b91",
      "ownerType": "CONSUMER",
      "createdAt": "2024-09-10T11:59:33.358Z",
      "availableBalance": {
        "amount": "0",
        "currency": "cents",
        "hAmount": "0",
        "fiatEquivalentBalance": "0",
        "fiatCurrency": "EUR",
        "hFiatEquivalentBalance": "0",
        "rate": "1"
      },
      "linkedCardId": "UNLINKED",
      "linkedBankAccountId": "UNLINKED",
      "status": "ACTIVE",
      "permissions": [
        "CUSTODY"
      ],
      "parentApplicationId": "e15303cc-1cdf-430a-8192-c52190b2b891",
      "syncedOwnerId": "104894c7-95fc-4dde-97dd-cb25b2587b91",
      "accountPath": "0dbe72c2-a723-4dc5-bab0-bc6a30c1b880:EUR"
    },
    "BNB": {
      "accountId": "adfa20f43f6ec606736fe22d79167d3c",
      "parentWalletId": "0dbe72c2-a723-4dc5-bab0-bc6a30c1b880",
      "currency": "BNB",
      "ownerId": "104894c7-95fc-4dde-97dd-cb25b2587b91",
      "ownerType": "CONSUMER",
      "createdAt": "2024-09-10T11:59:33.363Z",
      "availableBalance": {
        "amount": "0",
        "currency": "wei",
        "hAmount": "0.0",
        "fiatEquivalentBalance": "0",
        "fiatCurrency": "EUR",
        "hFiatEquivalentBalance": "0",
        "rate": "472.9"
      },
      "linkedCardId": "UNLINKED",
      "status": "ACTIVE",
      "permissions": [
        "CUSTODY"
      ],
      "parentApplicationId": "e15303cc-1cdf-430a-8192-c52190b2b891",
      "syncedOwnerId": "104894c7-95fc-4dde-97dd-cb25b2587b91",
      "accountPath": "0dbe72c2-a723-4dc5-bab0-bc6a30c1b880:BNB"
    },
    "POL": {
      "accountId": "d89e36dbd64da96f67e36c4b564320db",
      "parentWalletId": "0dbe72c2-a723-4dc5-bab0-bc6a30c1b880",
      "currency": "POL",
      "ownerId": "104894c7-95fc-4dde-97dd-cb25b2587b91",
      "ownerType": "CONSUMER",
      "createdAt": "2024-09-10T11:59:33.363Z",
      "availableBalance": {
        "amount": "0",
        "currency": "wei",
        "hAmount": "0.0",
        "fiatEquivalentBalance": "0",
        "fiatCurrency": "EUR",
        "hFiatEquivalentBalance": "0",
        "rate": "0.34445"
      },
      "linkedCardId": "UNLINKED",
      "status": "ACTIVE",
      "permissions": [
        "CUSTODY"
      ],
      "parentApplicationId": "e15303cc-1cdf-430a-8192-c52190b2b891",
      "syncedOwnerId": "104894c7-95fc-4dde-97dd-cb25b2587b91",
      "accountPath": "0dbe72c2-a723-4dc5-bab0-bc6a30c1b880:POL"
    },
    "USDC": {
      "accountId": "d772fd4c85ea4f000f9739c032a6ea7a",
      "parentWalletId": "0dbe72c2-a723-4dc5-bab0-bc6a30c1b880",
      "currency": "USDC",
      "ownerId": "104894c7-95fc-4dde-97dd-cb25b2587b91",
      "ownerType": "CONSUMER",
      "createdAt": "2024-09-10T11:59:33.362Z",
      "availableBalance": {
        "amount": "0",
        "currency": "cents",
        "hAmount": "0",
        "fiatEquivalentBalance": "0",
        "fiatCurrency": "EUR",
        "hFiatEquivalentBalance": "0",
        "rate": "0.9068"
      },
      "linkedCardId": "UNLINKED",
      "status": "ACTIVE",
      "permissions": [
        "CUSTODY"
      ],
      "parentApplicationId": "e15303cc-1cdf-430a-8192-c52190b2b891",
      "syncedOwnerId": "104894c7-95fc-4dde-97dd-cb25b2587b91",
      "accountPath": "0dbe72c2-a723-4dc5-bab0-bc6a30c1b880:USDC",
      "multiChainSupport": true
    },
    "BTC": {
      "accountId": "1a8e3bbf905477abc5968e71129c9d52",
      "parentWalletId": "0dbe72c2-a723-4dc5-bab0-bc6a30c1b880",
      "currency": "BTC",
      "ownerId": "104894c7-95fc-4dde-97dd-cb25b2587b91",
      "ownerType": "CONSUMER",
      "createdAt": "2024-09-10T11:59:33.360Z",
      "availableBalance": {
        "amount": "0",
        "currency": "satoshis",
        "hAmount": "0.00000000",
        "fiatEquivalentBalance": "0",
        "fiatCurrency": "EUR",
        "hFiatEquivalentBalance": "0",
        "rate": "51891.3"
      },
      "linkedCardId": "UNLINKED",
      "status": "ACTIVE",
      "permissions": [
        "CUSTODY"
      ],
      "parentApplicationId": "e15303cc-1cdf-430a-8192-c52190b2b891",
      "syncedOwnerId": "104894c7-95fc-4dde-97dd-cb25b2587b91",
      "accountPath": "0dbe72c2-a723-4dc5-bab0-bc6a30c1b880:BTC"
    },
    "ETH": {
      "accountId": "c47e5a8aed8181306a0fdca147d8308b",
      "parentWalletId": "0dbe72c2-a723-4dc5-bab0-bc6a30c1b880",
      "currency": "ETH",
      "ownerId": "104894c7-95fc-4dde-97dd-cb25b2587b91",
      "ownerType": "CONSUMER",
      "createdAt": "2024-09-10T11:59:33.362Z",
      "availableBalance": {
        "amount": "0",
        "currency": "wei",
        "hAmount": "0.0",
        "fiatEquivalentBalance": "0",
        "fiatCurrency": "EUR",
        "hFiatEquivalentBalance": "0",
        "rate": "2132.73"
      },
      "linkedCardId": "UNLINKED",
      "status": "ACTIVE",
      "permissions": [
        "CUSTODY"
      ],
      "parentApplicationId": "e15303cc-1cdf-430a-8192-c52190b2b891",
      "syncedOwnerId": "104894c7-95fc-4dde-97dd-cb25b2587b91",
      "accountPath": "0dbe72c2-a723-4dc5-bab0-bc6a30c1b880:ETH"
    },
    "USDT": {
      "accountId": "82c43e7c7d1e9c61e03293b7bb9c66ab",
      "parentWalletId": "0dbe72c2-a723-4dc5-bab0-bc6a30c1b880",
      "currency": "USDT",
      "ownerId": "104894c7-95fc-4dde-97dd-cb25b2587b91",
      "ownerType": "CONSUMER",
      "createdAt": "2024-09-10T11:59:33.361Z",
      "availableBalance": {
        "amount": "0",
        "currency": "cents",
        "hAmount": "0",
        "fiatEquivalentBalance": "0",
        "fiatCurrency": "EUR",
        "hFiatEquivalentBalance": "0",
        "rate": "0.9068"
      },
      "linkedCardId": "UNLINKED",
      "status": "ACTIVE",
      "permissions": [
        "CUSTODY"
      ],
      "parentApplicationId": "e15303cc-1cdf-430a-8192-c52190b2b891",
      "syncedOwnerId": "104894c7-95fc-4dde-97dd-cb25b2587b91",
      "accountPath": "0dbe72c2-a723-4dc5-bab0-bc6a30c1b880:USDT"
    }
  },
  "syncedOwnerId": "104894c7-95fc-4dde-97dd-cb25b2587b91",
  "ownerType": "CONSUMER",
  "createdAt": "2024-09-10T11:59:33.436Z",
  "comment": "API",
  "walletBalance": "0"
}

Changes