Skip to main content
POST
/
v1
/
exceptions
/
{exceptionId}
/
adjust-entry
Adjust entry for an exception
curl --request POST \
  --url https://matcher.sandbox.lerian.net/v1/exceptions/{exceptionId}/adjust-entry \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": 150.5,
  "currency": "USD",
  "effectiveAt": "2023-11-07T05:31:56Z",
  "notes": "Correcting processing fee discrepancy",
  "reasonCode": "FEE_ADJUSTMENT"
}
'
{
  "assignedTo": "[email protected]",
  "createdAt": "2025-01-15T10:30:00.000Z",
  "dueAt": "2025-01-20T10:30:00.000Z",
  "externalIssueId": "RECON-1234",
  "externalSystem": "JIRA",
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "reason": "Amount mismatch detected",
  "resolutionNotes": "Resolved via force match",
  "resolutionReason": "BUSINESS_DECISION",
  "resolutionType": "FORCE_MATCH",
  "severity": "HIGH",
  "status": "OPEN",
  "transactionId": "550e8400-e29b-41d4-a716-446655440001",
  "updatedAt": "2025-01-15T10:30:00.000Z"
}

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-Key
string

A unique key to ensure safe retries of the request.

Path Parameters

exceptionId
string
required

Exception ID

Body

application/json

Adjust entry payload

Adjust entry request payload

amount
number
required

Adjustment amount

Example:

150.5

currency
string
required

Currency code (ISO 4217)

Example:

"USD"

effectiveAt
string<date-time>
required

When the adjustment takes effect

notes
string
required

Additional notes explaining the adjustment

Maximum string length: 1000
Example:

"Correcting processing fee discrepancy"

reasonCode
string
required

Reason code for the adjustment

Maximum string length: 255
Example:

"FEE_ADJUSTMENT"

Response

Indicates that the request was successful and the response contains the expected data.

Exception details

assignedTo
string

User the exception is assigned to

createdAt
string

Creation timestamp in RFC3339 format

Example:

"2025-01-15T10:30:00.000Z"

dueAt
string

Due date for resolution in RFC3339 format

Example:

"2025-01-20T10:30:00.000Z"

externalIssueId
string

External issue ID in the external system

Example:

"RECON-1234"

externalSystem
string

External system where exception was dispatched

Example:

"JIRA"

id
string

Unique identifier for the exception

Example:

"550e8400-e29b-41d4-a716-446655440000"

reason
string

Reason the exception was raised

Example:

"Amount mismatch detected"

resolutionNotes
string

Resolution notes when resolved

Example:

"Resolved via force match"

resolutionReason
string

Reason for the resolution

Example:

"BUSINESS_DECISION"

resolutionType
enum<string>

Type of resolution applied

Available options:
FORCE_MATCH,
ADJUST_ENTRY
Example:

"FORCE_MATCH"

severity
enum<string>

Severity level

Available options:
LOW,
MEDIUM,
HIGH,
CRITICAL
Example:

"HIGH"

status
enum<string>

Current status

Available options:
OPEN,
ASSIGNED,
RESOLVED
Example:

"OPEN"

transactionId
string

Transaction ID this exception is for

Example:

"550e8400-e29b-41d4-a716-446655440001"

updatedAt
string

Last update timestamp in RFC3339 format

Example:

"2025-01-15T10:30:00.000Z"