Check if an individual is on any watchlists
curl --request POST \
--url https://api-sandbox.synctera.com/v0/verifications/adhoc \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"payee_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transaction_id": "f805d25b-0187-4405-98a7-27b2567e279e"
}
'import requests
url = "https://api-sandbox.synctera.com/v0/verifications/adhoc"
payload = {
"payee_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transaction_id": "f805d25b-0187-4405-98a7-27b2567e279e"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
payee_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
payer_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
transaction_id: 'f805d25b-0187-4405-98a7-27b2567e279e'
})
};
fetch('https://api-sandbox.synctera.com/v0/verifications/adhoc', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-sandbox.synctera.com/v0/verifications/adhoc",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'payee_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'payer_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'transaction_id' => 'f805d25b-0187-4405-98a7-27b2567e279e'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-sandbox.synctera.com/v0/verifications/adhoc"
payload := strings.NewReader("{\n \"payee_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"payer_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"transaction_id\": \"f805d25b-0187-4405-98a7-27b2567e279e\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-sandbox.synctera.com/v0/verifications/adhoc")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"payee_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"payer_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"transaction_id\": \"f805d25b-0187-4405-98a7-27b2567e279e\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.synctera.com/v0/verifications/adhoc")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"payee_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"payer_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"transaction_id\": \"f805d25b-0187-4405-98a7-27b2567e279e\"\n}"
response = http.request(request)
puts response.read_body{
"id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
"matching_watchlists": [
"US_OFAC"
],
"result": "ACCEPTED",
"sanctions_screening_id": "46cd029f-435c-4048-b6ff-4d15fcd25e0f",
"vendor_info": {
"content_type": "application/json",
"json": {},
"vendor": "SOCURE"
}
}{
"code": "BAD_REQUEST_BODY",
"detail": "missing required fields: first_name, dob",
"status": 400,
"title": "Bad Request Body",
"type": "https://dev.synctera.com/errors/bad-request-body"
}{
"code": "BAD_REQUEST_BODY",
"detail": "missing required fields: first_name, dob",
"status": 400,
"title": "Bad Request Body",
"type": "https://dev.synctera.com/errors/bad-request-body"
}{
"code": "BAD_REQUEST_BODY",
"detail": "missing required fields: first_name, dob",
"status": 400,
"title": "Bad Request Body",
"type": "https://dev.synctera.com/errors/bad-request-body"
}{
"code": "BAD_REQUEST_BODY",
"detail": "missing required fields: first_name, dob",
"status": 400,
"title": "Bad Request Body",
"type": "https://dev.synctera.com/errors/bad-request-body"
}KYC/KYB Verifications
Check if an individual is on any watchlists
POST
/
verifications
/
adhoc
Check if an individual is on any watchlists
curl --request POST \
--url https://api-sandbox.synctera.com/v0/verifications/adhoc \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"payee_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transaction_id": "f805d25b-0187-4405-98a7-27b2567e279e"
}
'import requests
url = "https://api-sandbox.synctera.com/v0/verifications/adhoc"
payload = {
"payee_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transaction_id": "f805d25b-0187-4405-98a7-27b2567e279e"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
payee_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
payer_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
transaction_id: 'f805d25b-0187-4405-98a7-27b2567e279e'
})
};
fetch('https://api-sandbox.synctera.com/v0/verifications/adhoc', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-sandbox.synctera.com/v0/verifications/adhoc",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'payee_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'payer_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'transaction_id' => 'f805d25b-0187-4405-98a7-27b2567e279e'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-sandbox.synctera.com/v0/verifications/adhoc"
payload := strings.NewReader("{\n \"payee_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"payer_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"transaction_id\": \"f805d25b-0187-4405-98a7-27b2567e279e\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-sandbox.synctera.com/v0/verifications/adhoc")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"payee_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"payer_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"transaction_id\": \"f805d25b-0187-4405-98a7-27b2567e279e\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.synctera.com/v0/verifications/adhoc")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"payee_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"payer_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"transaction_id\": \"f805d25b-0187-4405-98a7-27b2567e279e\"\n}"
response = http.request(request)
puts response.read_body{
"id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
"matching_watchlists": [
"US_OFAC"
],
"result": "ACCEPTED",
"sanctions_screening_id": "46cd029f-435c-4048-b6ff-4d15fcd25e0f",
"vendor_info": {
"content_type": "application/json",
"json": {},
"vendor": "SOCURE"
}
}{
"code": "BAD_REQUEST_BODY",
"detail": "missing required fields: first_name, dob",
"status": 400,
"title": "Bad Request Body",
"type": "https://dev.synctera.com/errors/bad-request-body"
}{
"code": "BAD_REQUEST_BODY",
"detail": "missing required fields: first_name, dob",
"status": 400,
"title": "Bad Request Body",
"type": "https://dev.synctera.com/errors/bad-request-body"
}{
"code": "BAD_REQUEST_BODY",
"detail": "missing required fields: first_name, dob",
"status": 400,
"title": "Bad Request Body",
"type": "https://dev.synctera.com/errors/bad-request-body"
}{
"code": "BAD_REQUEST_BODY",
"detail": "missing required fields: first_name, dob",
"status": 400,
"title": "Bad Request Body",
"type": "https://dev.synctera.com/errors/bad-request-body"
}Authorizations
Headers
An idempotency key is an arbitrary unique value generated by client to detect subsequent retries of the same request. It is recommended that a UUID or a similar random identifier be used as an idempotency key. A different key must be used for each request, unless it is a retry.
Example:
"7d943c51-e4ff-4e57-9558-08cab6b963c7"
Body
application/json
Basic identifying information about the person being verified.
Response
successful check
The determination of this verification. One of the following:
UNVERIFIED– record representing the absence of a verification.PENDING– verification is in progress for this customer.PROVISIONAL– partially verified or verified with restrictions.ACCEPTED– the customer has been verified.REVIEW– verification has run and issues have been identified and require review.VENDOR_ERROR– verification did not successfully run due to an unexpected error or failure.REJECTED– the customer was rejected and should not be allowed to take certain actions e.g., open an account.
Available options:
ACCEPTED, PENDING, PROVISIONAL, REJECTED, REVIEW, UNVERIFIED, VENDOR_ERROR Example:
"ACCEPTED"
Was this page helpful?

