Skip to main content
POST
/
v1
/
matching
/
manual
Create a manual match
curl --request POST \
  --url https://matcher.sandbox.lerian.net/v1/matching/manual \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "transactionIds": [
    "550e8400-e29b-41d4-a716-446655440000"
  ],
  "notes": "Manual match for Q4 reconciliation"
}
'
{
  "matchGroup": {
    "confidence": {},
    "confirmedAt": "<string>",
    "contextId": "<string>",
    "createdAt": "<string>",
    "id": "<string>",
    "items": [
      {
        "allocatedAmount": 123,
        "allocatedCurrency": "<string>",
        "allowPartial": true,
        "createdAt": "<string>",
        "expectedAmount": 123,
        "id": "<string>",
        "matchGroupId": "<string>",
        "transactionId": "<string>",
        "updatedAt": "<string>"
      }
    ],
    "rejectedReason": "<string>",
    "ruleId": "<string>",
    "runId": "<string>",
    "status": "PROPOSED",
    "updatedAt": "<string>"
  }
}

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.

Query Parameters

contextId
string
required

Context ID

Body

application/json

Manual match payload

transactionIds
string[]
required
Minimum array length: 2
Example:
["550e8400-e29b-41d4-a716-446655440000"]
notes
string
Example:

"Manual match for Q4 reconciliation"

Response

Indicates that the resource was successfully created.

matchGroup
object