curl --request GET \
--url https://api-sandbox.rinne.com.br/core/v1/merchants/{merchantId}/3ds-sessions/{sessionId} \
--header 'x-api-key: <api-key>'import requests
url = "https://api-sandbox.rinne.com.br/core/v1/merchants/{merchantId}/3ds-sessions/{sessionId}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api-sandbox.rinne.com.br/core/v1/merchants/{merchantId}/3ds-sessions/{sessionId}', 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.rinne.com.br/core/v1/merchants/{merchantId}/3ds-sessions/{sessionId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api-sandbox.rinne.com.br/core/v1/merchants/{merchantId}/3ds-sessions/{sessionId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-sandbox.rinne.com.br/core/v1/merchants/{merchantId}/3ds-sessions/{sessionId}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.rinne.com.br/core/v1/merchants/{merchantId}/3ds-sessions/{sessionId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "550e8400-e29b-41d4-a716-446655440000",
"tds_session_id": "tds_visa_e7c2yfa3867c",
"card_id": "123e4567-e89b-12d3-a456-426614174000",
"auth_status": "AUTHENTICATED",
"consumption_status": "NOT_CONSUMED",
"amount": 10000,
"currency": "BRL",
"failure_reason": null,
"liability_shift": true,
"authentication_flow": "frictionless",
"expires_at": "2026-02-06T20:35:00.000Z",
"created_at": "2026-02-06T19:35:00.000Z",
"updated_at": "2026-02-06T19:35:00.000Z"
}{
"error": {
"code": "AUTHENTICATION_ERROR",
"message": "Authentication required to access this resource",
"status": 401,
"details": {
"reason": "Invalid API key"
},
"path": "/companies/me",
"timestamp": "2023-12-01T10:00:00.000Z",
"requestId": "req_123456789"
}
}{
"error": {
"code": "AUTHORIZATION_ERROR",
"message": "You need 'admin' permissions to access this resource",
"status": 403,
"path": "/companies",
"timestamp": "2023-12-01T10:00:00.000Z",
"requestId": "req_123456789"
}
}{
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Company with ID '123' not found",
"status": 404,
"path": "/companies/me",
"timestamp": "2023-12-01T10:00:00.000Z",
"requestId": "req_123456789"
}
}{
"error": {
"code": "INTEGRATION_ERROR",
"message": "Integration error with provider CELCOIN",
"status": 502,
"path": "/merchants/{merchantId}/balance",
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>",
"details": {}
}
}Get a 3D Secure session of a merchant
Returns a 3D Secure session with its current auth_status. Use it server-side to
confirm the outcome of a challenge the cardholder completed in the client-side SDK,
for example after saving a card with no charge.
Requires the merchant.3ds.view permission.
When to call: once, after the SDK’s onSuccess, onFailure or onError
callback fires — not in a loop. While the session is ACTION_REQUIRED, the status
is re-read from the 3DS provider before responding, so a challenge completed since
creation is reflected here. AUTHENTICATED and FAILED are final and returned as
stored.
Verifying a saved card: create the session with card.card_id, then check that
the card_id returned here is the card you saved. A session created with inline
card data returns card_id: null.
AUTHENTICATED is not always an authenticated cardholder: with
authentication_flow: attempt, the cardholder was not authenticated and only proof
of the authentication attempt exists.
curl --request GET \
--url https://api-sandbox.rinne.com.br/core/v1/merchants/{merchantId}/3ds-sessions/{sessionId} \
--header 'x-api-key: <api-key>'import requests
url = "https://api-sandbox.rinne.com.br/core/v1/merchants/{merchantId}/3ds-sessions/{sessionId}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api-sandbox.rinne.com.br/core/v1/merchants/{merchantId}/3ds-sessions/{sessionId}', 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.rinne.com.br/core/v1/merchants/{merchantId}/3ds-sessions/{sessionId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api-sandbox.rinne.com.br/core/v1/merchants/{merchantId}/3ds-sessions/{sessionId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-sandbox.rinne.com.br/core/v1/merchants/{merchantId}/3ds-sessions/{sessionId}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.rinne.com.br/core/v1/merchants/{merchantId}/3ds-sessions/{sessionId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "550e8400-e29b-41d4-a716-446655440000",
"tds_session_id": "tds_visa_e7c2yfa3867c",
"card_id": "123e4567-e89b-12d3-a456-426614174000",
"auth_status": "AUTHENTICATED",
"consumption_status": "NOT_CONSUMED",
"amount": 10000,
"currency": "BRL",
"failure_reason": null,
"liability_shift": true,
"authentication_flow": "frictionless",
"expires_at": "2026-02-06T20:35:00.000Z",
"created_at": "2026-02-06T19:35:00.000Z",
"updated_at": "2026-02-06T19:35:00.000Z"
}{
"error": {
"code": "AUTHENTICATION_ERROR",
"message": "Authentication required to access this resource",
"status": 401,
"details": {
"reason": "Invalid API key"
},
"path": "/companies/me",
"timestamp": "2023-12-01T10:00:00.000Z",
"requestId": "req_123456789"
}
}{
"error": {
"code": "AUTHORIZATION_ERROR",
"message": "You need 'admin' permissions to access this resource",
"status": 403,
"path": "/companies",
"timestamp": "2023-12-01T10:00:00.000Z",
"requestId": "req_123456789"
}
}{
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Company with ID '123' not found",
"status": 404,
"path": "/companies/me",
"timestamp": "2023-12-01T10:00:00.000Z",
"requestId": "req_123456789"
}
}{
"error": {
"code": "INTEGRATION_ERROR",
"message": "Integration error with provider CELCOIN",
"status": 502,
"path": "/merchants/{merchantId}/balance",
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>",
"details": {}
}
}Authorizations
Company API key for authentication
Path Parameters
Merchant/Company ID
"123e4567-e89b-12d3-a456-426614174000"
3DS session ID (id from the create response)
"550e8400-e29b-41d4-a716-446655440000"
Response
The 3DS session
Internal 3DS session ID (use as three_d_secure_session_id when creating a transaction)
"550e8400-e29b-41d4-a716-446655440000"
Provider session ID (use with the client-side SDK for challenge flows)
"tds_visa_e7c2yfa3867c"
The stored card this session authenticated, or null when the card was
sent inline. When both this and the transaction's card_data.card_id are
set, they must match or the transaction is rejected.
"123e4567-e89b-12d3-a456-426614174000"
Current authentication status:
ACTION_REQUIRED: Cardholder must complete 3DS challengeAUTHENTICATED: Authentication successful (frictionless or completed challenge), or only attempted: withauthentication_flow: attemptthe cardholder was not authenticated and only proof of the attempt existsFAILED: Authentication failed
ACTION_REQUIRED, AUTHENTICATED, FAILED "AUTHENTICATED"
Whether this session has been used for a transaction:
NOT_CONSUMED: Available for usePROCESSING: Currently being used (atomic claim)CONSUMED: Already used for a transaction
NOT_CONSUMED, PROCESSING, CONSUMED "NOT_CONSUMED"
Amount in minor units (cents)
10000
ISO 4217 currency code
"BRL"
Reason for authentication failure (only present when auth_status is FAILED)
null
Whether liability has shifted to the issuer
true
3DS authentication flow type (frictionless, challenge, attempt). attempt
comes with auth_status: AUTHENTICATED, but the cardholder was not
authenticated: only proof of the authentication attempt exists.
"frictionless"
Session expiration time
"2026-02-06T20:35:00.000Z"
"2026-02-06T19:35:00.000Z"
"2026-02-06T19:35:00.000Z"

