.png)
Sift Integration Guide
Integrate Sift with enterprise systems through REST APIs, selected webhook-style notifications, and Martini workflows for risk evaluation and decision orchestration.
Sift integration options at a glance
Sift’s primary integration model is REST APIs for submitting behavioral and transactional Events, sending Orders and payment activity, and retrieving Users, Scores, and Decisions. Sift also supports webhook-style outbound notifications for selected decision or risk use cases, although coverage is not universal across all objects. Batch-style event submission may be available for applicable API versions and endpoints. Martini can consume Sift REST APIs, expose an API for supported callbacks, transform source payloads, and orchestrate synchronous or scheduled workflows. API-key credentials can be stored in Martini Secrets Management, while retries, throttling, validation, partial batch failures, and downstream decision routing are handled in workflow logic.
Common Sift integration patterns
Common Sift data objects used in integrations
Authentication and security considerations
API-key authentication
Sift uses API-key authentication as its primary integration model. The exact authentication header and API version should follow the current Sift documentation for the applicable endpoint.
Credential protection
- Store Sift API keys in Martini Secrets Management.
- Use separate credentials and configuration for development, testing, and production.
- Use HTTPS for all API communication.
- Do not place credentials in mappings, scripts, request bodies, or operational logs.
Sensitive data controls
Risk workflows may process personal, payment, device, and behavioral information. Restrict logs, minimize retained payloads, and apply environment and access controls appropriate to the data.
Operational considerations for Sift integrations
Rate limits and retries
High-volume submissions may encounter rate limits or service-protection responses. Use controlled concurrency, backoff, and explicit handling for applicable HTTP 429 responses.
Pagination and checkpoints
Collection reads may be paginated. Continue through the documented cursor or page condition and persist checkpoints for scheduled or historical workflows.
Idempotency and batches
Retries after timeouts can create duplicate submissions. Use stable identifiers and Sift’s documented deduplication guidance. For batches, retain item-level acceptance and rejection results and retry only eligible failures.
Schema and decision handling
Version mappings when event names, required properties, or data types change. Treat allow, review, and block outcomes as business data, separate from authentication, validation, rate-limit, and service errors.
Testing and monitoring
Test representative Users, Events, Orders, Scores, Decisions, callbacks, and failure paths in non-production environments. Monitor workflow logs and preserve correlation identifiers for troubleshooting and reconciliation.
Why use Martini instead of scripts or point-to-point integrations?
Centralized integration logic
Martini centralizes Sift API versions, authentication, request headers, mappings, business rules, and downstream routing instead of scattering them across scripts and point-to-point implementations.
Reliable orchestration
Workflows can coordinate real-time submissions, scheduled synchronization, selected callbacks, controlled batches, retries, validation, and partial-failure handling.
Reusable data transformation
Reusable mappings and workflow components help standardize customer, device, payment, order, Event, Score, and Decision handling across applications.
Operational maintainability
Martini provides structured error paths, environment configuration, secrets management, monitoring, and API exposure so Sift integrations can evolve with versioned payloads and changing business requirements.