Get a wallet
Fetch a wallet by ID. Serves both fiat and custodial wallets by their shared wlt_ id; the response variant is discriminated by the type field. A wlt_fiat_ id is also accepted.
Served from OMS’s own records with no provider call, except for a custodial wallet whose stored balance the custody provider has never confirmed, which is re-read so it cannot be reported as holding nothing, or as holding zero.
refresh=true asks for that re-read on a wallet that does have a stored balance — the call a refresh control makes. It requests the re-read rather than guaranteeing it: the re-read is bounded by the same freshness window, so a request made while the stored balances are still fresh is answered from them with no provider call, and one that fails is never surfaced. Refreshing repeatedly therefore cannot drive one provider call per request, and cannot guarantee an up-to-date balance immediately after an action that changed it. A fiat wallet is re-read from its bank on every refresh=true request, except in a project that does not hold that bank, which answers from the stored balance.
Query Parameters
Request a re-read of the wallet's balances from the vendor: the custody provider for a custodial wallet, the bank for a fiat wallet. A custodial re-read is skipped while the stored balances are still fresh. A failed re-read serves the stored balances, as does a fiat wallet in a project that does not hold its bank. Defaults to false.
Response
The request has succeeded.
- Crypto wallet
- Fiat wallet
The walletCrypto variant — one crypto asset on one network, held on the customer's behalf by the custody provider, currently "Coinme Inc.". address is the on-chain deposit address and is omitted until the provider reports one.