You can view PEP and Sanctions screening results in the Investigation Portal. For more information, refer to the View details of a journey session documentation.
Module variants
The PEPs and Sanctions module has various variants that determine the scope of compliance checks performed on your customers. These include:- UK Instance
- UK Instance (with OGM)
- UK Instance (with Adverse Media and OGM)
- PEPs and Sanctions Standard
- PEPs and Sanctions Standard with Adverse Media
- PEPs and Sanctions Standard OGM Push
Capabilities and allowed values
Each PEPs and Sanctions variant supports different capabilities that determine which screening checks the module performs. The capabilities include PEPs and sanctions results, sanctions hit type, PEPs hit type, sent to OGM, and adverse media hit type. For a full description of each capability and its allowed values, refer to PEPs and Sanctions.Example: Testing the PEPs and Sanctions module using GO API
This section walks you through testing the PEPs and Sanctions module.Step 1: Add the module to your journey
To test the PEPs and Sanctions module, you first need to add it to a customer journey.- Create a new journey or open an existing one in the Journey builder.
- Click Browse and add modules.
- Search for PEPs and Sanctions or navigate to the Compliance Screening category.
- Select the PEPs and Sanctions module.
- Choose a variant.
The UK Instance (with Adverse Media and OGM) variant is used for testing during these steps.
- Click Add to journey.
- Click Configure outcomes.
- Rules:
- Match: PEPs and Sanctions Results + is any of + PEPs and Sanctions Hit. This rule means that if the PEPs and Sanctions check results in a hit, then there is a match.
- No Match: PEPs and Sanctions Results + is any of + PEPs and Sanctions No Hit. This rule means that if the PEPs and Sanctions check results in a no hit, then there is no match.
- Click Close.
Step 2: Publish the journey
After adding and configuring the module:- Click Publish to Preview.
- Go to the GBG GO Dashboard and copy your Resource ID and Version for testing.
Step 3: Start journey with test data
Use the Start journey endpoint to trigger the PEPs and Sanctions screening with test customer data. Send a POST request to/journey/start:
Request body:
cURL
your_access_token with a valid access token. Replace the resourceId value with your journeyβs Resource ID and Version.
What happens:
- The API creates a journey instance and returns an
instanceIdthat you use in the following steps to drive and inspect the journey.
JSON
Step 4: Fetch interaction
After the journey starts, fetch the next interaction to find out which fields the journey needs from the end-user. This is also where you obtain theinteractionId youβll need when submitting data.
Send a POST request to /journey/interaction/fetch:
Request body:
cURL
- The
interactionIdfor the current interaction. You will pass this back in the next step. - The interactionβs
collectslist, which describes the data the journey can accept. - An
outstandinglist, which highlights the fields that must be supplied before the journey can progress.
JSON
Step 5: Submit the end-userβs details
Submit the customer data the journey is waiting on. Theoutstanding list from the previous step shows that FullName is required. dateOfBirth is optional but recommended, as it improves screening accuracy.
Send a POST request to /journey/interaction/submit:
Request body:
cURL
instanceId from Step 3 and the interactionId from Step 4. The participants array tells the journey which domain element the submitted data belongs to.
Response:
JSON
success status confirms that the submitted data was accepted. The journey continues processing in the background. Move on to the next step to retrieve the screening result.
Step 6: Poll for the screening result
The PEPs and Sanctions screening runs asynchronously. Poll the Fetch journey state endpoint until the journeystatus is Completed.
Send a POST request to /journey/state/fetch:
Request body:
cURL
- The overall journey
status. Continue polling while the status isInProgress. - A
stepsarray, where each step describes a module that ran in the journey. The PEPs and Sanctions step includes theoutcome(for example,MATCH), theadvice(decision, hit types, OGM enrolment, candidate scores) and thenoteblock (PEP and sanctions match details such as aliases, positions, addresses, and sanctioning bodies).
JSON
If the status is Completed, the PEPs and Sanctions screening has finished processing.