Iniciar autenticação 3DS
curl --request POST \
--url https://api.uvvipay.com.br/v1/3ds/authentications \
--header 'Content-Type: application/json' \
--header 'client-id: <api-key>' \
--header 'client-secret: <api-key>' \
--data '
{
"token": "<string>",
"device": {
"http_browser_screen_height": "1080",
"http_browser_screen_width": "1920",
"ip_address": "192.168.1.100",
"http_browser_color_depth": "24",
"http_browser_java_enabled": "N",
"http_browser_java_script_enabled": "Y",
"http_browser_language": "pt-BR",
"http_browser_time_difference": "180",
"http_accept_browser_value": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
"http_accept_content": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
"order": {
"currency": "BRL",
"total_amount": 1050,
"bill_to": {
"firstName": "João",
"lastName": "da Silva",
"email": "joao@exemplo.com",
"locality": "São Paulo",
"administrativeArea": "SP",
"country": "BR",
"address1": "Av. Paulista, 1000",
"address2": "Conjunto 101",
"postalCode": "01310100",
"homePhone": "1132109323",
"mobilePhone": "11999001122"
}
},
"card": {
"number": "4111111111111111",
"expiration_month": "12",
"expiration_year": "2029"
},
"alternate_authentication_method": "02",
"challenge_code": "03"
}
'import requests
url = "https://api.uvvipay.com.br/v1/3ds/authentications"
payload = {
"token": "<string>",
"device": {
"http_browser_screen_height": "1080",
"http_browser_screen_width": "1920",
"ip_address": "192.168.1.100",
"http_browser_color_depth": "24",
"http_browser_java_enabled": "N",
"http_browser_java_script_enabled": "Y",
"http_browser_language": "pt-BR",
"http_browser_time_difference": "180",
"http_accept_browser_value": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
"http_accept_content": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
"order": {
"currency": "BRL",
"total_amount": 1050,
"bill_to": {
"firstName": "João",
"lastName": "da Silva",
"email": "joao@exemplo.com",
"locality": "São Paulo",
"administrativeArea": "SP",
"country": "BR",
"address1": "Av. Paulista, 1000",
"address2": "Conjunto 101",
"postalCode": "01310100",
"homePhone": "1132109323",
"mobilePhone": "11999001122"
}
},
"card": {
"number": "4111111111111111",
"expiration_month": "12",
"expiration_year": "2029"
},
"alternate_authentication_method": "02",
"challenge_code": "03"
}
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>',
device: {
http_browser_screen_height: '1080',
http_browser_screen_width: '1920',
ip_address: '192.168.1.100',
http_browser_color_depth: '24',
http_browser_java_enabled: 'N',
http_browser_java_script_enabled: 'Y',
http_browser_language: 'pt-BR',
http_browser_time_difference: '180',
http_accept_browser_value: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
http_accept_content: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
},
order: {
currency: 'BRL',
total_amount: 1050,
bill_to: {
firstName: 'João',
lastName: 'da Silva',
email: 'joao@exemplo.com',
locality: 'São Paulo',
administrativeArea: 'SP',
country: 'BR',
address1: 'Av. Paulista, 1000',
address2: 'Conjunto 101',
postalCode: '01310100',
homePhone: '1132109323',
mobilePhone: '11999001122'
}
},
card: {number: '4111111111111111', expiration_month: '12', expiration_year: '2029'},
alternate_authentication_method: '02',
challenge_code: '03'
})
};
fetch('https://api.uvvipay.com.br/v1/3ds/authentications', 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/authentications",
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>',
'device' => [
'http_browser_screen_height' => '1080',
'http_browser_screen_width' => '1920',
'ip_address' => '192.168.1.100',
'http_browser_color_depth' => '24',
'http_browser_java_enabled' => 'N',
'http_browser_java_script_enabled' => 'Y',
'http_browser_language' => 'pt-BR',
'http_browser_time_difference' => '180',
'http_accept_browser_value' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'http_accept_content' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
],
'order' => [
'currency' => 'BRL',
'total_amount' => 1050,
'bill_to' => [
'firstName' => 'João',
'lastName' => 'da Silva',
'email' => 'joao@exemplo.com',
'locality' => 'São Paulo',
'administrativeArea' => 'SP',
'country' => 'BR',
'address1' => 'Av. Paulista, 1000',
'address2' => 'Conjunto 101',
'postalCode' => '01310100',
'homePhone' => '1132109323',
'mobilePhone' => '11999001122'
]
],
'card' => [
'number' => '4111111111111111',
'expiration_month' => '12',
'expiration_year' => '2029'
],
'alternate_authentication_method' => '02',
'challenge_code' => '03'
]),
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/authentications"
payload := strings.NewReader("{\n \"token\": \"<string>\",\n \"device\": {\n \"http_browser_screen_height\": \"1080\",\n \"http_browser_screen_width\": \"1920\",\n \"ip_address\": \"192.168.1.100\",\n \"http_browser_color_depth\": \"24\",\n \"http_browser_java_enabled\": \"N\",\n \"http_browser_java_script_enabled\": \"Y\",\n \"http_browser_language\": \"pt-BR\",\n \"http_browser_time_difference\": \"180\",\n \"http_accept_browser_value\": \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"http_accept_content\": \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\"\n },\n \"order\": {\n \"currency\": \"BRL\",\n \"total_amount\": 1050,\n \"bill_to\": {\n \"firstName\": \"João\",\n \"lastName\": \"da Silva\",\n \"email\": \"joao@exemplo.com\",\n \"locality\": \"São Paulo\",\n \"administrativeArea\": \"SP\",\n \"country\": \"BR\",\n \"address1\": \"Av. Paulista, 1000\",\n \"address2\": \"Conjunto 101\",\n \"postalCode\": \"01310100\",\n \"homePhone\": \"1132109323\",\n \"mobilePhone\": \"11999001122\"\n }\n },\n \"card\": {\n \"number\": \"4111111111111111\",\n \"expiration_month\": \"12\",\n \"expiration_year\": \"2029\"\n },\n \"alternate_authentication_method\": \"02\",\n \"challenge_code\": \"03\"\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/authentications")
.header("client-id", "<api-key>")
.header("client-secret", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"token\": \"<string>\",\n \"device\": {\n \"http_browser_screen_height\": \"1080\",\n \"http_browser_screen_width\": \"1920\",\n \"ip_address\": \"192.168.1.100\",\n \"http_browser_color_depth\": \"24\",\n \"http_browser_java_enabled\": \"N\",\n \"http_browser_java_script_enabled\": \"Y\",\n \"http_browser_language\": \"pt-BR\",\n \"http_browser_time_difference\": \"180\",\n \"http_accept_browser_value\": \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"http_accept_content\": \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\"\n },\n \"order\": {\n \"currency\": \"BRL\",\n \"total_amount\": 1050,\n \"bill_to\": {\n \"firstName\": \"João\",\n \"lastName\": \"da Silva\",\n \"email\": \"joao@exemplo.com\",\n \"locality\": \"São Paulo\",\n \"administrativeArea\": \"SP\",\n \"country\": \"BR\",\n \"address1\": \"Av. Paulista, 1000\",\n \"address2\": \"Conjunto 101\",\n \"postalCode\": \"01310100\",\n \"homePhone\": \"1132109323\",\n \"mobilePhone\": \"11999001122\"\n }\n },\n \"card\": {\n \"number\": \"4111111111111111\",\n \"expiration_month\": \"12\",\n \"expiration_year\": \"2029\"\n },\n \"alternate_authentication_method\": \"02\",\n \"challenge_code\": \"03\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.uvvipay.com.br/v1/3ds/authentications")
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 \"device\": {\n \"http_browser_screen_height\": \"1080\",\n \"http_browser_screen_width\": \"1920\",\n \"ip_address\": \"192.168.1.100\",\n \"http_browser_color_depth\": \"24\",\n \"http_browser_java_enabled\": \"N\",\n \"http_browser_java_script_enabled\": \"Y\",\n \"http_browser_language\": \"pt-BR\",\n \"http_browser_time_difference\": \"180\",\n \"http_accept_browser_value\": \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"http_accept_content\": \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\"\n },\n \"order\": {\n \"currency\": \"BRL\",\n \"total_amount\": 1050,\n \"bill_to\": {\n \"firstName\": \"João\",\n \"lastName\": \"da Silva\",\n \"email\": \"joao@exemplo.com\",\n \"locality\": \"São Paulo\",\n \"administrativeArea\": \"SP\",\n \"country\": \"BR\",\n \"address1\": \"Av. Paulista, 1000\",\n \"address2\": \"Conjunto 101\",\n \"postalCode\": \"01310100\",\n \"homePhone\": \"1132109323\",\n \"mobilePhone\": \"11999001122\"\n }\n },\n \"card\": {\n \"number\": \"4111111111111111\",\n \"expiration_month\": \"12\",\n \"expiration_year\": \"2029\"\n },\n \"alternate_authentication_method\": \"02\",\n \"challenge_code\": \"03\"\n}"
response = http.request(request)
puts response.read_body{
"status": 200,
"message": "SUCCESSFUL",
"data": [
{
"status": "PENDING_AUTHENTICATION",
"consumerAuthenticationInformation": {
"acsUrl": "https://acs.example.com/authenticate",
"pareq": "eJxVUstuwjAQ/BXLd...",
"authenticationTransactionId": "f1eef51e-de4e-4274-8757-7ff19e719501"
}
}
],
"error": [
{}
]
}3DS
Iniciar autenticação 3DS
Inicia a autenticação 3DS. Chamado pelo script 3ds.js. Aceita header CLIENT-ID (integração API) ou PAYMENT-LINK-ID (checkout do link de pagamento, sem merchant_credentials). O access token vem de /v1/3ds/generateToken ou /v1/3ds/generate-token.
POST
/
v1
/
3ds
/
authentications
Iniciar autenticação 3DS
curl --request POST \
--url https://api.uvvipay.com.br/v1/3ds/authentications \
--header 'Content-Type: application/json' \
--header 'client-id: <api-key>' \
--header 'client-secret: <api-key>' \
--data '
{
"token": "<string>",
"device": {
"http_browser_screen_height": "1080",
"http_browser_screen_width": "1920",
"ip_address": "192.168.1.100",
"http_browser_color_depth": "24",
"http_browser_java_enabled": "N",
"http_browser_java_script_enabled": "Y",
"http_browser_language": "pt-BR",
"http_browser_time_difference": "180",
"http_accept_browser_value": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
"http_accept_content": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
"order": {
"currency": "BRL",
"total_amount": 1050,
"bill_to": {
"firstName": "João",
"lastName": "da Silva",
"email": "joao@exemplo.com",
"locality": "São Paulo",
"administrativeArea": "SP",
"country": "BR",
"address1": "Av. Paulista, 1000",
"address2": "Conjunto 101",
"postalCode": "01310100",
"homePhone": "1132109323",
"mobilePhone": "11999001122"
}
},
"card": {
"number": "4111111111111111",
"expiration_month": "12",
"expiration_year": "2029"
},
"alternate_authentication_method": "02",
"challenge_code": "03"
}
'import requests
url = "https://api.uvvipay.com.br/v1/3ds/authentications"
payload = {
"token": "<string>",
"device": {
"http_browser_screen_height": "1080",
"http_browser_screen_width": "1920",
"ip_address": "192.168.1.100",
"http_browser_color_depth": "24",
"http_browser_java_enabled": "N",
"http_browser_java_script_enabled": "Y",
"http_browser_language": "pt-BR",
"http_browser_time_difference": "180",
"http_accept_browser_value": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
"http_accept_content": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
"order": {
"currency": "BRL",
"total_amount": 1050,
"bill_to": {
"firstName": "João",
"lastName": "da Silva",
"email": "joao@exemplo.com",
"locality": "São Paulo",
"administrativeArea": "SP",
"country": "BR",
"address1": "Av. Paulista, 1000",
"address2": "Conjunto 101",
"postalCode": "01310100",
"homePhone": "1132109323",
"mobilePhone": "11999001122"
}
},
"card": {
"number": "4111111111111111",
"expiration_month": "12",
"expiration_year": "2029"
},
"alternate_authentication_method": "02",
"challenge_code": "03"
}
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>',
device: {
http_browser_screen_height: '1080',
http_browser_screen_width: '1920',
ip_address: '192.168.1.100',
http_browser_color_depth: '24',
http_browser_java_enabled: 'N',
http_browser_java_script_enabled: 'Y',
http_browser_language: 'pt-BR',
http_browser_time_difference: '180',
http_accept_browser_value: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
http_accept_content: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
},
order: {
currency: 'BRL',
total_amount: 1050,
bill_to: {
firstName: 'João',
lastName: 'da Silva',
email: 'joao@exemplo.com',
locality: 'São Paulo',
administrativeArea: 'SP',
country: 'BR',
address1: 'Av. Paulista, 1000',
address2: 'Conjunto 101',
postalCode: '01310100',
homePhone: '1132109323',
mobilePhone: '11999001122'
}
},
card: {number: '4111111111111111', expiration_month: '12', expiration_year: '2029'},
alternate_authentication_method: '02',
challenge_code: '03'
})
};
fetch('https://api.uvvipay.com.br/v1/3ds/authentications', 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/authentications",
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>',
'device' => [
'http_browser_screen_height' => '1080',
'http_browser_screen_width' => '1920',
'ip_address' => '192.168.1.100',
'http_browser_color_depth' => '24',
'http_browser_java_enabled' => 'N',
'http_browser_java_script_enabled' => 'Y',
'http_browser_language' => 'pt-BR',
'http_browser_time_difference' => '180',
'http_accept_browser_value' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'http_accept_content' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
],
'order' => [
'currency' => 'BRL',
'total_amount' => 1050,
'bill_to' => [
'firstName' => 'João',
'lastName' => 'da Silva',
'email' => 'joao@exemplo.com',
'locality' => 'São Paulo',
'administrativeArea' => 'SP',
'country' => 'BR',
'address1' => 'Av. Paulista, 1000',
'address2' => 'Conjunto 101',
'postalCode' => '01310100',
'homePhone' => '1132109323',
'mobilePhone' => '11999001122'
]
],
'card' => [
'number' => '4111111111111111',
'expiration_month' => '12',
'expiration_year' => '2029'
],
'alternate_authentication_method' => '02',
'challenge_code' => '03'
]),
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/authentications"
payload := strings.NewReader("{\n \"token\": \"<string>\",\n \"device\": {\n \"http_browser_screen_height\": \"1080\",\n \"http_browser_screen_width\": \"1920\",\n \"ip_address\": \"192.168.1.100\",\n \"http_browser_color_depth\": \"24\",\n \"http_browser_java_enabled\": \"N\",\n \"http_browser_java_script_enabled\": \"Y\",\n \"http_browser_language\": \"pt-BR\",\n \"http_browser_time_difference\": \"180\",\n \"http_accept_browser_value\": \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"http_accept_content\": \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\"\n },\n \"order\": {\n \"currency\": \"BRL\",\n \"total_amount\": 1050,\n \"bill_to\": {\n \"firstName\": \"João\",\n \"lastName\": \"da Silva\",\n \"email\": \"joao@exemplo.com\",\n \"locality\": \"São Paulo\",\n \"administrativeArea\": \"SP\",\n \"country\": \"BR\",\n \"address1\": \"Av. Paulista, 1000\",\n \"address2\": \"Conjunto 101\",\n \"postalCode\": \"01310100\",\n \"homePhone\": \"1132109323\",\n \"mobilePhone\": \"11999001122\"\n }\n },\n \"card\": {\n \"number\": \"4111111111111111\",\n \"expiration_month\": \"12\",\n \"expiration_year\": \"2029\"\n },\n \"alternate_authentication_method\": \"02\",\n \"challenge_code\": \"03\"\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/authentications")
.header("client-id", "<api-key>")
.header("client-secret", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"token\": \"<string>\",\n \"device\": {\n \"http_browser_screen_height\": \"1080\",\n \"http_browser_screen_width\": \"1920\",\n \"ip_address\": \"192.168.1.100\",\n \"http_browser_color_depth\": \"24\",\n \"http_browser_java_enabled\": \"N\",\n \"http_browser_java_script_enabled\": \"Y\",\n \"http_browser_language\": \"pt-BR\",\n \"http_browser_time_difference\": \"180\",\n \"http_accept_browser_value\": \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"http_accept_content\": \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\"\n },\n \"order\": {\n \"currency\": \"BRL\",\n \"total_amount\": 1050,\n \"bill_to\": {\n \"firstName\": \"João\",\n \"lastName\": \"da Silva\",\n \"email\": \"joao@exemplo.com\",\n \"locality\": \"São Paulo\",\n \"administrativeArea\": \"SP\",\n \"country\": \"BR\",\n \"address1\": \"Av. Paulista, 1000\",\n \"address2\": \"Conjunto 101\",\n \"postalCode\": \"01310100\",\n \"homePhone\": \"1132109323\",\n \"mobilePhone\": \"11999001122\"\n }\n },\n \"card\": {\n \"number\": \"4111111111111111\",\n \"expiration_month\": \"12\",\n \"expiration_year\": \"2029\"\n },\n \"alternate_authentication_method\": \"02\",\n \"challenge_code\": \"03\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.uvvipay.com.br/v1/3ds/authentications")
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 \"device\": {\n \"http_browser_screen_height\": \"1080\",\n \"http_browser_screen_width\": \"1920\",\n \"ip_address\": \"192.168.1.100\",\n \"http_browser_color_depth\": \"24\",\n \"http_browser_java_enabled\": \"N\",\n \"http_browser_java_script_enabled\": \"Y\",\n \"http_browser_language\": \"pt-BR\",\n \"http_browser_time_difference\": \"180\",\n \"http_accept_browser_value\": \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"http_accept_content\": \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\"\n },\n \"order\": {\n \"currency\": \"BRL\",\n \"total_amount\": 1050,\n \"bill_to\": {\n \"firstName\": \"João\",\n \"lastName\": \"da Silva\",\n \"email\": \"joao@exemplo.com\",\n \"locality\": \"São Paulo\",\n \"administrativeArea\": \"SP\",\n \"country\": \"BR\",\n \"address1\": \"Av. Paulista, 1000\",\n \"address2\": \"Conjunto 101\",\n \"postalCode\": \"01310100\",\n \"homePhone\": \"1132109323\",\n \"mobilePhone\": \"11999001122\"\n }\n },\n \"card\": {\n \"number\": \"4111111111111111\",\n \"expiration_month\": \"12\",\n \"expiration_year\": \"2029\"\n },\n \"alternate_authentication_method\": \"02\",\n \"challenge_code\": \"03\"\n}"
response = http.request(request)
puts response.read_body{
"status": 200,
"message": "SUCCESSFUL",
"data": [
{
"status": "PENDING_AUTHENTICATION",
"consumerAuthenticationInformation": {
"acsUrl": "https://acs.example.com/authenticate",
"pareq": "eJxVUstuwjAQ/BXLd...",
"authenticationTransactionId": "f1eef51e-de4e-4274-8757-7ff19e719501"
}
}
],
"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
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Example:
"02"
03 = sempre forçar desafio
Available options:
01, 02, 03, 04 ⌘I

