Skip to main content

Event Type Examples

This section provides complete request and feedback payload examples for each event type supported by the Mubeen risk validation API. Use these as reference when integrating specific event flows.

Monetary Event Types​

Monetary events involve financial transactions and include the transaction_amount field with a non-zero value.

Event TypeDescriptionPage
paymentPayment transactionView examples
checkoutCheckout / cart completionView examples
transferMoney transfer between accountsView examples
refundRefund processingView examples
creditCredit or top-up operationView examples

Non-Monetary Event Types​

Non-monetary events do not involve direct financial transactions. The transaction_amount field can be omitted or set to 0.

Event TypeDescriptionPage
signinUser sign-in attemptView examples
registrationNew account registrationView examples
email_changeAccount email address changeView examples
phone_changeAccount phone number changeView examples
password_changeAuthenticated password changeView examples
security_settings_change2FA / trusted devices / recovery optionsView examples
listingContent or product listing creationView examples

Common Structure​

All event type requests share the same endpoint and authentication:

POST https://api.sa.mubeen.ai/api/v1/generic/validate
X-API-Key: <your_key>
Content-Type: application/json

Every request should include the event_type. If omitted it defaults to checkout, and the value is not validated, so a typo is accepted silently and creates a new event type on your account. device_id is optional but strongly recommended — it's the primary device signal for fraud detection. timestamp is optional too — if omitted, the server's current time is used. Additional fields vary by event type — monetary events typically include payment and card fields, while non-monetary events focus on customer and device context.

For full field reference, see Server-Side Integration.