When the Anti-fraud system blocklist is updated (add or remove a parameter), Xsolla sends a webhook with the afs_black_list
type to the webhook URL. The parameter addition is performed automatically on the Xsolla side or on request. Parameter removal is possible only on request. To receive this webhook, contact your Customer Success Manager or email csm@xsolla.com.
notification_type required | string Notification type. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object Object with information about AFS blocklist event. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Return to indicate successful processing.
Return in case of an error in the provided information (e.g., a required parameter missing, failed authorization, etc.).
Return to indicate temporary errors with your servers.
curl -v 'https://your.hostname/your/uri' \ -X POST \ -H 'Authorization: Signature 32c64a80d2527dc08906ae1891bac4489509b9f6' \ -d '{ "event": { "action": "adding", "date_of_last_action": "2020-11-27T10:09:05+03:00", "parameter": "email", "parameter_value": "email@example.com", "reason": "ps_reported_fraud", "transaction_id": "111111111", "project_id": "123456" }, "notification_type": "afs_black_list" }'
{- "error": {
- "code": "INVALID_USER",
- "message": "Invalid user"
}
}