Simulate biometric verification events
curl --request POST \
--url https://orchestrator.control.coincover.com/v1/verification/simulate \
--header 'Content-Type: application/json' \
--data '
{
"verification_id": "inq_abc123xyz",
"action": "approve_inquiry"
}
'import requests
url = "https://orchestrator.control.coincover.com/v1/verification/simulate"
payload = {
"verification_id": "inq_abc123xyz",
"action": "approve_inquiry"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({verification_id: 'inq_abc123xyz', action: 'approve_inquiry'})
};
fetch('https://orchestrator.control.coincover.com/v1/verification/simulate', 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://orchestrator.control.coincover.com/v1/verification/simulate",
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([
'verification_id' => 'inq_abc123xyz',
'action' => 'approve_inquiry'
]),
CURLOPT_HTTPHEADER => [
"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://orchestrator.control.coincover.com/v1/verification/simulate"
payload := strings.NewReader("{\n \"verification_id\": \"inq_abc123xyz\",\n \"action\": \"approve_inquiry\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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://orchestrator.control.coincover.com/v1/verification/simulate")
.header("Content-Type", "application/json")
.body("{\n \"verification_id\": \"inq_abc123xyz\",\n \"action\": \"approve_inquiry\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://orchestrator.control.coincover.com/v1/verification/simulate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"verification_id\": \"inq_abc123xyz\",\n \"action\": \"approve_inquiry\"\n}"
response = http.request(request)
puts response.read_body{
"ok": true,
"inquiryId": "inq_abc123xyz"
}Verification
Simulate biometric verification events
Simulates biometric verification events for testing in non-production environments.
POST
/
v1
/
verification
/
simulate
Simulate biometric verification events
curl --request POST \
--url https://orchestrator.control.coincover.com/v1/verification/simulate \
--header 'Content-Type: application/json' \
--data '
{
"verification_id": "inq_abc123xyz",
"action": "approve_inquiry"
}
'import requests
url = "https://orchestrator.control.coincover.com/v1/verification/simulate"
payload = {
"verification_id": "inq_abc123xyz",
"action": "approve_inquiry"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({verification_id: 'inq_abc123xyz', action: 'approve_inquiry'})
};
fetch('https://orchestrator.control.coincover.com/v1/verification/simulate', 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://orchestrator.control.coincover.com/v1/verification/simulate",
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([
'verification_id' => 'inq_abc123xyz',
'action' => 'approve_inquiry'
]),
CURLOPT_HTTPHEADER => [
"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://orchestrator.control.coincover.com/v1/verification/simulate"
payload := strings.NewReader("{\n \"verification_id\": \"inq_abc123xyz\",\n \"action\": \"approve_inquiry\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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://orchestrator.control.coincover.com/v1/verification/simulate")
.header("Content-Type", "application/json")
.body("{\n \"verification_id\": \"inq_abc123xyz\",\n \"action\": \"approve_inquiry\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://orchestrator.control.coincover.com/v1/verification/simulate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"verification_id\": \"inq_abc123xyz\",\n \"action\": \"approve_inquiry\"\n}"
response = http.request(request)
puts response.read_body{
"ok": true,
"inquiryId": "inq_abc123xyz"
}Body
application/json
Request payload for simulating biometric verification events for testing in non-production environments.
Biometric verification ID to simulate an action for.
Example:
"inq_abc123xyz"
Biometric verification simulation action type.
Available options:
start_inquiry, complete_inquiry, fail_inquiry, expire_inquiry, mark_for_review_inquiry, approve_inquiry, decline_inquiry Example:
"approve_inquiry"
Response
200 - application/json
Biometric verification event simulated successfully