Fraud Management: Use Cases
Last updated:November 9, 2026
Draft reviewReview before publishing (remove this box before publishing)
- Blue dashed boxes are placeholders for endpoints, samples and procedures that cannot be shared in the draft. Each has an ID (PH-01 and on) and is listed in the placeholder register file. The IDs changed since the previous draft, so use the new register.
- Structure follows the MAC Control use-case page: cards, one use case visible at a time. The live "sample request" snippets are not included. Use the placeholders for them.
- The cards rely on the site function
displayDivs()used by the MAC Control page, called once per group. - The Integration Sheet resolved the ebRTR question: v1.0 uses 0, 1 and 2, v1.5 (rollback) uses 0 and 99, and v2.0 uses 21, 22 and 29. The use cases are now labeled by version.
- The sheet still contained two raw response strings (payment widget and Server-to-Server). I did not copy them. They are placeholders.
- Text from the published integration page and the Integration Sheet: "ACI" was removed from product names, the four identical error-response tables became one, and typos were fixed.
- New use case "Dynamic 3D Secure with Merchant Fraud Management" (card group "For customers using Merchant Fraud Management"). It is based on the page of the same name and follows the same layout as the other use cases. Its own review notes are inside the use case. The diagrams from the page must be updated before publishing.
- The field, response and brand tables are on their own pages: supported payments, field mappings and response mappings. The red ebCARDTYPE section moved to the field mappings page.
Fraud Management is a real-time fraud prevention solution for merchants, PSPs, acquirers and everyone else who processes payment transactions. To get a live configuration and account, contact your account manager.
Pick a use case to see the flow, the parameters and the settings it needs. For concepts, read how Fraud Management works in a payment. For every setting, see the configuration page.
Legs are the calls the Secure eCommerce Gateway sends to Merchant Fraud Management
Fraud Management service must be enabled for risk rollback
Full RTR 2.0 requires the setting "Enable Full RTR - v2.0"
Set up the merchant account first: see the configuration page
Use cases
Standalone and Fraud API Gateway
With a payment request
Fraud Management Direct supports three RTR (real-time risk) versions. The version decides the ebRTR values you see in the flows. You switch between the old and the new implementation with the setting "Enable Full RTR - v2.0".
| Version | Name | ebRTR values | Use cases |
|---|---|---|---|
| v1.0 | Critical Path | 0, 1, 2 | Accept, Deny or challenge, Dynamic 3D Secure |
| v1.5 | Rollback | 0, 99 | Risk rollback |
| v2.0 | Full RTR | 21, 22, 29 | Full RTR 2.0 use cases |
For customers using Merchant Fraud Management (PSP)
Use cases for the Merchant Fraud Management risk check that you configure in the gateway risk settings.
After a review
Standalone risk service
Send a fraud check to the Fraud Management API independently of a payment. A standalone request needs almost the same data as an ordinary server-to-server credit card request.
How it works
Send the request
The merchant sends the request to the standalone endpoint, which forwards it to Fraud Management for fraud screening. The standalone risk check works in synchronous mode.
Fraud Management responds
Fraud Management responds with ACCEPT, CHALLENGE or DENY.
Read the result
The gateway forwards the response to the merchant. It contains the result of the fraud check and echoes back the parameters you sent.
Endpoint
There is a special endpoint for sending a fraud check against the Fraud Management API, independent of a payment.
Placeholder PH-01Endpoint: standalone risk check
Insert the endpoint URL here, for example as <pre class="prettyprint">…</pre>. Remove this box.
Minimal request
Compared with an ordinary server-to-server credit card request, the only field that is not already mandatory for a payment is merchantTransactionId. Depending on your business and your Fraud Management account setup, you send more data (see the parameter groups below).
Placeholder PH-02Request sample: minimal standalone request
Insert the request sample here, as a code block or the interactive snippet container. Remove this box.
Parameter groups
These parameter groups are relevant for a Fraud Management transaction. For every parameter, see the API reference.
customerbillingshippingcartthreeDSecuregiftcardrisk
Full request with all parameters
A request that uses all parameters for Fraud Management looks like this:
Placeholder PH-03Request sample: full standalone request with all parameters
Insert the request sample here, as a code block or the interactive snippet container. Remove this box.
Response
The response contains the results of the fraud check and echoes back the parameters you sent.
Placeholder PH-04Response sample: standalone risk check response
Insert the response sample here, as a code block. Remove this box.
To get a live configuration and account, contact your account manager.
Settings
- Many settings do not apply in standalone mode. See the configuration fields.
Standalone risk service on stored payment data
Run a Fraud Management scan on already registered payment data, without requesting a payment. Reference the registration.id in a standalone request.
Request
Placeholder PH-05Endpoint: standalone risk check on a registration
Insert the endpoint URL here, for example as <pre class="prettyprint">…</pre>. Remove this box.
Placeholder PH-06Request sample: standalone risk check that references a registration.id
Insert the request sample here, as a code block or the interactive snippet container. Remove this box.
Placeholder PH-07Response sample: standalone risk check on a registration
Insert the response sample here, as a code block. Remove this box.
Fraud API Gateway
The Fraud API Gateway is a secure, reliable and high-performance interface that lets merchants and payment service providers (PSPs) connect directly to Fraud Management for Merchants. The connection does not require integration with a payment gateway.
The gateway supports standalone fraud screening, so you can use the fraud services independently of payment processing. It is a modern, REST-based interface that gives on-demand access to the fraud products, currently Fraud Management for Merchants.
The API:
- accepts fraud check requests,
- returns recommendations: accept, deny or challenge, and
- translates requests from the public API format to the internal format used by the underlying fraud products.
The API is designed for new and existing Fraud Management for Merchants customers who want direct access to the service. It is not intended as a public fraud-checking service.
Onboarding requirements and definitions
To use the API, you must complete onboarding with the underlying fraud product.
Definitions
- Onboarding: full integration with the fraud product.
- Enrollment and registration: provisioning access to the Fraud API Gateway using an Entity ID and a bearer token.
Registration and enrollment
Placeholder PH-08Procedure: registration and enrollment
Describe how to get an Entity ID and a bearer token, and where the token goes in the request (header). Remove this box.
Draft reviewThe source page links to a "Registration and enrollment" section, but that section does not exist in the file I received. Please supply its content.
How it works
Figure 1: Fraud API integration workflow
- Inbound API call. An external system or client sends a request to the Fraud gateway. Currently this is used only for fraud checks via
POST. Create, update and delete operations are not supported. - Add or update fields to match existing functionality. The gateway may use the Enhancement component to enrich or align the incoming request: adding missing fields, updating field formats or values, and aligning the request structure with internal expectations.
- Transformation. The gateway transforms the request, for example by mapping fields to internal data models, converting data formats, and applying validation rules or business logic.
- Call the selected product API. The transformed request is routed to the target product API, where the business operation is performed.
- Transformation. The gateway translates the product response into the standardized gateway response format.
- Reformatted response. The gateway returns the final response to the client.
Endpoint
Placeholder PH-09Endpoint: Fraud API Gateway fraud check
Insert the endpoint URL here, for example as <pre class="prettyprint">…</pre>. Remove this box.
Sample request with all possible parameters
Placeholder PH-10Request sample: Fraud API Gateway request with all possible parameters
Insert the request sample here, as a code block or the interactive snippet container. Remove this box.
Possible responses
200: successfully performed fraud analysis and returned a recommendation
Response schema: application/json
| Field | Required | Type | Description |
|---|---|---|---|
result | required | object | The recommendation object. |
result.resultDetails | — | fraud-recommend-response (object) | A container for name/value pairs used to enrich the response with specific details. |
timestamp | required | string <date-time> | The timestamp when the order was created, in ISO 8601 format. |
Placeholder PH-11Response sample: 200 response
Insert the response sample here, as a code block. Remove this box.
Error responses
These responses share one schema.
| Status | Meaning |
|---|---|
| 400 | Invalid request payload or parameters. |
| 401 | Authentication information is missing or invalid. |
| 500 | An unexpected error occurred on the server. |
| 503 | The service is currently unavailable. |
Response schema: application/json
| Field | Required | Type | Description |
|---|---|---|---|
path | — | string | The path of the request that failed. |
error | — | string | The error message returned by the service. |
timestamp | — | string <date-time> | The timestamp of the request. |
status | — | integer | The status code of the response. |
Placeholder PH-12Response sample: 400 response
Insert the response sample here, as a code block. Remove this box.
Placeholder PH-13Response sample: 401 response
Insert the response sample here, as a code block. Remove this box.
Placeholder PH-14Response sample: 500 response
Insert the response sample here, as a code block. Remove this box.
Placeholder PH-15Response sample: 503 response
Insert the response sample here, as a code block. Remove this box.
Payment request with a risk check
Add Fraud Management to a payment. You send one request, and based on your system configuration both the risk check and the payment are executed. Send the same parameters as for a risk-only request, and add paymentType.
The risk check works in both synchronous and asynchronous modes. The standard credit card workflow applies:
- Before the payment, a risk check request is sent to Fraud Management. It can contain collected shopper data and a device fingerprint ID for Device ID.
- Fraud Management replies to the gateway with a successful, challenged or declined response.
- If the response is successful, the gateway executes the payment and sends a payment request to the acquirer or bank.
- The acquirer or bank submits the final response of the payment to the gateway.
- The merchant retrieves the status of the payment. Depending on the result, the merchant redirects the shopper to an error or success page.
How it works
Choose the payment endpoint
Use the endpoint of your integration: COPYandPAY, Server-to-Server, or a payment that references a registration.
Send the payment with the risk data
Fraud Management must be configured on the entity you send to.
Evaluate the response
You get one response code. Anything other than an Accept from Fraud Management can change the result code to one starting with 100.400.
As part of a COPYandPAY payment
Depending on where and when you collect the data for the Fraud Management request, you can send the parameters in your initial call, as shown in step 1 of the COPYandPAY checkout, to this endpoint:
Placeholder PH-16Endpoint: create a checkout
Insert the endpoint URL here, for example as <pre class="prettyprint">…</pre>. Remove this box.
Alternatively, send the parameters in a following POST call that references the checkout ID you received in the response to your first call:
Placeholder PH-17Endpoint: send parameters to an existing checkout
Insert the endpoint URL here, for example as <pre class="prettyprint">…</pre>. Remove this box. The checkout ID is a variable part of the path.
Placeholder PH-18Request sample: payment widget request with the Fraud Management parameters
Insert the request sample here, as a code block or the interactive snippet container. Remove this box.
Placeholder PH-19Response sample: payment widget response with the risk result
Insert the response sample here, as a code block. Remove this box.
As part of a Server-to-Server payment
With the interactive editor in the Server-to-Server API tutorial, you can send the additional parameters together with the full payment account data to this endpoint:
Placeholder PH-20Endpoint: Server-to-Server payment
Insert the endpoint URL here, for example as <pre class="prettyprint">…</pre>. Remove this box.
Placeholder PH-21Request sample: Server-to-Server request with the Fraud Management parameters
Insert the request sample here, as a code block or the interactive snippet container. Remove this box.
Placeholder PH-22Response sample: Server-to-Server response with the risk result
Insert the response sample here, as a code block. Remove this box.
As part of a payment that references a registration
Send your payment to this endpoint. Any data you already registered is reused automatically and sent to Fraud Management for a risk assessment:
Placeholder PH-23Endpoint: payment that references a registration
Insert the endpoint URL here, for example as <pre class="prettyprint">…</pre>. Remove this box. The registration ID is a variable part of the path.
You can try this in the interactive editor at the bottom of the Server-to-Server one-click payment tutorial and in the COPYandPAY one-click payment tutorial. As for the other payment endpoints, Fraud Management must be configured on the entity you send to.
Response evaluation
A combined payment and risk request returns one response code. For a successful risk check and payment, it is one of the success codes.
Anything other than an Accept from Fraud Management can change the result code to a value starting with 100.400. This means Fraud Management highlighted the transaction and it could warrant further investigation. For result codes in the 100.400 group, the payment itself has not been executed.
Simulate a Fraud Management rejection
You can simulate three responses from the Fraud Management simulator by sending these two parameters with the request:
customer.givenName=simulatecustomer.surname, set to one of the three values in the table below
| Value | Response |
|---|---|
red | Deny by Fraud Management |
yellow | Payment void and transaction challenged by Fraud Management |
error | Error on the Fraud Management risk system |
For the flow behind a combined request, see Accept, Deny or challenge and the other payment use cases.
Settings
- Fraud Management must be configured on the entity you send to. See the configuration page.
Accept
RTR v1.0 (Critical Path)
Fraud Management accepts the first leg, the payment goes to the acquirer, and the second leg reports the payment result back to Fraud Management.
How it works
The gateway sends the first leg
The pre-authorization leg carries ebRTR=1 and the pre-auth EBT name.
Fraud Management accepts
The response contains ORDERID (the OID of the first leg) and RECOMMEND=ACCEPT.
The payment goes to the acquirer
The gateway captures the payment return code, CVV result and AVS result, and finds the initial risk transaction and OID.
The gateway sends the second leg
The post-authorization leg carries the payment result. If the acquirer declined, the gateway also sends ebNOSCORE=1.
Fraud Management gives its final answer
The response is ACCEPT, DENY, CHALLENGE or NOSCORE. The gateway captures the OID and updates the connector details.
Figure 1: Accept workflow
Parameters
| Leg | Parameter | Value |
|---|---|---|
| First leg | ebRTR | 1 |
| First leg | ebMERCHANTNM | <EBT_NAME for Pre-Auth scanning> |
| First leg response | ORDERID | <OID of first leg> |
| First leg response | RECOMMEND | ACCEPT |
| Second leg | ebMERCHANTNM | <EBT_NAME for Post-Auth scanning> |
| Second leg | ebRTR | 2 |
| Second leg | ebPARENTOID | <initial OID> |
| Second leg | ebAUTHRESP | <mapped from payment return code> |
| Second leg | ebCINRESPONSE | <CVV Result> |
| Second leg | ebAVSRESPONSE | <AVS Result> |
| Second leg | ebNOSCORE | 1, only if ebAUTHRESP indicates the acquirer declined the transaction |
Good to know (RTR v1.0)
- MerchantId (
ebMERCHANTID) and UploadUser (ebSERVICE) remain the same for both legs. - MerchantName (
ebMERCHANTNM) has a dummy subclient ID in the first leg. - All calls to Fraud Management for the second leg (post-auth) are synchronous, except when Dynamic 3D Secure is enabled and 3D Secure rejected the payment.
Settings
Deny or challenge
RTR v1.0 (Critical Path)
Fraud Management denies or challenges the first leg. With "Reject on challenged" set to TRUE, the gateway rejects the payment and never sends it to the acquirer. The second leg still goes to Fraud Management.
How it works
The gateway sends the first leg
The pre-authorization leg carries ebRTR=1 and the pre-auth EBT name.
Fraud Management denies or challenges
With "Reject on challenged" set to TRUE, the gateway closes (rejects) the payment transaction and captures the initial OID from the risk transaction.
The gateway sends the second leg
The post-authorization leg carries ebRTR=2 and ebPARENTOID. If the payment was declined, the gateway also sends ebNOSCORE=1.
Fraud Management gives its final answer
The response is ACCEPT, DENY, CHALLENGE or NOSCORE. The gateway captures the final OID and updates the connector details.
Figure 1: Deny/Challenge workflow
Parameters
| Leg | Parameter | Value |
|---|---|---|
| First leg | ebRTR | 1 |
| First leg | ebMERCHANTNM | <EBT_NAME for Pre-Auth scanning> |
| Second leg | ebMERCHANTNM | <EBT_NAME for Post-Auth scanning> |
| Second leg | ebRTR | 2 |
| Second leg | ebPARENTOID | <initial OID> |
| Second leg | ebNOSCORE | 1, if ebAUTHRESP indicates the payment was declined |
Good to know (RTR v1.0)
- MerchantId (
ebMERCHANTID) and UploadUser (ebSERVICE) remain the same for both legs. - MerchantName (
ebMERCHANTNM) has a dummy subclient ID in the first leg. - All calls to Fraud Management for the second leg (post-auth) are synchronous, except when Dynamic 3D Secure is enabled and 3D Secure rejected the payment.
Settings
- Reject on challenged (default TRUE)
Dynamic 3D Secure
RTR v1.0 (Critical Path)
Fraud Management is checked before 3D Secure, and 3D Secure runs conditionally. When 3D Secure is approved, the payment goes to the acquirer. When it is declined, the gateway rejects the payment and sends the second leg asynchronously.
How it works
The gateway sends the first leg
With Dynamic 3D Secure enabled, the Fraud Management scan happens before the 3D scan. The leg carries ebRTR=1. The response is ACCEPT, DENY or CHALLENGE.
The gateway runs the 3D Secure scan
The next step depends on the 3D Secure result.
3D approved
The payment goes to the acquirer, which approves or declines. The gateway then sends the second leg with the payment result.
3D declined
The gateway rejects the payment and sends the second leg asynchronously, with ebNOSCORE=1.
Fraud Management gives its final answer
The response is ACCEPT, DENY, CHALLENGE or NOSCORE. The gateway captures the final OID and updates the connector details.
Figure 1: Dynamic 3D Secure workflow
Parameters
| Leg | Parameter | Value |
|---|---|---|
| First leg | ebRTR | 1 |
| First leg | ebMERCHANTNM | <EBT_NAME for Pre-Auth scanning> |
| Second leg (3D approved) | ebMERCHANTNM | <EBT_NAME for Post-Auth scanning> |
| Second leg (3D approved) | ebRTR | 2 |
| Second leg (3D approved) | ebPARENTOID | <initial OID> |
| Second leg (3D approved) | ebAUTHRESP | <mapped from payment return code> |
| Second leg (3D approved) | ebCINRESPONSE | <CVV Result> |
| Second leg (3D approved) | ebAVSRESPONSE | <AVS Result> |
| Second leg (3D approved) | ebNOSCORE | 1, only if ebAUTHRESP indicates the acquirer declined the transaction |
| Second leg (3D declined) | ebMERCHANTNM | <EBT_NAME for Post-Auth scanning> |
| Second leg (3D declined) | ebRTR | 2 |
| Second leg (3D declined) | ebPARENTOID | <initial OID> |
| Second leg (3D declined) | ebNOSCORE | 1 |
Good to know (RTR v1.0)
- MerchantId (
ebMERCHANTID) and UploadUser (ebSERVICE) remain the same for both legs. - MerchantName (
ebMERCHANTNM) has a dummy subclient ID in the first leg. - All calls to Fraud Management for the second leg (post-auth) are synchronous, except when Dynamic 3D Secure is enabled and 3D Secure rejected the payment.
Settings
- Activate Dynamic 3D Secure and the three "Execute 3D Secure" options
- Dynamic 3D Secure needs "3D Secure Type" set to 3D secure and "Activate Fraud Management risk" enabled.
Full RTR 2.0
With Full RTR 2.0, both legs are sent for every transaction, including when no transaction goes to the bank. The response to the merchant includes the second-leg details. Choose the scenario that matches your settings and the bank result.
Full RTR (v2.0)
RTR 2.0 is the enhanced version of the existing RTR implementation, and is a full RTR. It combines and reduces the workflows that were required for RTR 1.0 (Critical Path) and RTR 1.5 (Rollback). You can switch between the old and the new implementation with a RIRO setting. Both implementations exist in the system.
Key differences
- No dummy subclient ID: "EBT_NAME for pre-auth screening" and "EBT_NAME for post-auth screening" must be configured with the actual client and sub client ID, and the value is the same for both legs.
- Fewer workflows. A second leg is always sent.
- Both legs are sent synchronously, except in the 3D Secure declined case.
- Rollback is handled at Fraud Management. The gateway does not need to identify when to send a rollback.
- The legs have new ebRTR values (21, 22 and 29) that tell the new and the old implementation apart.
Draft reviewThe source says both "No dummy subclient ID" and "999999 will be used for the transaction legs". Please confirm which one is correct.
How it works
Challenge or deny stops the payment
Reject on challenge is true. The gateway does not send the transaction to the bank, waits for the second leg, then responds.
The bank declines
Reject on challenge is false. The payment goes to the bank, the bank declines, and the second leg is sent.
The bank approves
The bank approves and the second leg is sent. If the second leg returns DENY, the gateway reverses the transaction automatically.
ebRTR values in Full RTR 2.0
| Value | Used for |
|---|---|
21 | First leg (pre-auth) |
22 | Second leg (post-auth), after the bank has responded |
29 | Second leg (post-auth), when no transaction was sent to the bank |
Scenario 1: challenge or deny, no transaction to the bank
- The merchant sends a request enabled with RTR 2.0.
- The gateway sends the pre-auth leg (
ebRTR=21). - Fraud Management returns CHALLENGE or DENY.
- Reject on challenge is true, so the gateway does not send the transaction to the bank. It waits for the second-leg response before replying to the merchant.
- The gateway sends the post-auth leg (
ebRTR=29). - Fraud Management returns ACCEPT, CHALLENGE or DENY.
- The gateway responds to the merchant with the second-leg details.
Figure 1: Full RTR 2.0, challenge or deny with no transaction to the bank
Scenario 2: the bank declines
- The merchant sends a request enabled with RTR 2.0. Reject on challenge is false.
- The gateway sends the pre-auth leg (
ebRTR=21). Fraud Management returns ACCEPT or CHALLENGE. - The gateway sends the transaction to the bank, and the bank declines.
- The gateway sends the post-auth leg (
ebRTR=22). Fraud Management returns ACCEPT or CHALLENGE (first variant in the figure) or DENY (second variant). - The gateway responds to the merchant with the second-leg details.
Figure 2: Full RTR 2.0, bank declines
Scenario 3: the bank approves
- The merchant sends a request enabled with RTR 2.0. Reject on challenge is false.
- The gateway sends the pre-auth leg (
ebRTR=21). Fraud Management returns ACCEPT or CHALLENGE. - The gateway sends the transaction to the bank, and the bank approves.
- The gateway sends the post-auth leg (
ebRTR=22). If Fraud Management returns ACCEPT or CHALLENGE, the gateway responds to the merchant with the second-leg details. - If Fraud Management returns DENY, the gateway automatically reverses the transaction, receives the reversal response, then responds to the merchant with the second-leg details.
Figure 3: Full RTR 2.0, bank approves
Settings
- Enable Full RTR - v2.0, including the rules for EBT_NAME and for allowed payment brands, methods and types
- Reject on challenged
Full RTR 2.0 with 3D Secure
3D Secure runs between the two legs. Choose the scenario: 3D Secure succeeds, 3D Secure declines, or the payment is stopped before 3D Secure runs.
How it works
3D Secure succeeds
The payment goes to the bank with the 3D authentication details, and the second leg follows the bank response.
3D Secure declines
The gateway sends the second leg and responds to the merchant.
No 3D Secure
Fraud Management challenges or denies the first leg and reject on challenge is true, so 3D Secure is not executed.
Scenario 1: 3D Secure succeeds
- The merchant sends the request. The gateway sends the pre-auth leg (
ebRTR=21). Fraud Management returns ACCEPT or CHALLENGE. Reject on challenge is false. - The gateway executes 3D authentication, and 3DS is successful.
- The gateway sends the request to the bank with the 3D authentication details. The bank approves or declines.
- The gateway sends the post-auth leg (
ebRTR=22). Fraud Management returns ACCEPT or CHALLENGE, and the gateway responds to the merchant.
Figure 1: Full RTR 2.0, 3D Secure success
Scenario 2: 3D Secure declines
- The merchant sends the request. The gateway sends the pre-auth leg (
ebRTR=21). Fraud Management returns ACCEPT or CHALLENGE. Reject on challenge is false. - The gateway executes 3D authentication, and 3DS is declined.
- The gateway sends the post-auth leg (
ebRTR=22). Fraud Management returns ACCEPT or CHALLENGE. - The gateway responds to the merchant.
Figure 2: Full RTR 2.0, 3D Secure declined
Scenario 3: no 3D Secure
- The merchant sends the request. The gateway sends the pre-auth leg (
ebRTR=21). - Fraud Management returns CHALLENGE or DENY. Reject on challenge is true.
- The gateway sends the post-auth leg (
ebRTR=29). Fraud Management returns ACCEPT, CHALLENGE or DENY. - The gateway responds to the merchant.
Figure 3: Full RTR 2.0, no 3D Secure
Draft reviewThe diagram is named "No 3D". I read it as the case where 3D Secure is not executed because the first leg is challenged or denied. It looks like Scenario 1 of "Full RTR 2.0" without the acquirer lane. SME to confirm, and to merge the two if they are the same.
Settings
Full RTR 2.0 with Feedzai
Feedzai scoring runs in pre-auth and post-auth mode alongside Fraud Management. In this flow Feedzai rejects after the bank approved, so the gateway reverses the transaction automatically.
Draft reviewFeedzai is also named in the Integration Sheet ("in combination with an additional external risk like Feedzai"), which is customer-facing. Please confirm that it may stay, and that no Feedzai-specific configuration is missing from this guide.
How it works
The merchant sends the request
Feedzai is enabled in pre-auth and post-auth mode. The gateway sends the pre-auth leg to Feedzai, which accepts.
The pre-auth leg goes to Fraud Management
The leg carries ebRTR=21 and Fraud Management returns ACCEPT.
The payment goes to the bank
The transaction goes to the bank, and the bank approves.
The post-auth leg goes to Feedzai
Feedzai rejects. The gateway reverses the transaction automatically and receives the reversal response.
The post-auth leg goes to Fraud Management
The leg carries ebRTR=22 and the response is ACCEPT, CHALLENGE or DENY. The gateway responds to the merchant.
Figure 1: Full RTR 2.0 with Feedzai
Risk rollback
RTR rollback (v1.5)
RTR rollback (v1.5) can roll back the pre-authorization scan if the transaction is declined by the risk system or by the acquirer. When a payment does not complete after the first leg, the gateway sends a rollback leg so Fraud Management knows the transaction did not go through. The gateway does not process the rollback response.
Good to know (RTR v1.5)
- MerchantId (
ebMERCHANTID) and UploadUser (ebSERVICE) remain the same for both legs. - The dummy subclient ID 999999 (
ebMERCHANTNM) is sent in the rollback leg. - Calls for the rollback leg are synchronous when Fraud Management declines or challenges and Reject on challenge is true.
- Calls for the rollback leg are asynchronous when the acquirer declines, and when Dynamic 3D Secure is enabled and 3D Secure rejected the payment.
Draft reviewThe source writes "ebMERCHANTNAME" for the rollback leg and "ebMERCHANTNM" everywhere else. I used ebMERCHANTNM.
How it works
3D Secure declines
The 3D Secure scan fails with an authentication error.
The acquirer declines
The payment is declined by the acquirer.
The acquirer times out
A communication error or timeout occurs on the payment.
Fraud Management denies or challenges
With reject on challenge set to true, the gateway closes the payment.
Rollback leg parameters
| Parameter | Value |
|---|---|
ebRTR | 99 |
ebPARENTOID | <OID of first leg> |
In RTR v1.5 the first leg carries ebRTR=0 and the rollback leg carries ebRTR=99. The gateway captures the initial OID from the risk transaction after the first leg.
Scenario 1: 3D Secure declined
Enabled: pre-auth scan, rollback for declined transactions, and Dynamic 3D Secure.
- The gateway sends the pre-auth leg (first leg). Fraud Management accepts. The gateway captures the initial OID.
- The gateway runs the 3D Secure scan, and 3D Secure declines (authentication error).
- The gateway sends the rollback leg (second leg) with
ebRTR=99andebPARENTOID. - Fraud Management responds. The gateway does not process the rollback response.
Figure 1: Rollback for 3D Secure failed
Scenario 2: acquirer declined
Enabled: pre-auth scan and rollback for declined transactions.
- The gateway sends the pre-auth leg (first leg). Fraud Management accepts. The gateway captures the initial OID.
- The gateway sends the payment transaction, and the acquirer declines it.
- The gateway sends the rollback leg (second leg) with
ebRTR=99andebPARENTOID. - Fraud Management responds. The gateway does not process the rollback response.
Figure 2: Rollback for acquirer decline
Scenario 3: acquirer communication error or timeout
Enabled: pre-auth scan, rollback for declined transactions, and rollback for acquirer timeout or communication error. Both "Activate risk rollback for declined transactions" and "Activate risk rollback for acquirer timeout or communication error" must be set to true.
- The gateway sends the pre-auth leg (first leg). Fraud Management accepts. The gateway captures the initial OID.
- The gateway sends the payment transaction. A payment communication error or timeout occurs.
- The gateway sends the rollback leg (second leg) with
ebRTR=99andebPARENTOID. - Fraud Management responds. The gateway does not process the rollback response.
Figure 3: Rollback for acquirer communication error or timeout
Scenario 4: Fraud Management denies or challenges
Enabled: pre-auth scan and rollback for declined transactions.
- The gateway sends the pre-auth leg (first leg). Fraud Management returns DENY or CHALLENGE.
- Reject on challenge is true, so the gateway closes (rejects) the payment transaction and captures the initial OID from the risk transaction.
- The gateway sends the rollback leg (second leg) with
ebRTR=99andebPARENTOID. - Fraud Management responds. The gateway does not process the rollback response.
Figure 4: Rollback for Fraud Management deny or challenge
Settings
- Activate risk rollback for declined transactions: works only when "Activate Fraud Management risk" is enabled
- Activate risk rollback for acquirer timeout or communication error: works only when "Activate risk rollback for declined transactions" is enabled
- The Fraud Management service must be enabled to support rollback.
Dynamic 3D Secure with Merchant Fraud Management
Merchant Fraud Management (PSP)
Dynamic 3D Secure with Merchant Fraud Management runs 3D Secure conditionally, after the Merchant Fraud Management assessment. Whether a transaction goes through 3D Secure depends on the Merchant Fraud Management response and on how you configure the setting.
Draft reviewReview before publishing (remove this box before publishing)
- This use case is based on the PSP page "Dynamic 3D Secure with Merchant Fraud Management (PSP)". The existing use case "Dynamic 3D Secure" (RTR v1.0) uses the same settings but describes the legs (
ebRTR). SME to confirm that both stay as separate use cases, and whether the settings table below should live only on the configuration page. - The two flow diagrams (Figures 1 and 2) from the PSP page must be updated before publishing. They are still in the old format and do not match the diagrams of the other use cases. Please supply the updated versions, and replace the alt texts if the content changes.
- The two flow diagrams and the settings screenshot come from the PSP page. I could not check them against the text, so the alt texts are written from the text of the page. Please upload the images under the new file names, or tell me the names to use, and check the alt texts.
- The PSP page names the risk check "Retail Decisions risk check (RD)", and this page names it "Fraud Management (RE)" in the web cancellation settings. I kept the menu path and setting names as in the PSP page. Please confirm the current names in the settings.
- The PSP page wrote "3D Secure Secure Settings". I used "3D Secure Settings". Please confirm.
- The PSP page does not say what happens when the Merchant Fraud Management response is Deny. Please confirm whether to add it.
- The card tag "Merchant Fraud Management (PSP)" replaces the "Path" numbers because this use case is not one of the five paths. Please confirm.
How it works
The setting Activate Dynamic 3D Secure decides the order of the two risk checks. It is disabled by default.
| Dynamic 3D Secure | Order of the checks | What it means |
|---|---|---|
| Disabled (default) | 3D Secure, then Merchant Fraud Management | The 3D Secure results are included in the Merchant Fraud Management request, which contributes to a better risk assessment. |
| Enabled | Merchant Fraud Management, then 3D Secure | 3D Secure runs only when the Merchant Fraud Management response and your configuration call for it. |
These assume that both the 3D Secure and the Merchant Fraud Management risk checks are enabled.
The gateway checks with Merchant Fraud Management first
With Dynamic 3D Secure enabled, the Merchant Fraud Management risk assessment runs before 3D Secure.
Merchant Fraud Management responds
The gateway reads the response and the FRAUD_RCF field, which can contain the code "3DS".
The gateway applies your configuration
The three "Execute 3D Secure" settings decide whether 3D Secure runs for this response. See the scenarios below.
3D Secure runs or is skipped
If a setting matches, the gateway executes 3D Secure. If none matches, 3D Secure is not executed.
If the Merchant Fraud Management result is a communication error or a system error, and the risk check is not configured to reject on that error, 3D Secure is executed.
Figure 1: Merchant Fraud Management after 3D Secure (Dynamic 3D Secure disabled)
Figure 2: Dynamic 3D Secure with Merchant Fraud Management (Dynamic 3D Secure enabled)
Settings
Set these at Risk-Management > Risk Checks > External Checks > Dynamic 3D Secure (with Merchant Fraud Management):
| Setting | What it does | Default |
|---|---|---|
| Activate Dynamic 3D Secure | Turns on Dynamic 3D Secure with Merchant Fraud Management. | FALSE |
| Execute 3D Secure on Merchant Fraud Management Accept response | Always executes 3D Secure when the Merchant Fraud Management response is Accept. | FALSE |
| Execute 3D Secure on Merchant Fraud Management Challenge response | Always executes 3D Secure when the Merchant Fraud Management response is Challenge. "Reject on challenged" (at Risk-Management > Risk Checks > External Checks > Retail Decisions risk check (RD)) still applies. If it is TRUE, all challenged transactions are rejected. | FALSE |
| Execute 3D Secure when Merchant Fraud Management RCF code contains "3DS" | Executes 3D Secure when the FRAUD_RCF field in the Merchant Fraud Management response contains the code "3DS". | FALSE |
Dynamic 3D Secure is active only when all of these are true:
- "Activate Dynamic 3D Secure" is enabled.
- "Set 3D Secure Type" is set to
3D Secure, at Risk-Management > Risk Checks > External Checks > 3D Secure Settings. - "Activate Retail Decisions risk" is enabled, at Risk-Management > Risk Checks > External Checks > Retail Decisions risk check (RD).
Configuration scenarios
Settings that a scenario does not list keep their default (FALSE).
| Scenario | Settings | Merchant Fraud Management response | FRAUD_RCF contains "3DS" | 3D Secure |
|---|---|---|---|---|
| 1 | Accept = FALSE RCF code "3DS" = TRUE | Accept | Yes | Executed |
| 2 | Challenge = TRUE | Challenge | — | Executed |
| 3 | Accept = FALSE Challenge = FALSE RCF code "3DS" = TRUE | Accept | Yes | Executed |
| Accept | No | Not executed | ||
| Challenge | Yes | Executed | ||
| Challenge | No | Not executed | ||
| 4 | Accept = FALSE Challenge = FALSE RCF code "3DS" = FALSE | Accept | — | Not executed |
| Challenge | — | Not executed |
In the table, "Accept", "Challenge" and "RCF code" stand for the three "Execute 3D Secure" settings above. A dash means the scenario does not depend on it.
Good to know
- The Merchant Fraud Management risk check settings "Reject on communication error" and "Reject on system error" decide whether a transaction is rejected on those errors. If they do not reject it, 3D Secure is executed.
- "Reject on challenged" still applies when Dynamic 3D Secure is enabled.
Settings
Tieback with the gateway
The gateway consumes tieback notifications sent by the Fraud Management Case Manager Portal (CSI). This applies to all transactions that Fraud Management flags as "Challenged" and that are available for review in CSI.
The integration provides:
- a status update for the risk transaction,
- a webhook notification to the merchant on each status update, and
- auto-reversal or auto-refund for the "Approve on Challenge" model.
All workflows start with the same steps:
- The merchant sends a payment transaction (PA or DB) on a channel where the Fraud Management risk check is enabled.
- Fraud Management responds with "Challenge".
- The order sits in the CSI queue for future review.
After these steps, one of the following workflows applies.
Draft reviewThere are two tieback pieces in the sources: this gateway-based flow (Integration Sheet and diagrams) and the Case Manager message to your own server (published integration page, see "Tieback message to your server"). Please confirm whether they are alternatives or work together.
How it works
A transaction is challenged
Fraud Management returns Challenge and the order sits in the CSI queue for review.
The operator approves
The gateway updates the status of the risk transaction and, if configured, sends a webhook to the merchant.
The operator cancels
The gateway updates the status of the risk transaction and, if configured, sends a webhook to the merchant.
Auto-reversal or auto-refund
After a cancel, the gateway can send a reversal or refund to the acquirer or APM and notify the merchant.
Scenario 1: status update
- The merchant sends a PA or DB payment request to the gateway.
- The gateway sends the request to Fraud Management (RM.RE).
- Fraud Management pushes the transaction to the CSI queue.
- Fraud Management returns Challenge to the gateway, and the gateway returns Challenge to the merchant.
Figure 1: Tieback status update
Scenario 2: webhook, challenge to approve
- At a later time, a merchant operator reviews the order in the CSI queue and changes the status from "Challenge" to "Approve".
- CSI sends an Approve tieback notification to the gateway.
- The gateway updates the status of the risk transaction from
000.400.090(transaction succeeded, please review manually due to external risk check) to000.300.100(risk check successful), and answers CSI with 200 OK. - If configured, the gateway sends a webhook notification with the status update to the merchant, and the merchant answers 200 OK.
Figure 2: Webhook notification, challenge to approve
Scenario 3: webhook, challenge to deny
- At a later time, a merchant operator reviews the order in the CSI queue and changes the status from "Challenge" to "Cancel".
- CSI sends a Cancel tieback notification to the gateway.
- The gateway updates the status of the risk transaction from
000.400.090to100.400.142(deny by Fraud Management), and answers CSI with 200 OK. - If configured, the gateway sends a webhook notification with the status update to the merchant, and the merchant answers 200 OK.
Figure 3: Webhook notification, challenge to deny
Scenario 4: auto-reversal or auto-refund after a cancel
This workflow only works if you use the "Approve on Challenge" model and "Reject on challenged" is set to FALSE. See the configuration page.
- At a later time, a merchant operator reviews the order in the CSI queue and changes the status from "Challenge" to "Cancel".
- CSI sends a Cancel tieback notification to the gateway. The gateway updates the status of the risk transaction from
000.400.090to100.400.142. - If configured, the gateway sends a webhook notification with the status update to the merchant.
- If configured, the gateway sends an automatic reverse transaction to the acquirer or APM: an RV for a PA, or an RF for a DB. The acquirer answers OK or NOK.
- If configured, the gateway sends a webhook notification with the result of the automatic reversal or refund, and the merchant answers 200 OK.
Figure 4: Auto-reversal or auto-refund after a cancel notification
Settings
- Activate update on Tieback notification
- Activate Auto-Reversal on Tieback cancel notification (default FALSE, not applicable in standalone mode)
- Basic Authorization credentials for Tieback
- Tieback settings to configure in CSI, including the host URLs
Tieback message to your server
If enabled, the Tieback feature of Case Manager automatically sends each Approve and Cancel command, and the analyst’s research notes, to a URL that you provide. You can use it to integrate the decision with your own systems. Case Manager also lets administrators set up Auto Analysts, which process transactions that meet specified criteria at scheduled times.
The tieback message is sent by HTTP or HTTPS to your web server.
The complete guide is available as a PDF: Tieback guide Guide version 1.5, June 2017: confirm it is current.
How it works
An analyst processes a transaction
In Case Manager, the analyst approves, cancels or pends the transaction.
Case Manager sends the tieback request
An HTTP POST carries the keys and values you requested.
Your server responds
Respond with an HTTP status code. The response body is optional.
Failed tiebacks are retried
After the last retry fails, the tieback appears in the Failed Tiebacks list for the Client Administrator.
The tieback message request
The tieback request is an HTTP POST message with standard headers (Content-Length, Content-Type, Host, Connection, User-Agent and Expect), optional user-defined headers, and a custom message body.
The body contains the transaction data you request, in the format Client key=Fraud Management value. Key/value pairs are delimited by an ampersand. You must provide your keys to us. For example, if your key for the transaction ID is TID, tell us, so that the message is created as you expect.
Tieback keys
Tiebacks are standalone requests that must be mapped to the transaction in your system. You and we must therefore agree on an end-to-end ID that identifies the transaction in both systems. The tieback keys are configured during implementation, together with the implementation manager.
For nearly every key that you can send in a transaction, we can send the associated value back in the tieback. Examples of keys you might want to receive: TransactionID, ClientID, SubClientID, Decision, CancelCode, Notes, ProcessbyUserID and ProcessDateTime. You can also include your own data. To do this, give the key/value pair to your account manager, and it is appended to your tieback message body.
Placeholder PH-24Message sample: tieback message body, with an appended custom key/value pair
Insert the sample message body as a code block, with the custom key/value pair highlighted. Remove this box.
Sample message content
Not all keys are returned in every message. For example, an Approve message has no cancel reason, because the transaction was approved and not cancelled.
Approve
Placeholder PH-25Message sample: Approve message
Insert the sample message as a code block. Remove this box.
Cancel
Placeholder PH-26Message sample: Cancel message
Insert the sample message as a code block. Remove this box.
Pend
Placeholder PH-27Message sample: Pend message
Insert the sample message as a code block. Remove this box.
Your response
Respond to a tieback message with an HTTP status code. Populating the response body is optional. A success response must not have a response body.
| Description | HTTP status code | HTTP response body text | Pass or fail |
|---|---|---|---|
| Success | 200 | Pass | |
| Accepted | 200 | Pass | |
| Bad Request | 400 | Bad Request | Fail |
| Unauthorized | 401 | Unauthorized | Fail |
| Forbidden | 403 | Forbidden | Fail |
| Not Found | 404 | Not Found | Fail |
Additional HTTP codes can be used.
Configuration
To set up tieback, you must:
- Provide a destination URL that can receive HTTP or HTTPS POST messages. You can provide up to three URLs, but only one can be active at a time. If you need a non-standard port (not 80 for HTTP or 443 for HTTPS), provide the IP address and port.
- Make sure your
Content-Typeheader is set toapplication/x-www-form-urlencoded. - Provide the optional tieback header to send in the POST message. You receive all standard headers in addition to these user-defined headers.
- Tell us which keys (fields) to pass in the tieback request.
- Provide the time in minutes (up to 5) that we wait before retrying a failed tieback message, and the number of retries (up to 5).
- Provide a list of the HTTP responses you will use.
Testing
For initial testing, use HTTP, so that you can read the unencrypted messages if you need to troubleshoot. When the connection and message flow work correctly, change to HTTPS.
To test tieback, an analyst must process a transaction in Case Manager:
- In the Actions area, use Pend or Cancel to act on a transaction, or click Approve.
- To pend a transaction (hold it until you can review it further), keep the default date and time or choose another with the calendar picker and time menu, then click Go. The pend time is based on your time zone.
- To cancel a transaction, select a reason for cancellation and click Go. The transaction is removed from all queues.
- To approve a transaction, click Approve. The transaction is released from its holding state, and the details page of the next transaction in the queue opens.
When the transaction is processed, Case Manager immediately sends a tieback request (HTTP POST) to your web server, with the keys and values you requested. Your system then responds to Case Manager with success or failure.
Failed tiebacks
Case Manager waits for a response from your web server for each tieback message. If it cannot deliver the transaction information, it tries several times before it treats the exchange as failed. After the last attempt, the transaction appears in the Failed Tiebacks list.
The Client Administrator can resubmit a failed tieback once from that list. If it fails again, it reappears in the list. The administrator can also delete it from the list.
To resubmit, go to Setup > View my list of queues > Failed Tiebacks, select the transaction with its check box, and click Resubmit.
Draft reviewThe source mixed "Customer Service", "Customer Services" and "CSI" for the same system. I used "Case Manager" throughout. Please confirm the naming.
Web cancellation
If a risk transaction is challenged, an analyst must review it, and cancel the order or transaction manually if the clearing institute rejects the payment transaction. Fraud Management Direct supports a service that cancels the transaction through an API call, so analysts do not have to cancel it manually.
How it works
Enable the settings
In the Fraud Management (RE) settings, activate the risk check and enter the Case Manager user name, password and cancellation reason code.
Send the cancellation
Risk-only customers send a request to the standalone endpoint with risk.parameters[WEB_CANCELLATION]=true and the risk order ID.
The transaction is cancelled
Fraud Management cancels the challenged transaction through the API, without an analyst.
Settings
Set these at Risk Management > Risk Checks > Fraud Management > Fraud Management (RE):
- Activate Fraud Management Direct risk check.
- Username to log in to the Fraud Management Case Manager.
- Password to log in to the Fraud Management Case Manager.
- Reason code used in cancelling challenged risk transactions through the Case Manager.
The technical documentation for the cancellation API is available as a PDF: Web Service Cancellation Technical Specification 1.3 Outdated: about 13 years old
Not for publicationOutdated. Review before publishing.
The Web Service Cancellation Technical Specification 1.3 is about 13 years old and is not current. Keep the link in the draft, marked as shown here, and do not publish it until the document has been reviewed.
Draft reviewBecause the specification is about 13 years old, please also check that the description of web cancellation on this page is still correct.
Standalone web cancellation
This feature is for risk-only customers. Send requests to the standalone endpoint (see Standalone risk service) with these mandatory parameters:
| API field name | Fraud Management field name | Format | Mandatory/Optional | Comments |
|---|---|---|---|---|
| risk.parameters[WEB_CANCELLATION] | Mandatory | Possible values:
| ||
| risk.parameters[WEB_CANCELLATION_RISK_ORDER_ID] | riskOrderId | VARCHAR | Mandatory | Risk order id to be canceled. This can also be read from the parameter risk.parameters[PARENT_OID] in case of RTR/ROLLBACK second leg. |
| risk.parameters[WEB_CANCELLATION_TRANSACTION_ID] | transactionId | VARCHAR | Conditional | Transaction id of the transaction to be canceled. This can also be read from merchantTransactionId. If merchantTransactionId is not set, this parameter should be set. |
Placeholder PH-28Request sample: standalone web cancellation request
Insert the request sample here, as a code block or the interactive snippet container. Remove this box.
Placeholder PH-29Response sample: standalone web cancellation response
Insert the response sample here, as a code block. Remove this box.
Settings
Parameter reference
These parameters appear in the flows above. Values in angle brackets are filled in by the gateway.
| Parameter | Meaning in the flows above |
|---|---|
ebRTR | Identifies the leg. See the table of values below. |
ebMERCHANTNM | The EBT_NAME for pre-auth or post-auth scanning, depending on the leg. |
ebPARENTOID | The initial OID: the OID of the first leg. Sent on the second and rollback legs. |
ebAUTHRESP | The payment result, mapped from the payment return code. See authorization response code mapping. |
ebCINRESPONSE | The CVV result. |
ebAVSRESPONSE | The AVS result. |
ebNOSCORE | Set to 1 when the acquirer declined the transaction or 3D Secure declined. |
ORDERID | Returned on an accepted first leg: the OID of the first leg. |
RECOMMEND | Returned on an accepted first leg: ACCEPT. |
FRAUD_RCF | Returned in the Merchant Fraud Management response. With Dynamic 3D Secure with Merchant Fraud Management, the code "3DS" in this field can trigger 3D Secure. See Dynamic 3D Secure with Merchant Fraud Management. |
ebRTR values
| Value | Used for | RTR version |
|---|---|---|
0 | First leg in rollback | v1.5 (Rollback) |
1 | First leg (pre-auth) | v1.0 (Critical Path) |
2 | Second leg (post-auth) | v1.0 (Critical Path) |
99 | Rollback leg | v1.5 (Rollback) |
21 | First leg (pre-auth) | v2.0 (Full RTR) |
22 | Second leg, after the bank responded or after 3D Secure | v2.0 (Full RTR) |
29 | Second leg, no transaction sent to the bank | v2.0 (Full RTR) |
Draft reviewThe field mapping lists ebRTR=0, 1 or 2 for v1.0, but the v1.0 diagrams show only 1 and 2. Please explain the role of ebRTR=0 in v1.0.
RTR fields in the request
| API field name | Fraud Management field | Format | Mandatory or optional | Comments |
|---|---|---|---|---|
risk.parameters[RTR_LEG] | ebRTR | Integer | Conditional | Mandatory when RTR is enabled. v1.0: 0, 1 or 2. v1.5 (rollback): 0 or 99. v2.0: 21, 22 or 29. |
risk.parameters[PARENT_OID] | ebPARENTOID | VARCHAR | Conditional | Mandatory on the second leg: ebRTR=2 (v1.0), ebRTR=99 (v1.5), ebRTR=22 or 29 (v2.0). |
risk.parameters[USE_FULL_RTR] | Category | Conditional | Mandatory when full RTR is used as a standalone feature: risk.parameters[USE_FULL_RTR]=Y. |
For the response fields and result codes, see response mappings. For all request fields, see field mappings.