Pular para o conteúdo principal
POST
Decide TED IN Held by Antifraud

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

Required idempotency key for safe retries. Use a UUID v4 or a unique business identifier, made of letters, digits, ., _, and -. If the same key is sent again and the original request was already processed, the cached response is returned.

See Retries and idempotency for details.

Maximum string length: 255
Pattern: ^[a-zA-Z0-9._-]+$

Parâmetros de caminho

messageId
string<uuid>
obrigatório

The identifier of the inbound JD message of the held TED, as the retained list shows it.

Corpo

application/json

The decision and the justification of the person.

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

"DENY"

justification
string
obrigatório

The reason of the person, which the plugin keeps on the closing block of the check.

Required string length: 10 - 500
Exemplo:

"Confirmed with the account holder by phone"

Resposta

Indicates that the decision was recorded.

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.