Saltar al contenido principal
POST
Validate a transaction

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Cuerpo

application/json
account
object
requerido
amount
string
requerido
Ejemplo:

"100.00"

asset
string
requerido
Ejemplo:

"USD"

requestId
string<uuid>
requerido
Ejemplo:

"00000000-0000-0000-0000-000000000000"

transactionTimestamp
string<date-time>
requerido
Ejemplo:

"2021-01-01T00:00:00Z"

merchant
object
metadata
object
portfolio
object
scheme
string

Payment scheme, required unless the deprecated transactionType is sent: 1 to 50 characters of A-Z, 0-9, _ or - after trimming and upper-casing.

Maximum string length: 50
Ejemplo:

"PIX"

segment
object
subType
string

Sub type, at most 50 bytes after trimming; stored lower-cased and matched case-insensitively.

Maximum string length: 50
Ejemplo:

"purchase"

transactionType
string
obsoleto

Deprecated: use scheme. Same value under its former name; when both are sent they must match.

Maximum string length: 50
Ejemplo:

"PIX"

Respuesta

OK

decision
string
requerido
Ejemplo:

"ALLOW"

evaluatedAt
string<date-time>
requerido
Ejemplo:

"2021-01-01T00:00:00Z"

evaluatedRuleIds
string<uuid>[] | null
requerido
limitUsageDetails
object[] | null
requerido
matchedRuleIds
string<uuid>[] | null
requerido
processingTimeMs
number<double>
requerido
Ejemplo:

12.5

reason
string
requerido
Ejemplo:

"Transaction denied by rule 'Block high-value checking transactions'"

requestId
string<uuid>
requerido
Ejemplo:

"00000000-0000-0000-0000-000000000000"

totalRulesLoaded
integer<int64>
requerido
Ejemplo:

42

truncated
boolean
requerido
Ejemplo:

false

validationId
string<uuid>
requerido
Ejemplo:

"00000000-0000-0000-0000-000000000000"