v1

latestOpenAPI 3.1.02026-07-263644911022.4 KB
Configuration Sources

Create a reconciliation source

Use this endpoint to create a new reconciliation source under a specific context. Sources define where transaction data comes from for reconciliation.

post/v1/contexts/{contextId}/sources

Path parameters

contextIdstring required

The unique identifier of the reconciliation context.

Headers

X-Request-Idstring

A unique identifier for tracing the request across services.

X-Idempotency-Keystring

Optional idempotency key for safe retries. Also accepts Idempotency-Key as an alternative header name. If the same key is sent again and the original request was already processed, the cached response is returned with X-Idempotency-Replayed: true.

See Retries and idempotency for details.

Request body

namestring required
type'LEDGER' | 'BANK' | 'GATEWAY' | 'CUSTOM' | 'FETCHER' required

Category of data source for reconciliation

side'LEFT' | 'RIGHT' required

Side of the reconciliation this source feeds

configobject

Example request

{
  "name": "Primary Bank Account",
  "side": "LEFT"
}

Response

Successfully created source.

The response includes the X-Idempotency-Replayed header.

If the value is false, the request was just processed. If the value is true, the response is a replay of a previously processed request.

See Retries and idempotency for more details.

idstring
contextIdstring
namestring
type'LEDGER' | 'BANK' | 'GATEWAY' | 'CUSTOM' | 'FETCHER'

Category of data source for reconciliation

side'LEFT' | 'RIGHT'

Side of the reconciliation this source feeds

configobject
createdAtstring
updatedAtstring