Obter resultados 3DS
curl --request POST \
--url https://api.uvvipay.com.br/v1/3ds/authentication-results \
--header 'Content-Type: application/json' \
--header 'client-id: <api-key>' \
--header 'client-secret: <api-key>' \
--data '
{
"token": "<string>",
"token_challenge": "AxjzbwSTm0Nhm0SCFl4d/+MCT4triUCL2hcGlJKGTSTL0YtGZ6wLwAAA5hWN",
"currency": "BRL",
"total_amount": 1050,
"card": {
"number": "4111111111111111",
"expiration_month": "12",
"expiration_year": "2029"
}
}
'import requests
url = "https://api.uvvipay.com.br/v1/3ds/authentication-results"
payload = {
"token": "<string>",
"token_challenge": "AxjzbwSTm0Nhm0SCFl4d/+MCT4triUCL2hcGlJKGTSTL0YtGZ6wLwAAA5hWN",
"currency": "BRL",
"total_amount": 1050,
"card": {
"number": "4111111111111111",
"expiration_month": "12",
"expiration_year": "2029"
}
}
headers = {
"client-id": "<api-key>",
"client-secret": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'client-id': '<api-key>',
'client-secret': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
token: '<string>',
token_challenge: 'AxjzbwSTm0Nhm0SCFl4d/+MCT4triUCL2hcGlJKGTSTL0YtGZ6wLwAAA5hWN',
currency: 'BRL',
total_amount: 1050,
card: {number: '4111111111111111', expiration_month: '12', expiration_year: '2029'}
})
};
fetch('https://api.uvvipay.com.br/v1/3ds/authentication-results', 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.uvvipay.com.br/v1/3ds/authentication-results",
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([
'token' => '<string>',
'token_challenge' => 'AxjzbwSTm0Nhm0SCFl4d/+MCT4triUCL2hcGlJKGTSTL0YtGZ6wLwAAA5hWN',
'currency' => 'BRL',
'total_amount' => 1050,
'card' => [
'number' => '4111111111111111',
'expiration_month' => '12',
'expiration_year' => '2029'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"client-id: <api-key>",
"client-secret: <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://api.uvvipay.com.br/v1/3ds/authentication-results"
payload := strings.NewReader("{\n \"token\": \"<string>\",\n \"token_challenge\": \"AxjzbwSTm0Nhm0SCFl4d/+MCT4triUCL2hcGlJKGTSTL0YtGZ6wLwAAA5hWN\",\n \"currency\": \"BRL\",\n \"total_amount\": 1050,\n \"card\": {\n \"number\": \"4111111111111111\",\n \"expiration_month\": \"12\",\n \"expiration_year\": \"2029\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("client-id", "<api-key>")
req.Header.Add("client-secret", "<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://api.uvvipay.com.br/v1/3ds/authentication-results")
.header("client-id", "<api-key>")
.header("client-secret", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"token\": \"<string>\",\n \"token_challenge\": \"AxjzbwSTm0Nhm0SCFl4d/+MCT4triUCL2hcGlJKGTSTL0YtGZ6wLwAAA5hWN\",\n \"currency\": \"BRL\",\n \"total_amount\": 1050,\n \"card\": {\n \"number\": \"4111111111111111\",\n \"expiration_month\": \"12\",\n \"expiration_year\": \"2029\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.uvvipay.com.br/v1/3ds/authentication-results")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["client-id"] = '<api-key>'
request["client-secret"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"token\": \"<string>\",\n \"token_challenge\": \"AxjzbwSTm0Nhm0SCFl4d/+MCT4triUCL2hcGlJKGTSTL0YtGZ6wLwAAA5hWN\",\n \"currency\": \"BRL\",\n \"total_amount\": 1050,\n \"card\": {\n \"number\": \"4111111111111111\",\n \"expiration_month\": \"12\",\n \"expiration_year\": \"2029\"\n }\n}"
response = http.request(request)
puts response.read_body{
"status": 200,
"message": "SUCCESSFUL",
"data": [
{
"status": "AUTHENTICATION_SUCCESSFUL",
"token": "<string>",
"specification_version": "2.2.0",
"ucaf_collection_indicator": "2",
"authentication_result": "0",
"authentication_status_msg": "Success",
"indicator": "spa",
"eci": "02",
"eci_raw": "02",
"pares_status": "Y",
"ucaf_authentication_data": "<string>",
"ucaf": "<string>",
"directory_server_transaction_id": "<string>",
"three_d_s_server_transaction_id": "<string>",
"acs_transaction_id": "<string>",
"id": "<string>",
"client_reference_code": "<string>",
"submit_time_utc": "2026-01-15T17:23:23Z",
"send_ds_date": 123,
"rec_ds_date": 123
}
],
"error": [
{}
]
}3DS
Obter resultados 3DS
Obtém o resultado final da autenticação 3DS após o challenge. Aceita header CLIENT-ID (integração API) ou PAYMENT-LINK-ID (checkout do link de pagamento).
POST
/
v1
/
3ds
/
authentication-results
Obter resultados 3DS
curl --request POST \
--url https://api.uvvipay.com.br/v1/3ds/authentication-results \
--header 'Content-Type: application/json' \
--header 'client-id: <api-key>' \
--header 'client-secret: <api-key>' \
--data '
{
"token": "<string>",
"token_challenge": "AxjzbwSTm0Nhm0SCFl4d/+MCT4triUCL2hcGlJKGTSTL0YtGZ6wLwAAA5hWN",
"currency": "BRL",
"total_amount": 1050,
"card": {
"number": "4111111111111111",
"expiration_month": "12",
"expiration_year": "2029"
}
}
'import requests
url = "https://api.uvvipay.com.br/v1/3ds/authentication-results"
payload = {
"token": "<string>",
"token_challenge": "AxjzbwSTm0Nhm0SCFl4d/+MCT4triUCL2hcGlJKGTSTL0YtGZ6wLwAAA5hWN",
"currency": "BRL",
"total_amount": 1050,
"card": {
"number": "4111111111111111",
"expiration_month": "12",
"expiration_year": "2029"
}
}
headers = {
"client-id": "<api-key>",
"client-secret": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'client-id': '<api-key>',
'client-secret': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
token: '<string>',
token_challenge: 'AxjzbwSTm0Nhm0SCFl4d/+MCT4triUCL2hcGlJKGTSTL0YtGZ6wLwAAA5hWN',
currency: 'BRL',
total_amount: 1050,
card: {number: '4111111111111111', expiration_month: '12', expiration_year: '2029'}
})
};
fetch('https://api.uvvipay.com.br/v1/3ds/authentication-results', 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.uvvipay.com.br/v1/3ds/authentication-results",
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([
'token' => '<string>',
'token_challenge' => 'AxjzbwSTm0Nhm0SCFl4d/+MCT4triUCL2hcGlJKGTSTL0YtGZ6wLwAAA5hWN',
'currency' => 'BRL',
'total_amount' => 1050,
'card' => [
'number' => '4111111111111111',
'expiration_month' => '12',
'expiration_year' => '2029'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"client-id: <api-key>",
"client-secret: <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://api.uvvipay.com.br/v1/3ds/authentication-results"
payload := strings.NewReader("{\n \"token\": \"<string>\",\n \"token_challenge\": \"AxjzbwSTm0Nhm0SCFl4d/+MCT4triUCL2hcGlJKGTSTL0YtGZ6wLwAAA5hWN\",\n \"currency\": \"BRL\",\n \"total_amount\": 1050,\n \"card\": {\n \"number\": \"4111111111111111\",\n \"expiration_month\": \"12\",\n \"expiration_year\": \"2029\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("client-id", "<api-key>")
req.Header.Add("client-secret", "<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://api.uvvipay.com.br/v1/3ds/authentication-results")
.header("client-id", "<api-key>")
.header("client-secret", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"token\": \"<string>\",\n \"token_challenge\": \"AxjzbwSTm0Nhm0SCFl4d/+MCT4triUCL2hcGlJKGTSTL0YtGZ6wLwAAA5hWN\",\n \"currency\": \"BRL\",\n \"total_amount\": 1050,\n \"card\": {\n \"number\": \"4111111111111111\",\n \"expiration_month\": \"12\",\n \"expiration_year\": \"2029\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.uvvipay.com.br/v1/3ds/authentication-results")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["client-id"] = '<api-key>'
request["client-secret"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"token\": \"<string>\",\n \"token_challenge\": \"AxjzbwSTm0Nhm0SCFl4d/+MCT4triUCL2hcGlJKGTSTL0YtGZ6wLwAAA5hWN\",\n \"currency\": \"BRL\",\n \"total_amount\": 1050,\n \"card\": {\n \"number\": \"4111111111111111\",\n \"expiration_month\": \"12\",\n \"expiration_year\": \"2029\"\n }\n}"
response = http.request(request)
puts response.read_body{
"status": 200,
"message": "SUCCESSFUL",
"data": [
{
"status": "AUTHENTICATION_SUCCESSFUL",
"token": "<string>",
"specification_version": "2.2.0",
"ucaf_collection_indicator": "2",
"authentication_result": "0",
"authentication_status_msg": "Success",
"indicator": "spa",
"eci": "02",
"eci_raw": "02",
"pares_status": "Y",
"ucaf_authentication_data": "<string>",
"ucaf": "<string>",
"directory_server_transaction_id": "<string>",
"three_d_s_server_transaction_id": "<string>",
"acs_transaction_id": "<string>",
"id": "<string>",
"client_reference_code": "<string>",
"submit_time_utc": "2026-01-15T17:23:23Z",
"send_ds_date": 123,
"rec_ds_date": 123
}
],
"error": [
{}
]
}Headers
ID público da credencial do merchant (integração API). Mutuamente exclusivo com payment-link-id.
UUID do payment link (checkout público). Mutuamente exclusivo com client-id.
Body
application/json
Access token obtido em /v1/3ds/generateToken
Token retornado após o challenge
Example:
"AxjzbwSTm0Nhm0SCFl4d/+MCT4triUCL2hcGlJKGTSTL0YtGZ6wLwAAA5hWN"
Required string length:
3Example:
"BRL"
Required range:
x >= 1Example:
1050
Show child attributes
Show child attributes
⌘I

