Pular para o conteúdo principal
POST
Decide Antifraud Analysis

Autorizações

Authorization
string
header
obrigatório

JWT Bearer token authentication. The tenantId is derived from the bearer token or authenticated request context and is not supplied through X-Organization-Id.

Scopes

api
OAuth2ClientCredentials

TED transfer API access

api
OAuth2Password

TED transfer API access

Cabeçalhos

X-Idempotency
string
obrigatório

The key of the decision, analysisId:decision, as the partner sends it. This route does not fence the key. The status of the transfer is the durable check, so a repeat reaches the decision and answers what it finds.

Maximum string length: 255
Pattern: ^[\x21-\x7E]{1,255}$

Parâmetros de caminho

evaluationKey
string
obrigatório

The evaluation key of the partner. It is the transferId, or the transferId followed by .in.

Corpo

application/json

The decision, the analysisId, and optional reasons. A person also sends justification, which the route ignores from the partner application.

analysisId
string
obrigatório

The identifier of the analysis that the decision closes. It must be the pending one.

Exemplo:

"an-8f31c2"

decision
enum<string>
obrigatório
Opções disponíveis:
ALLOW,
DENY
Exemplo:

"ALLOW"

justification
string

The reason of the person. Required from a person, and ignored from the partner application.

Required string length: 10 - 500
Exemplo:

"Confirmed with the account holder by phone"

reasons
object[]

The reasons of the partner, as it sends them.

Resposta

Indicates that the decision was applied, or that it was already applied and the repeat found it.

transferId
string<uuid>
Exemplo:

"770e8400-e29b-41d4-a716-446655440003"

status
enum<string>

The status that the transfer is in after the decision.

Opções disponíveis:
CREATED,
FRAUD_ANALYSIS,
PENDING,
PROCESSING,
COMPLETED,
REJECTED,
FAILED,
CANCELLED,
RECEIVED
Exemplo:

"PROCESSING"

ledgerGroupId
string

The ledger group of a P2P between two ledgers. Absent on every other transfer.

recipientLedgerId
string<uuid>

The recipient's Midaz ledger on a P2P between two ledgers of one organization. Absent on every other transfer.