Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Make your first requests to the Ledger API (v1).
https://api.ledger.so/v1
export LEDGER_API_KEY="ld_test_..."
curl -sS https://api.ledger.so/v1/health
curl -sS https://api.ledger.so/v1/customers \ -H "Authorization: Bearer $LEDGER_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: create-customer-$(uuidgen)" \ -d '{ "email": "dev@example.com", "firstName": "Dev", "lastName": "Example", "type": "individual" }'
Idempotency-Key