Skip to main content
POST
/
compliance
/
check
Check Compliance
curl --request POST \
  --url https://olive-gateway-a6ba.onrender.com/api/v1/compliance/check \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "subscriber_id": "<string>",
  "amount": 123,
  "transaction_type": "<string>"
}
'
{}

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.