Fraud SDK .NET 2.0.0
September 17th, 2026 by Riberon-Piatyszek Léo
Breaking changes
- Refactor the SDK as a client generated from the Account Protect OpenAPI specification, replacing the previous hand-written implementation
- Update client setup to a builder pattern with
Client.Builder(...), replacingAddDataDomeDI registration andDataDomeOptions - Update event submission to one dedicated class per operation (
ValidateLogin,CollectLogin,ValidateRegistration,CollectRegistration,ValidatePasswordUpdate,CollectPasswordUpdate,ValidateAccountUpdate,CollectAccountUpdate) instead of a singleIDataDomeContextwithValidateandCollectmethods - Update payload construction to per-event builders instead of the previous shared
DataDomeEventbuilder - Update payload validation to run at build time and throw a
ValidationExceptionon missing required fields - Update request field overrides to a
RequestMetadataobject passed alongside the request instead of mutating an extracted request wrapper - Update error handling to exceptions instead of a response
Statusfield: validate calls still fail open and returnAllow, while collect and feedback calls now throw (ApiException,HttpException,RequestTimeoutException) - Remove the
StatusandIPfields from the response model - Remove asynchronous validate and collect calls
- Remove the
useForwardedconfiguration option and its header parsing
Other changes
- Add support for custom events with
ValidateCustomandCollectCustom - Add support for the feedback endpoint
- Add support for .NET 8.0

