cURL
curl -X POST https://admin.kycert.com.br/api/v1/kyt/transactions \
-H "x-api-key: $KYCERT_API_KEY" \
-H "Content-Type: application/json" \
--max-time 1 \
-d '{
"external_id": "pix-2026-000123",
"template_id": "2f6c0c1e-8a4b-4d57-9b0e-3d1f5a7c9e10",
"occurred_at": "2026-11-20T14:30:00-03:00",
"channel": "pix",
"direction": "saida",
"amount": "1500.00",
"currency": "BRL",
"sender": { "type": "pf", "document": "529.982.247-25", "name": "Marina Duarte", "country": "BR" },
"beneficiary": { "type": "pj", "document": "11.222.333/0001-81", "name": "Comercial Aurora Ltda", "country": "BR" }
}'import requests
url = "https://admin.kycert.com.br/api/v1/kyt/transactions"
payload = {
"external_id": "pix-2026-000123",
"template_id": "2f6c0c1e-8a4b-4d57-9b0e-3d1f5a7c9e10",
"occurred_at": "2026-11-20T14:30:00-03:00",
"channel": "pix",
"direction": "saida",
"amount": "1500.00",
"currency": "BRL",
"sender": {
"type": "pf",
"document": "529.982.247-25",
"name": "Marina Duarte",
"country": "BR",
"account": "0001-123456-7"
},
"beneficiary": {
"type": "pj",
"document": "11.222.333/0001-81",
"name": "Comercial Aurora Ltda",
"country": "BR"
},
"action_type": "transferencia",
"purpose": "Pagamento de fornecedor",
"description": "Nota fiscal 4821",
"device_fingerprint": "d41d8cd98f00b204e9800998ecf8427e",
"ip": "203.0.113.42",
"channel_data": {
"sender": { "pix_key": "marina.duarte@example.com" },
"beneficiary": { "pix_key": "11222333000181" },
"end_to_end_id": "E1234567820261120143000000000001"
},
"custom_properties": {
"canal_de_origem": "app_mobile",
"primeira_transacao": False
}
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
external_id: 'pix-2026-000123',
template_id: '2f6c0c1e-8a4b-4d57-9b0e-3d1f5a7c9e10',
occurred_at: '2026-11-20T14:30:00-03:00',
channel: 'pix',
direction: 'saida',
amount: '1500.00',
currency: 'BRL',
sender: {
type: 'pf',
document: '529.982.247-25',
name: 'Marina Duarte',
country: 'BR',
account: '0001-123456-7'
},
beneficiary: {
type: 'pj',
document: '11.222.333/0001-81',
name: 'Comercial Aurora Ltda',
country: 'BR'
},
action_type: 'transferencia',
purpose: 'Pagamento de fornecedor',
description: 'Nota fiscal 4821',
device_fingerprint: 'd41d8cd98f00b204e9800998ecf8427e',
ip: '203.0.113.42',
channel_data: {
sender: {pix_key: 'marina.duarte@example.com'},
beneficiary: {pix_key: '11222333000181'},
end_to_end_id: 'E1234567820261120143000000000001'
},
custom_properties: {canal_de_origem: 'app_mobile', primeira_transacao: false}
})
};
fetch('https://admin.kycert.com.br/api/v1/kyt/transactions', 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://admin.kycert.com.br/api/v1/kyt/transactions",
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([
'external_id' => 'pix-2026-000123',
'template_id' => '2f6c0c1e-8a4b-4d57-9b0e-3d1f5a7c9e10',
'occurred_at' => '2026-11-20T14:30:00-03:00',
'channel' => 'pix',
'direction' => 'saida',
'amount' => '1500.00',
'currency' => 'BRL',
'sender' => [
'type' => 'pf',
'document' => '529.982.247-25',
'name' => 'Marina Duarte',
'country' => 'BR',
'account' => '0001-123456-7'
],
'beneficiary' => [
'type' => 'pj',
'document' => '11.222.333/0001-81',
'name' => 'Comercial Aurora Ltda',
'country' => 'BR'
],
'action_type' => 'transferencia',
'purpose' => 'Pagamento de fornecedor',
'description' => 'Nota fiscal 4821',
'device_fingerprint' => 'd41d8cd98f00b204e9800998ecf8427e',
'ip' => '203.0.113.42',
'channel_data' => [
'sender' => [
'pix_key' => 'marina.duarte@example.com'
],
'beneficiary' => [
'pix_key' => '11222333000181'
],
'end_to_end_id' => 'E1234567820261120143000000000001'
],
'custom_properties' => [
'canal_de_origem' => 'app_mobile',
'primeira_transacao' => false
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$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://admin.kycert.com.br/api/v1/kyt/transactions"
payload := strings.NewReader("{\n \"external_id\": \"pix-2026-000123\",\n \"template_id\": \"2f6c0c1e-8a4b-4d57-9b0e-3d1f5a7c9e10\",\n \"occurred_at\": \"2026-11-20T14:30:00-03:00\",\n \"channel\": \"pix\",\n \"direction\": \"saida\",\n \"amount\": \"1500.00\",\n \"currency\": \"BRL\",\n \"sender\": {\n \"type\": \"pf\",\n \"document\": \"529.982.247-25\",\n \"name\": \"Marina Duarte\",\n \"country\": \"BR\",\n \"account\": \"0001-123456-7\"\n },\n \"beneficiary\": {\n \"type\": \"pj\",\n \"document\": \"11.222.333/0001-81\",\n \"name\": \"Comercial Aurora Ltda\",\n \"country\": \"BR\"\n },\n \"action_type\": \"transferencia\",\n \"purpose\": \"Pagamento de fornecedor\",\n \"description\": \"Nota fiscal 4821\",\n \"device_fingerprint\": \"d41d8cd98f00b204e9800998ecf8427e\",\n \"ip\": \"203.0.113.42\",\n \"channel_data\": {\n \"sender\": {\n \"pix_key\": \"marina.duarte@example.com\"\n },\n \"beneficiary\": {\n \"pix_key\": \"11222333000181\"\n },\n \"end_to_end_id\": \"E1234567820261120143000000000001\"\n },\n \"custom_properties\": {\n \"canal_de_origem\": \"app_mobile\",\n \"primeira_transacao\": false\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
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://admin.kycert.com.br/api/v1/kyt/transactions")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"external_id\": \"pix-2026-000123\",\n \"template_id\": \"2f6c0c1e-8a4b-4d57-9b0e-3d1f5a7c9e10\",\n \"occurred_at\": \"2026-11-20T14:30:00-03:00\",\n \"channel\": \"pix\",\n \"direction\": \"saida\",\n \"amount\": \"1500.00\",\n \"currency\": \"BRL\",\n \"sender\": {\n \"type\": \"pf\",\n \"document\": \"529.982.247-25\",\n \"name\": \"Marina Duarte\",\n \"country\": \"BR\",\n \"account\": \"0001-123456-7\"\n },\n \"beneficiary\": {\n \"type\": \"pj\",\n \"document\": \"11.222.333/0001-81\",\n \"name\": \"Comercial Aurora Ltda\",\n \"country\": \"BR\"\n },\n \"action_type\": \"transferencia\",\n \"purpose\": \"Pagamento de fornecedor\",\n \"description\": \"Nota fiscal 4821\",\n \"device_fingerprint\": \"d41d8cd98f00b204e9800998ecf8427e\",\n \"ip\": \"203.0.113.42\",\n \"channel_data\": {\n \"sender\": {\n \"pix_key\": \"marina.duarte@example.com\"\n },\n \"beneficiary\": {\n \"pix_key\": \"11222333000181\"\n },\n \"end_to_end_id\": \"E1234567820261120143000000000001\"\n },\n \"custom_properties\": {\n \"canal_de_origem\": \"app_mobile\",\n \"primeira_transacao\": false\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://admin.kycert.com.br/api/v1/kyt/transactions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"external_id\": \"pix-2026-000123\",\n \"template_id\": \"2f6c0c1e-8a4b-4d57-9b0e-3d1f5a7c9e10\",\n \"occurred_at\": \"2026-11-20T14:30:00-03:00\",\n \"channel\": \"pix\",\n \"direction\": \"saida\",\n \"amount\": \"1500.00\",\n \"currency\": \"BRL\",\n \"sender\": {\n \"type\": \"pf\",\n \"document\": \"529.982.247-25\",\n \"name\": \"Marina Duarte\",\n \"country\": \"BR\",\n \"account\": \"0001-123456-7\"\n },\n \"beneficiary\": {\n \"type\": \"pj\",\n \"document\": \"11.222.333/0001-81\",\n \"name\": \"Comercial Aurora Ltda\",\n \"country\": \"BR\"\n },\n \"action_type\": \"transferencia\",\n \"purpose\": \"Pagamento de fornecedor\",\n \"description\": \"Nota fiscal 4821\",\n \"device_fingerprint\": \"d41d8cd98f00b204e9800998ecf8427e\",\n \"ip\": \"203.0.113.42\",\n \"channel_data\": {\n \"sender\": {\n \"pix_key\": \"marina.duarte@example.com\"\n },\n \"beneficiary\": {\n \"pix_key\": \"11222333000181\"\n },\n \"end_to_end_id\": \"E1234567820261120143000000000001\"\n },\n \"custom_properties\": {\n \"canal_de_origem\": \"app_mobile\",\n \"primeira_transacao\": false\n }\n}"
response = http.request(request)
puts response.read_body{
"transaction_id": "8b1d6f52-3c7e-4a90-b2d4-6e5f0a1c7d38",
"external_id": "pix-2026-000123",
"fx_rate": 0.1852,
"fx_quote_at": "2026-11-20T17:25:00+00:00",
"fx_stale": false,
"idempotent_replay": false,
"evaluation_status": "avaliada",
"risk": "alto",
"score": 70,
"rules": [
{
"rule_id": "valor_faixa",
"instance_id": "a",
"points": 70,
"measured": 277.8,
"detail": null
}
],
"partial": false,
"template_id": "2f6c0c1e-8a4b-4d57-9b0e-3d1f5a7c9e10",
"template_version": 3,
"evaluated_at": "2026-11-20T17:30:01.412+00:00"
}Transações (KYT)
Enviar transação
Grava a transação e devolve o risco na própria resposta. A kycert não bloqueia a transação: seguir ou barrar é decisão do seu sistema.
Requer o escopo kyt:write e o módulo de transações ativo para a empresa.
O corpo é JSON de até 64 KB e campo desconhecido é recusado.
O external_id é a chave de idempotência dentro do ambiente da chave
(produção ou sandbox). Este endpoint não usa o header Idempotency-Key.
Veja o guia Enviar transação.
POST
/
api
/
v1
/
kyt
/
transactions
cURL
curl -X POST https://admin.kycert.com.br/api/v1/kyt/transactions \
-H "x-api-key: $KYCERT_API_KEY" \
-H "Content-Type: application/json" \
--max-time 1 \
-d '{
"external_id": "pix-2026-000123",
"template_id": "2f6c0c1e-8a4b-4d57-9b0e-3d1f5a7c9e10",
"occurred_at": "2026-11-20T14:30:00-03:00",
"channel": "pix",
"direction": "saida",
"amount": "1500.00",
"currency": "BRL",
"sender": { "type": "pf", "document": "529.982.247-25", "name": "Marina Duarte", "country": "BR" },
"beneficiary": { "type": "pj", "document": "11.222.333/0001-81", "name": "Comercial Aurora Ltda", "country": "BR" }
}'import requests
url = "https://admin.kycert.com.br/api/v1/kyt/transactions"
payload = {
"external_id": "pix-2026-000123",
"template_id": "2f6c0c1e-8a4b-4d57-9b0e-3d1f5a7c9e10",
"occurred_at": "2026-11-20T14:30:00-03:00",
"channel": "pix",
"direction": "saida",
"amount": "1500.00",
"currency": "BRL",
"sender": {
"type": "pf",
"document": "529.982.247-25",
"name": "Marina Duarte",
"country": "BR",
"account": "0001-123456-7"
},
"beneficiary": {
"type": "pj",
"document": "11.222.333/0001-81",
"name": "Comercial Aurora Ltda",
"country": "BR"
},
"action_type": "transferencia",
"purpose": "Pagamento de fornecedor",
"description": "Nota fiscal 4821",
"device_fingerprint": "d41d8cd98f00b204e9800998ecf8427e",
"ip": "203.0.113.42",
"channel_data": {
"sender": { "pix_key": "marina.duarte@example.com" },
"beneficiary": { "pix_key": "11222333000181" },
"end_to_end_id": "E1234567820261120143000000000001"
},
"custom_properties": {
"canal_de_origem": "app_mobile",
"primeira_transacao": False
}
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
external_id: 'pix-2026-000123',
template_id: '2f6c0c1e-8a4b-4d57-9b0e-3d1f5a7c9e10',
occurred_at: '2026-11-20T14:30:00-03:00',
channel: 'pix',
direction: 'saida',
amount: '1500.00',
currency: 'BRL',
sender: {
type: 'pf',
document: '529.982.247-25',
name: 'Marina Duarte',
country: 'BR',
account: '0001-123456-7'
},
beneficiary: {
type: 'pj',
document: '11.222.333/0001-81',
name: 'Comercial Aurora Ltda',
country: 'BR'
},
action_type: 'transferencia',
purpose: 'Pagamento de fornecedor',
description: 'Nota fiscal 4821',
device_fingerprint: 'd41d8cd98f00b204e9800998ecf8427e',
ip: '203.0.113.42',
channel_data: {
sender: {pix_key: 'marina.duarte@example.com'},
beneficiary: {pix_key: '11222333000181'},
end_to_end_id: 'E1234567820261120143000000000001'
},
custom_properties: {canal_de_origem: 'app_mobile', primeira_transacao: false}
})
};
fetch('https://admin.kycert.com.br/api/v1/kyt/transactions', 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://admin.kycert.com.br/api/v1/kyt/transactions",
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([
'external_id' => 'pix-2026-000123',
'template_id' => '2f6c0c1e-8a4b-4d57-9b0e-3d1f5a7c9e10',
'occurred_at' => '2026-11-20T14:30:00-03:00',
'channel' => 'pix',
'direction' => 'saida',
'amount' => '1500.00',
'currency' => 'BRL',
'sender' => [
'type' => 'pf',
'document' => '529.982.247-25',
'name' => 'Marina Duarte',
'country' => 'BR',
'account' => '0001-123456-7'
],
'beneficiary' => [
'type' => 'pj',
'document' => '11.222.333/0001-81',
'name' => 'Comercial Aurora Ltda',
'country' => 'BR'
],
'action_type' => 'transferencia',
'purpose' => 'Pagamento de fornecedor',
'description' => 'Nota fiscal 4821',
'device_fingerprint' => 'd41d8cd98f00b204e9800998ecf8427e',
'ip' => '203.0.113.42',
'channel_data' => [
'sender' => [
'pix_key' => 'marina.duarte@example.com'
],
'beneficiary' => [
'pix_key' => '11222333000181'
],
'end_to_end_id' => 'E1234567820261120143000000000001'
],
'custom_properties' => [
'canal_de_origem' => 'app_mobile',
'primeira_transacao' => false
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$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://admin.kycert.com.br/api/v1/kyt/transactions"
payload := strings.NewReader("{\n \"external_id\": \"pix-2026-000123\",\n \"template_id\": \"2f6c0c1e-8a4b-4d57-9b0e-3d1f5a7c9e10\",\n \"occurred_at\": \"2026-11-20T14:30:00-03:00\",\n \"channel\": \"pix\",\n \"direction\": \"saida\",\n \"amount\": \"1500.00\",\n \"currency\": \"BRL\",\n \"sender\": {\n \"type\": \"pf\",\n \"document\": \"529.982.247-25\",\n \"name\": \"Marina Duarte\",\n \"country\": \"BR\",\n \"account\": \"0001-123456-7\"\n },\n \"beneficiary\": {\n \"type\": \"pj\",\n \"document\": \"11.222.333/0001-81\",\n \"name\": \"Comercial Aurora Ltda\",\n \"country\": \"BR\"\n },\n \"action_type\": \"transferencia\",\n \"purpose\": \"Pagamento de fornecedor\",\n \"description\": \"Nota fiscal 4821\",\n \"device_fingerprint\": \"d41d8cd98f00b204e9800998ecf8427e\",\n \"ip\": \"203.0.113.42\",\n \"channel_data\": {\n \"sender\": {\n \"pix_key\": \"marina.duarte@example.com\"\n },\n \"beneficiary\": {\n \"pix_key\": \"11222333000181\"\n },\n \"end_to_end_id\": \"E1234567820261120143000000000001\"\n },\n \"custom_properties\": {\n \"canal_de_origem\": \"app_mobile\",\n \"primeira_transacao\": false\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
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://admin.kycert.com.br/api/v1/kyt/transactions")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"external_id\": \"pix-2026-000123\",\n \"template_id\": \"2f6c0c1e-8a4b-4d57-9b0e-3d1f5a7c9e10\",\n \"occurred_at\": \"2026-11-20T14:30:00-03:00\",\n \"channel\": \"pix\",\n \"direction\": \"saida\",\n \"amount\": \"1500.00\",\n \"currency\": \"BRL\",\n \"sender\": {\n \"type\": \"pf\",\n \"document\": \"529.982.247-25\",\n \"name\": \"Marina Duarte\",\n \"country\": \"BR\",\n \"account\": \"0001-123456-7\"\n },\n \"beneficiary\": {\n \"type\": \"pj\",\n \"document\": \"11.222.333/0001-81\",\n \"name\": \"Comercial Aurora Ltda\",\n \"country\": \"BR\"\n },\n \"action_type\": \"transferencia\",\n \"purpose\": \"Pagamento de fornecedor\",\n \"description\": \"Nota fiscal 4821\",\n \"device_fingerprint\": \"d41d8cd98f00b204e9800998ecf8427e\",\n \"ip\": \"203.0.113.42\",\n \"channel_data\": {\n \"sender\": {\n \"pix_key\": \"marina.duarte@example.com\"\n },\n \"beneficiary\": {\n \"pix_key\": \"11222333000181\"\n },\n \"end_to_end_id\": \"E1234567820261120143000000000001\"\n },\n \"custom_properties\": {\n \"canal_de_origem\": \"app_mobile\",\n \"primeira_transacao\": false\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://admin.kycert.com.br/api/v1/kyt/transactions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"external_id\": \"pix-2026-000123\",\n \"template_id\": \"2f6c0c1e-8a4b-4d57-9b0e-3d1f5a7c9e10\",\n \"occurred_at\": \"2026-11-20T14:30:00-03:00\",\n \"channel\": \"pix\",\n \"direction\": \"saida\",\n \"amount\": \"1500.00\",\n \"currency\": \"BRL\",\n \"sender\": {\n \"type\": \"pf\",\n \"document\": \"529.982.247-25\",\n \"name\": \"Marina Duarte\",\n \"country\": \"BR\",\n \"account\": \"0001-123456-7\"\n },\n \"beneficiary\": {\n \"type\": \"pj\",\n \"document\": \"11.222.333/0001-81\",\n \"name\": \"Comercial Aurora Ltda\",\n \"country\": \"BR\"\n },\n \"action_type\": \"transferencia\",\n \"purpose\": \"Pagamento de fornecedor\",\n \"description\": \"Nota fiscal 4821\",\n \"device_fingerprint\": \"d41d8cd98f00b204e9800998ecf8427e\",\n \"ip\": \"203.0.113.42\",\n \"channel_data\": {\n \"sender\": {\n \"pix_key\": \"marina.duarte@example.com\"\n },\n \"beneficiary\": {\n \"pix_key\": \"11222333000181\"\n },\n \"end_to_end_id\": \"E1234567820261120143000000000001\"\n },\n \"custom_properties\": {\n \"canal_de_origem\": \"app_mobile\",\n \"primeira_transacao\": false\n }\n}"
response = http.request(request)
puts response.read_body{
"transaction_id": "8b1d6f52-3c7e-4a90-b2d4-6e5f0a1c7d38",
"external_id": "pix-2026-000123",
"fx_rate": 0.1852,
"fx_quote_at": "2026-11-20T17:25:00+00:00",
"fx_stale": false,
"idempotent_replay": false,
"evaluation_status": "avaliada",
"risk": "alto",
"score": 70,
"rules": [
{
"rule_id": "valor_faixa",
"instance_id": "a",
"points": 70,
"measured": 277.8,
"detail": null
}
],
"partial": false,
"template_id": "2f6c0c1e-8a4b-4d57-9b0e-3d1f5a7c9e10",
"template_version": 3,
"evaluated_at": "2026-11-20T17:30:01.412+00:00"
}Authorizations
ApiKeyHeaderBearerToken
Headers
Body
application/json
Response
Transação gravada e avaliada. Também é a resposta do reenvio de um external_id já avaliado, com idempotent_replay verdadeiro.