Skip to main content

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.
Key format: 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.