Documentation Index
Fetch the complete documentation index at: https://docs.ledger.so/llms.txt
Use this file to discover all available pages before exploring further.
How it works
For anyPOST endpoint, include an Idempotency-Key header to ensure the request is only processed once:
create-customer-abc123 on POST /v1/customers, Ledger will intentionally return the same customer response again instead of creating a new one.
Rules
- Idempotency keys are scoped to the endpoint and HTTP method
- Reusing a key for a different route or method returns
409 Conflict - Keys can be any string — UUIDs work well
- Keys are only required for
POSTrequests.GET,PATCH, andDELETEare naturally idempotent