> ## Documentation Index
> Fetch the complete documentation index at: https://getlemma.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Search reconciliation relationships

> Look up a remittance, ACH transfer, check deposit, or card payment by ID and get back everything Lemma has reconciled it against.

> [!NOTE]
>
> /v1 remittance IDs (`canonical_payment_…`) are different from /v0 IDs (`remittance_…`) and are
> not interchangeable. A /v0 remittance ID returns 404 here; look it up on the /v0 endpoint.

Given a /v1 remittance, inbound ACH transfer, check deposit, or inbound card payment ID, returns that object plus anything Lemma has reconciled it against. Use it to resolve reconciliation in either direction: from a remittance, find the deposit that paid it; from a deposit, find the remittance it settled.

Every ID in the response is one you can independently read. A returned remittance ID resolves on [Get a remittance](https://getlemma.com/docs/api-reference/get-remittance-v1.md). The object you queried comes first, and a matched counterpart is included only when you can read it yourself. See [Reconciliation](https://getlemma.com/docs/billing/reconciliation.md) for how Lemma matches remittances to deposits.

## Path parameters

**id** `string` *required*

The ID to look up, prefixed with its type: a /v1 remittance (`canonical_payment_…`),
inbound ACH transfer (`inbound_ach_transfer_…`), check deposit
(`check_deposit_…`), or inbound card payment (`inbound_card_payment_…`).

## Response

Returns an array of reconciliation entries. The first entry is the object you queried; any further entry is a reconciled counterpart you can read. Each entry has the following fields.

**type** `string`

The kind of object this ID refers to. One of `remittance`,
`inbound_ach_transfer`, `check_deposit`, `inbound_card_payment`.

**id** `string`

The object's identifier.

```json Matched theme={null}
[
  { "type": "remittance", "id": "canonical_payment_Wp5mRx3nKv8bTh2d" },
  { "type": "inbound_ach_transfer", "id": "inbound_ach_transfer_Kd8mNx2pRv5cTh9b" }
]
```

```json Unmatched theme={null}
[{ "type": "remittance", "id": "canonical_payment_Wp5mRx3nKv8bTh2d" }]
```

```json 404 theme={null}
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "Not found"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.