API keys
Create API keys from the Ledger Dashboard. Each key is scoped to an environment:- Sandbox — keys start with
ld_test_. No real money moves. - Live — keys start with
ld_live_. Real funds, real cards, real bank transfers.
ld_<env>_<prefix>_<secret>
Sending your key
Include your API key in every request using either header format:Environments
All resources are scoped to the API key that created them. A sandbox key cannot access live resources and vice versa.| Environment | Key prefix | Base URL |
|---|---|---|
| Sandbox | ld_test_ | https://api.ledger.so/v1 |
| Live | ld_live_ | https://api.ledger.so/v1 |