provider Treasury GET
/treasury @utdk/mercury
/treasury Get all treasury accounts
Retrieve a paginated list of all treasury accounts associated with the authenticated organization. Use cursor parameters (start_after, end_before) for pagination.
- limit query
- integer
- start_after query
- string
- end_before query
- string
- order query
- enum: asc, desc
Try it
Authentication
Configure credentials for Mercury API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import mercury from '@utdk/mercury';
await mercury.gettreasury({
"limit": 1000,
"order": "asc"
})