Skip to main content
POST
Decide TED IN Held by Antifraud

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

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._-]+$

Path Parameters

messageId
string<uuid>
required

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

Body

application/json

The decision and the justification of the person.

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

"DENY"

justification
string
required

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

Required string length: 10 - 500
Example:

"Confirmed with the account holder by phone"

Response

Indicates that the decision was recorded.

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.