Fraud Notification
This document describes how to receive and process fraud notifications. Onerway pushes fraud alert information in real-time via Webhook to help merchants promptly identify and handle potentially fraudulent transactions, reducing chargeback risks and financial losses.
Feature Overview
The fraud notification service provides:
- Real-time fraud alert information push
- Detailed transaction and fraud type data
- Quick identification of high-risk transactions
- Chargeback status and refund status information
- Support for timely risk control measures
Notification Configuration
To receive fraud notifications, merchants need to configure a Webhook URL in the Onerway merchant dashboard. The system will push fraud alert information to this URL via HTTP POST. Configuration steps:
- Log in to Onerway merchant dashboard
- Navigate to "Developers" > "Notification Settings"
- Configure the "Fraud Notification" receiving address
- Test that notification reception works properly
Fraud Type List
Fraud Types
The following are common fraud types for merchant reference:
Lost- Lost cardStolen- Stolen cardNRI- Never received cardFraud Application- Fraudulent applicationCounterfeit- Counterfeit cardMiscellaneous- Other typesFraudulent Use of Account Number- Fraudulent use of account numberCard Not Present Fraud- Card not present fraudAccount Takeover Fraud- Account takeover fraudFirst-Party Fraud- First-party fraudBust-out Collusive Merchant- Bust-out collusive merchant
Notification Example
{
"notificationId": "1952201341279666176",
"fraudType": "Counterfeit Card Fraud",
"createTime": "2025-08-04 10:54:04",
"originTransactionId": "1952194039243997184",
"txnAmount": "10.00",
"cardBrand": "MASTERCARD",
"chargebackStatus": "0",
"refundStatus": "0",
"merchantNo": "800209",
"sign": "e85940bbb2af6060842508a1793420f061b8c5a1a2e6cbc6dd1a9447ca53f834"
}2
3
4
5
6
7
8
9
10
11
12
20000Notification Parameters
| Parameter | Type | Length | Signed | Description |
|---|---|---|---|---|
notificationId | String | / | Yes | Unique identifier for the fraud notification event. |
fraudType | String | / | Yes | Type of fraud detected by the monitoring system. For a complete list of fraud types, refer to the Fraud Type List section. |
createTime | String | / | Yes | Timestamp when the notification was created. |
originTransactionId | String | 20 | Yes | Original transaction ID from Onerway for reference transactions. |
txnAmount | String | / | Yes | Transaction amount after currency conversion to settlement currency. |
cardBrand | String | / | Yes | Payment method or card brand used in the transaction. |
chargebackStatus | String | / | Yes | Chargeback status indicating dispute activity. |
refundStatus | String | / | Yes | Current refund status of the transaction. |
merchantNo | String | 20 | Yes | Merchant number assigned by |
sign | String | / | No | Digital signature string for request verification and security. Please refer to Signature for signature generation method. |
Notification Processing Flow
Notification Receipt Confirmation
Important Notes
- Ensure your notification receiving server is stable and reliable, capable of receiving notifications
24/7 - After receiving a notification, return
20000to indicate successful receipt - If notification sending fails, the system will retry according to the following strategy:
- Total of 6 attempts
- Initial sending interval of 5 seconds
- Each sending interval grows exponentially (doubling each time)
- Maximum sending interval of 60 seconds
- Sending interval sequence: 5s → 10s → 20s → 40s → 60s
- Notification content should be treated as confidential information, properly stored and processed
- Recommend saving all received notification records for subsequent tracking and analysis
Notification Signature Verification
Unified Signing/Verification Rules
- Request signing and webhook verification use the same algorithm:
ASCII sort -> concatenate values -> append secretKey -> SHA-256. - Use a simple default for request signing: exclude only
sign, and include all other non-empty fields (that is,REQUEST_EXCLUDED_KEYS = ['sign']). - Webhook verification must dynamically exclude fields marked
Noin the Signature column. Do not hardcode aYeswhitelist. - Treat
originTransactionIdas included by default; exclude it only in webhook verification.
Current Webhook Excluded Fields
'originTransactionId', 'originMerchantTxnId', 'customsDeclarationAmount', 'customsDeclarationCurrency', 'paymentMethod', 'walletTypeName', 'periodValue', 'tokenExpireTime', 'sign'
Fraud webhook signature verification follows the same logic as transaction notifications. For complete code examples, see Transaction Notification - Webhook Verification Code Examples.
Fraud Risk Handling Recommendations
After receiving fraud notifications, merchants should take different measures based on risk levels:
Handling Strategies
- High-risk Transaction Processing
- Immediately suspend order shipment or service provision
- Consider proactively initiating refunds to avoid subsequent chargebacks
- Add customers to risk monitoring lists
- Preserve relevant transaction evidence
- Account Security Measures
- Consider implementing temporary security restrictions on involved accounts
- Require users to re-verify their identity
- Check accounts for other suspicious activities
- Subsequent Prevention
- Analyze fraud patterns and adjust risk control rules
- Enhance verification requirements for similar transactions
- Consider implementing additional verification for specific payment methods or regions
Important Considerations
Important Notes
- Ensure Webhook receiving servers are stable and reliable to avoid missing notifications
- Verify the signature of each notification to prevent forged requests
- Implement idempotent processing to avoid duplicate processing from repeated notifications
- Transactions with chargeback status
1should be prioritized to reduce potential losses
Best Practices
- Establish dedicated fraud notification processing workflows and teams
- Prioritize high-risk transactions, especially high-value transactions
- Save all notification records for subsequent analysis and auditing
- Promptly initiate full refunds for suspicious transactions to reduce chargeback risks
- Establish comprehensive transaction documentation management systems
- Regularly analyze fraud data and trends to adjust risk control strategies
- Consider using machine learning models for automated risk scoring