Read one vault

GET/vaults/{vault_id}

Return one vault of the environment: the same object the list answers with, so a detail view opened from a row reads it without a second vocabulary.

  • A vault belonging to another environment answers 404 resource_missing, identical to an identifier that exists nowhere.

  • A resetting sandbox.

    While a sandbox's reset runs it answers 409 environment_resetting: nothing is served for a sandbox until its reset finishes.

Parameters

Path

  • vault_idstring <uuid>required

    The vault being addressed. A value that is not a UUID answers 422 parameter_invalid naming vault_id.

Headers

  • X-Stridge-Environmentstring <uuid>optional

    Which environment the request acts inside, on an operation a session and an API key both call. Learn more

    Show full description

    It is required under a person's session, exactly as EnvironmentHeader describes: a session request that omits it answers 400 with environment required, and one naming an environment the caller holds no membership of answers 404.

    An API key names its own environment, so a request made with one omits this header. A key request that sends it answers 400 with environment header not accepted, whatever it names, rather than having the header ignored: a header that is silently ignored hides the integration bug that sent it.

Responses

The vault resolved.

  • idstring <uuid>required

    The vault's own identifier, and the one its addresses, balances and totals hang off.

  • objectstringrequired

    The object's type, always vault.

  • environment_idstring <uuid>required

    The environment this vault holds money for. It is carried on the object rather than implied by the request, so the scope a client rendered is the scope the server answered in.

  • livemodebooleanrequired

    true when environment_id names a live environment and false in a sandbox. It is carried on the object itself, so a payload read on its own, a logged response or a webhook body, still says which side of the boundary it came from.

  • labelstringrequired

    What a person calls this vault. It is not unique and it carries no meaning to the server.

  • statusstringrequiredenum active · disabled

    Whether the vault is in use. A disabled vault still holds and still reports what it holds; what it no longer does is receive a new address or send a payout. /v1 answers a two-field list item that omits this, so a client there cannot tell a dormant vault from a live one.

Show 3 more fields
  • indexinteger <int32>required

    The vault's position in the environment's HD sequence, which is the order it was provisioned in.

  • created_atstring <date-time>required

    When the vault was provisioned. RFC3339 UTC, Z suffixed.

  • updated_atstring <date-time>required

    When the vault last changed. RFC3339 UTC, Z suffixed.

Errors

The error.code values this operation can return. Each one links to its entry in the error catalogue, which explains the cause and the fix.

Request
curl "https://api.stridge.com/v2/vaults/string" \
  -H "Authorization: Bearer $STRIDGE_SECRET_KEY"

Set your secret key as STRIDGE_SECRET_KEY (sent as Authorization: Bearer).

Response200
"id": "7c1e0a94-31d6-4a52-9f83-2b4c5d6e7f80",
"object": "vault",
"environment_id": "3f2a6d7e-6b1c-4f2a-9a11-0b53f8d6b2c1",
"livemode": false,
"label": "Operating Treasury",
"status": "active",
"index": 0,
"created_at": "2026-01-08T10:12:41Z",
"updated_at": "2026-01-27T16:03:55Z"
}