Skip to main content
POST
Clone a reconciliation context

Authorizations

Authorization
string
header
required

Bearer token authentication (format: "Bearer {token}")

Headers

X-Request-Id
string

A unique identifier for tracing the request across services.

X-Idempotency
string

Optional idempotency key for safe retries. Matcher reads the key only from this header, and only when you send one. A request that carries a key only in X-Idempotency-Key or Idempotency-Key is refused with 400 (MTCH-0015), and nothing is processed. If the same key is sent again and the original request was already processed, the stored response is returned with X-Idempotency-Replayed: true. A malformed key returns 400, a key whose first request is still in progress returns 409, and an idempotency storage failure returns 500. These refusals are problem documents.

Path Parameters

contextId
string<uuid>
required

The unique identifier of the reconciliation context to clone. Context ID

Body

application/json

Clone context payload

name
string
required

Name for the newly cloned context.

Required string length: 1 - 100
Example:

"Bank Reconciliation Q1 (Copy)"

includeRules
boolean

Whether to clone match rules and fee rules. Defaults to true when omitted.

Example:

true

includeSources
boolean

Whether to clone sources and their field maps. Defaults to true when omitted.

Example:

true

Response

Successfully cloned context.

context
object
required

The newly created context.

feeRulesCloned
integer<int64>
required

Number of fee rules cloned into the new context.

Example:

2

fieldMapsCloned
integer<int64>
required

Number of field maps cloned into the new context.

Example:

3

rulesCloned
integer<int64>
required

Number of match rules cloned into the new context.

Example:

5

sourcesCloned
integer<int64>
required

Number of sources cloned into the new context.

Example:

3