v1

latestOpenAPI 3.1.02026-07-26165182724.7 KB

Get Account By Id

Fetch a user account by Id

post/wallets/get/account

Headers

api-keystring required

Your Striga API key

Authorizationstring required

Request body

userIdstring required

Unique Id of the user to whom this account belongs

accountIdstring required

Unique Id of an account belonging to any wallet of this user

Response

200

OR

Example response

{
  "accountId": "94abaad8b3887996061087a7f73af427",
  "parentWalletId": "e3c9e087-2a31-403d-a438-47bde03b95d2",
  "currency": "BTC",
  "ownerId": "1daddba7-d129-4e80-b6bc-a65203fe398c",
  "ownerType": "CONSUMER",
  "createdAt": "2025-03-13T10:45:00.049Z",
  "availableBalance": {
    "amount": "0",
    "currency": "satoshis",
    "hAmount": "0.00000000",
    "fiatEquivalentBalance": "0",
    "fiatCurrency": "EUR",
    "hFiatEquivalentBalance": "0",
    "rate": "76200.1"
  },
  "linkedCardId": "e0637300-8c16-4a3e-8eba-5cee7027146c",
  "blockchainDepositAddress": "tb1qvj4nx60q4z2mc58sl4q0zcx68cnygvsgge4rg6",
  "blockchainNetwork": {
    "name": "Bitcoin Testnet 3"
  },
  "status": "ACTIVE",
  "permissions": [
    "CUSTODY"
  ],
  "enriched": true,
  "parentApplicationId": "e15303cc-1cdf-430a-8192-c52190b2b891",
  "syncedOwnerId": "1daddba7-d129-4e80-b6bc-a65203fe398c",
  "accountPath": "e3c9e087-2a31-403d-a438-47bde03b95d2:BTC",
  "blockchainNetworks": [
    {
      "name": "Bitcoin Testnet 3"
    }
  ],
  "linkedCardIds": [
    "6e3ed3db-80f0-4296-b6ce-8c2f270c8441"
  ]
}