Skip to main content
POST
Decide Antifraud Analysis

Authorizations

Authorization
string
header
required

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

Headers

X-Idempotency
string
required

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}$

Path Parameters

evaluationKey
string
required

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

Body

application/json

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

analysisId
string
required

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

Example:

"an-8f31c2"

decision
enum<string>
required
Available options:
ALLOW,
DENY
Example:

"ALLOW"

justification
string

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

Required string length: 10 - 500
Example:

"Confirmed with the account holder by phone"

reasons
object[]

The reasons of the partner, as it sends them.

Response

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

transferId
string<uuid>
Example:

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

status
enum<string>

The status that the transfer is in after the decision.

Available options:
CREATED,
FRAUD_ANALYSIS,
PENDING,
PROCESSING,
COMPLETED,
REJECTED,
FAILED,
CANCELLED,
RECEIVED
Example:

"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.