Saltar al contenido principal
POST
Apply the antifraud final decision

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

X-Idempotency
string
requerido

Raw <analysisId>:<decision>, as the library contract defines. The same key replays the first outcome.

Pattern: ^[\x21-\x7E]{1,128}$

Cuerpo

application/json

The partner's final decision on an analysis, as defined by the Lerian antifraud resolve contract (v1). Body capped at 16 KiB. Only analysisId, decision and the body size can refuse the request (422 PBP-0219); reasons never does: a bad entry is dropped, and the reasons after the first 50 kept are discarded with a warning in the log (P-23).

analysisId
string
requerido

The analysisId the partner returned with REVIEW: 1 to 64 printable ASCII characters, no space.

Pattern: ^[\x21-\x7E]{1,64}$
decision
enum<string>
requerido

Final decision. REVIEW is never final.

Opciones disponibles:
ALLOW,
DENY
reasons
object[]

Optional. The service records the first 50 entries the library keeps and discards the rest, with a warning in the log; no count or entry refuses the request.

Respuesta

OK. The decision was applied, whatever happened to the payment. Read the outcome on the payment. On ALLOW, if the source no longer accepts the informed amount, the payment ends REJECTED with PBP-0217.