Skip to main content

Sanctions Check API

Overview

To run a sanctions check, use the following endpoint:

Endpoint

POST {BASEURL}/client/fibonacci/sanctions

Authentication

Each request must include a Bearer token in the Authorization header. The API key will always start with sk_. Below is an example of how to format the header:

Request Examples

curl -X POST {BASEURL}/client/fibonacci/sanctions \
-H "Authorization: Bearer sk_test_XXXXXXXXXXXXXXXXXXXXXXXXXXX" \
-H "Content-Type: application/json" \
-d '{
"firstName": "John",
"lastName": "Doe",
"customerId": "12345",
"dob": "1990-01-01",
"gender": "male",
"country": "USA",
"type": "sanctions"
}'

Request Parameters

FieldTypeRequiredDescription
firstNameStringYesThe first name of the customer
lastNameStringYesThe last name of the customer
customerIdStringYesThe unique ID of the customer
dobStringNoThe date of birth (YYYY-MM-DD)
genderStringNoThe gender of the customer (male/female)
countryStringYesThe country of the customer
typeStringYessanctions or PEP

Response

A successful request will return a response similar to:

{
"message": "added to queue"
}