Pular para o conteúdo principal
POST
Apply the antifraud final decision

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Idempotency
string
obrigatório

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

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

Corpo

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
obrigatório

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

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

Final decision. REVIEW is never final.

Opções disponíveis:
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.

Resposta

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.