The Customer Label endpoint allows you to review customers across multiple fraud categories, including Payment Fraud and Refund Abuse. This endpoint replaces the legacy v2/label endpoint, which has been deprecated.
See our Payment Fraud or Refund Abuse guides for more information on how to use manual reviews to prevent fraud.
The fraud category associated with this label.
One of:
|
The specific label to apply, based on the category selected. • For category: Note: The "potential" labels ( • For category: |
The individual who is reviewing the customer. Their details will appear in the audit log and manual review details on the Ravelin dashboard so you are able to see who did this review. |
The reason for reviewing the customer with this label. This will appear in the audit log on the dashboard so you are able to see why this customer was reviewed. |
POST https://api.ravelin.com/v2/customer/customer-123/labels HTTP/1.1
Authorization: token ...
Content-Type: application/json
{
"category": "PAYMENT_FRAUD",
"review": "GENUINE",
"comment": "This customer is a regular and has been using the service for over a year.",
"reviewer": {
"name": "Bilbo Baggins",
"email": "bilbo.b@shiremail.com"
}
}
Example response:
{
"eventTime": "2020-01-23T16:33:02Z"
}
Was this page helpful?