1
Get an API key
API keys are created from the dashboard by a signed-in user (or via Export it for the rest of this walkthrough:From here on, every request authenticates with this key alone â the API key resolves your organization, so you donât need
POST /v1/api-keys with a Clerk session token â this endpoint requires a signed-in dashboard session, not another API key).201 Created
x-organization-id. See Authentication for the full credential model.2
Create a payment intent
A payment intent tells ReconLayer what you expect to happen for a transfer â the canonical âwhat should occurâ record that evidence is later reconciled against.This is a write endpoint, so it requires an Save
Idempotency-Key header. Generate a fresh UUID before your first attempt and reuse it on any retry â see Idempotency.201 Created
paymentIntentId and caseId â youâll use them in the next steps.Full reference: POST /v1/payment-intents.3
Submit provider evidence
Once a payment intent exists, submit evidence describing what actually happened on the rail â for example, a confirmed transfer reported by your provider. ReconLayerâs matcher reconciles this evidence against the payment intentâs expected legs.This is also a write endpoint and requires its own
Idempotency-Key.201 Created
matchedCaseIds tells you which reconciliation case(s) this evidence was matched against â in this walkthrough, the case created alongside your payment intent in step 2.Full reference: POST /v1/evidence/provider. For on-chain transfer evidence, see POST /v1/evidence/onchain.4
Fetch the reconciliation case
Read back the reconciliation outcome using the
caseId from step 2 (or a matchedCaseId from step 3 â theyâre the same case in this walkthrough).200 OK
reconciliationStatus: "reconciled" and verdict: "matched" confirm the evidence you submitted in step 3 satisfied the expectation created in step 2.If the amounts didnât line up, reconciliationStatus would be "unreconciled" and unexplainedDelta would carry the difference â thatâs an exception for your team (or automation) to investigate.Full reference: GET /v1/reconciliation-cases/{caseId}. To list and filter cases in bulk, see GET /v1/reconciliation-cases.Whatâs next
- API Design Principles â idempotency, business-level uniqueness, and route conventions in depth.
- Idempotency â the
Idempotency-Keycontract used in steps 2 and 3. - Errors â what
400/404/409/429responses look like and how to handle them. - Pagination â listing payment intents and reconciliation cases at scale.
- Rate limits â request limits and backoff guidance.
- Authentication â the full credential and organization-resolution model.
