Skip to main content
On this page

Customize fraud controls as an end-to-end decision system: collect permitted signals, ask the configured provider for a decision, translate that decision into a payment action, and return confirmed outcomes so the model can improve.

Fraud decision lifecycle#

01 · observe
Collect approved signals
Send accurate order, customer, seller, address, and device context that the selected provider supports.
02 · assess
Evaluate risk
DEUNA invokes the active anti-fraud connection at the configured point in the payment strategy.
03 · act
Apply the policy
Continue, require authentication, hold for review, route differently, or decline according to the standardized result.
04 · confirm
Reconcile payment state
Use the authoritative payment state or a verified webhook before fulfillment.
05 · learn
Return outcomes
Send agreed fraud and chargeback outcomes so the provider can evaluate model performance.
Flow diagram
model learning1Approved signals2Anti-fraudevaluation3Low risk4Medium risk5High risk6Process payment73DS or manual review8Decline or alternatepolicy9Authoritativeoutcome10Outcome feedback
Result or outcomeProvider or processorException or stop

Risk level alone is not a payment result. A low-risk transaction can still be declined by a processor, and a completed authentication can still be followed by an unsuccessful authorization. Keep fraud, authentication, and payment state as separate fields.

Choose the customization task#

Decide where fraud runs#

PlacementWhat it protectsMain trade-offRequired handling
Before authorizationAvoids sending policy-blocked attempts to the processorA fraud timeout can delay or stop the payment before an authorization existsDefine timeout and fallback behavior; do not invent a payment result
After authorizationLets the provider evaluate processor and authorization contextAn approved authorization may need to be voided when risk rejects the orderKeep fulfillment blocked and verify the void or capture outcome
Shadow modeMeasures a provider without changing payment decisionsResults are observational and must not silently become enforcementSeparate comparison metrics from live routing inputs
Manual reviewAdds a human or provider review before the final actionThe customer and fulfillment flow remain pending longerTreat manual_review as unresolved and consume the later authoritative state

Use Dynamic authentication when the fraud result selects a verification control such as 3DS. Use Manual review for held transactions and 3DS for issuer authentication behavior.

Signal contract#

Send only data that is accurate, permitted, and supported by the selected provider. More fields do not automatically produce a better decision.

Signal groupExamplesIntegration rule
OrderAmount, currency, items, shipping, discountsKeep totals consistent with the order processed by the backend
CustomerStable customer reference, account history, contact contextDo not place secret credentials or unrelated personal data in free-form fields
DeviceProvider-compatible fingerprint or device session identifierGenerate it in the supported client flow and bind it to the same order attempt
MarketplaceSeller identifiers and approved seller attributesConfirm which marketplace_sellers fields the provider actually consumes
OutcomePayment result, confirmed fraud, or agreed chargeback stateSend idempotently with the DEUNA transaction identifier

Roll out safely#

  1. Confirm support. Choose the provider, markets, channels, and evaluation placement from the published capability and commercial contract.
  2. Define the policy. Write the action for every supported provider result, timeout, unavailable response, and manual-review outcome.
  3. Map signals. Document the authoritative source, format, consent basis, and fallback for every field you send.
  4. Validate in sandbox. Exercise low, medium, high, unavailable, timeout, duplicate, and malformed-signal cases.
  5. Compare in shadow mode. Measure coverage and disagreement before switching a new provider or model into enforcement.
  6. Release gradually. Monitor approval, challenge, review, false-positive, fraud, and payment outcomes together.
  7. Close the loop. Return approved outcomes through the chargeback feedback workflow.

Operating checklist#

  • Keep private provider credentials in DEUNA Admin or a protected backend, never in browser or mobile code.
  • Correlate the fraud evaluation, payment attempt, order, and later outcome with stable identifiers.
  • Make retries idempotent; a client timeout is not proof that an evaluation or payment failed.
  • Preserve the raw provider reference required for support while exposing only the normalized decision to business logic.
  • Alert on missing device data, evaluation latency, unavailable responses, decision drift, and feedback-processing failures.
  • Revalidate the strategy whenever a provider, SDK, market, or required signal changes.

In this section