# contractors.payments.identify

Preview or apply contractor identification for one outgoing bank transaction, or queue a bounded backfill for all eligible transactions. Applying requires an idempotency key and never sends money.

`POST /api/v1/accounting/contractors.payments.identify`

Permissions: `accounting:read`, `accounting:write` · Roles: admin, finance

MCP tool: `accounting_contractors_payments_identify`

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `transactionId` | string (ID) |  | The ID of a bank or card transaction, from transactions.list. |
| `dryRun` | boolean |  | Default `true`. |
| `scope` | object |  | No other fields. Default `{}`. |
| `scope.from` | string (date) |  | The first date to include, as YYYY-MM-DD. |
| `scope.to` | string (date) |  | The last date to include, as YYYY-MM-DD. |
| `idempotencyKey` | string |  | Any unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match. 8–150 characters. |

## Example request

```bash
curl https://app.getoatmilk.com/api/v1/accounting/contractors.payments.identify \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{}'
```

Reference page: https://app.getoatmilk.com/docs/api/contractors.payments.identify
