Skip to main content
POST
Apply the antifraud final decision

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

X-Idempotency
string
required

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

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

Body

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
required

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

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

Final decision. REVIEW is never final.

Available options:
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.

Response

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.