Skip to main content
POST
Internal endpoint called by Gateway services to verify if a transaction is permissible under current rules.

Request

string
required
Bearer olive_default_xxx (Internal Service Token)

Body Parameters

string
required
Subscriber UUID
integer
required
Amount in cents
string
required
Type: P2P, CASH_OUT, PAYMENT
integer
Velocity check (last 24h count)
boolean
Geo-velocity check

Response

boolean
Transaction allowed?
string
LOW, MEDIUM, HIGH, CRITICAL
string
Rule violated (if allowed=false)

Examples


Checks Performed


Errors

Authorizations

Authorization
string
header
required

JWT token from admin login for administrative operations. Format: 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'

Headers

Authorization
string
required

Body

application/json
subscriber_id
string
required
amount
integer
required
transaction_type
string
required
recent_transaction_count
integer
is_new_location
boolean

Response

200 - application/json

Success

The response is of type object.