Skip to main content
POST
/
v1
/
matching
/
adjustments
Create an adjustment
curl --request POST \
  --url https://matcher.sandbox.lerian.net/v1/matching/adjustments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": "10.50",
  "currency": "USD",
  "description": "Bank wire fee adjustment",
  "reason": "Variance due to bank processing fee",
  "type": "BANK_FEE",
  "matchGroupId": "550e8400-e29b-41d4-a716-446655440000",
  "transactionId": "550e8400-e29b-41d4-a716-446655440000"
}
'
{
  "adjustment": {
    "amount": 123,
    "contextId": "<string>",
    "createdAt": "<string>",
    "createdBy": "<string>",
    "currency": "<string>",
    "description": "<string>",
    "id": "<string>",
    "matchGroupId": "<string>",
    "reason": "<string>",
    "transactionId": "<string>",
    "type": "BANK_FEE",
    "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

Adjustment payload

amount
string
required
Example:

"10.50"

currency
string
required
Example:

"USD"

description
string
required
Example:

"Bank wire fee adjustment"

reason
string
required
Example:

"Variance due to bank processing fee"

type
enum<string>
required
Available options:
BANK_FEE,
FX_DIFFERENCE,
ROUNDING,
WRITE_OFF,
MISCELLANEOUS
Example:

"BANK_FEE"

matchGroupId
string<uuid>
Example:

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

transactionId
string<uuid>
Example:

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

Response

Indicates that the resource was successfully created.

adjustment
object