Saltar al contenido principal
POST
/
v1
/
matching
/
manual
Crear una coincidencia manual
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>"
  }
}

Autorizaciones

Authorization
string
header
requerido

Autenticación con token Bearer (formato: "Bearer {token}")

Encabezados

X-Request-Id
string

Un identificador único para rastrear la solicitud a través de los servicios.

Parámetros de consulta

contextId
string
requerido

ID del contexto

Cuerpo

application/json

Datos de coincidencia manual

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

"Manual match for Q4 reconciliation"

Respuesta

Indica que el recurso fue creado exitosamente.

matchGroup
object