Developers / API Reference / Live / Rule Engine API
Models
The HTTPValidationError object
Field
Type
Required
Description
detail
array<ValidationError>
No
—
The RuleEvalRequest object
Field
Type
Required
Description
transaction
TransactionRequest
Yes
—
rule_codes
array<string>
Yes
List of rule codes to evaluate, if not provided all active rules will be evaluated
The TransactionRequest object
Field
Type
Required
Description
transaction_id
string
Yes
Unique transaction identifier
originator_address
string | null
No
Wallet involved in the transaction
originator_name
string | null
No
Sender identifier
originator_account_reference_id
string | null
No
Sender account identifier
beneficiary_address
string | null
No
Recepient wallet involved in the transaction
beneficiary_name
string | null
No
Recipient identifier
beneficiary_account_reference_id
string | null
No
Recepient account identifier
amount
number
Yes
Amount transferred
currency
string
Yes
Currency code (e.g., AED, USD) Max length 5.
country_code
string
Yes
Country to verify the threshold (use ISO 3166-1 alpha-2 country code, e.g. AE for United Arab Emirates).
metadata
object | null
No
Additional transaction metadata
The ValidationError object
Field
Type
Required
Description
loc
array<string | integer>
Yes
—
msg
string
Yes
—
type
string
Yes
—