Create verification update session
curl --request POST \
--url https://api.blockradar.co/v1/customers/{customerId}/onboarding-requests/{caseId}/update-session \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"force": false
}'import requests
url = "https://api.blockradar.co/v1/customers/{customerId}/onboarding-requests/{caseId}/update-session"
payload = { "force": 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({force: false})
};
fetch('https://api.blockradar.co/v1/customers/{customerId}/onboarding-requests/{caseId}/update-session', 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.blockradar.co/v1/customers/{customerId}/onboarding-requests/{caseId}/update-session",
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([
'force' => 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://api.blockradar.co/v1/customers/{customerId}/onboarding-requests/{caseId}/update-session"
payload := strings.NewReader("{\n \"force\": false\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://api.blockradar.co/v1/customers/{customerId}/onboarding-requests/{caseId}/update-session")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"force\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.blockradar.co/v1/customers/{customerId}/onboarding-requests/{caseId}/update-session")
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 \"force\": false\n}"
response = http.request(request)
puts response.read_body{
"status": true,
"data": {
"customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"case": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"businessId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"providerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subjectType": "customer",
"status": "draft",
"mode": "api_only",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"feature": "<string>",
"providerReference": "<string>",
"routeIntent": {},
"data": {},
"hostedSessions": [
{}
],
"reason": "<string>",
"metadata": {},
"actions": [
{}
],
"availableActions": [
"edit_and_resubmit"
]
},
"updateSession": {
"session": {
"sessionType": "<string>",
"title": "<string>",
"redirectUrl": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"callbackUrl": "<string>",
"providerSessionReference": "<string>",
"submittedAt": "2023-11-07T05:31:56Z"
},
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"verificationStatus": "draft"
},
"reused": true
},
"message": "<string>"
}{
"statusCode": 123,
"message": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"statusCode": 123,
"message": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"statusCode": 409,
"message": "The provider did not issue a verification update link. Please contact support for assistance.",
"code": "conflict",
"requestId": "00000000-0000-4000-8000-000000000001"
}{
"statusCode": 123,
"message": "<string>",
"code": "<string>",
"requestId": "<string>"
}Onboarding
Create verification update session
Request a hosted verification update link for an approved customer onboarding case when availableActions includes create_update_session. Reuses the existing provider customer reference. Creating a link preserves case approval and existing provider access; it does not enable additional rails. Provider support and link availability are checked by the server.
POST
/
v1
/
customers
/
{customerId}
/
onboarding-requests
/
{caseId}
/
update-session
Create verification update session
curl --request POST \
--url https://api.blockradar.co/v1/customers/{customerId}/onboarding-requests/{caseId}/update-session \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"force": false
}'import requests
url = "https://api.blockradar.co/v1/customers/{customerId}/onboarding-requests/{caseId}/update-session"
payload = { "force": 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({force: false})
};
fetch('https://api.blockradar.co/v1/customers/{customerId}/onboarding-requests/{caseId}/update-session', 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.blockradar.co/v1/customers/{customerId}/onboarding-requests/{caseId}/update-session",
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([
'force' => 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://api.blockradar.co/v1/customers/{customerId}/onboarding-requests/{caseId}/update-session"
payload := strings.NewReader("{\n \"force\": false\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://api.blockradar.co/v1/customers/{customerId}/onboarding-requests/{caseId}/update-session")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"force\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.blockradar.co/v1/customers/{customerId}/onboarding-requests/{caseId}/update-session")
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 \"force\": false\n}"
response = http.request(request)
puts response.read_body{
"status": true,
"data": {
"customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"case": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"businessId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"providerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subjectType": "customer",
"status": "draft",
"mode": "api_only",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"feature": "<string>",
"providerReference": "<string>",
"routeIntent": {},
"data": {},
"hostedSessions": [
{}
],
"reason": "<string>",
"metadata": {},
"actions": [
{}
],
"availableActions": [
"edit_and_resubmit"
]
},
"updateSession": {
"session": {
"sessionType": "<string>",
"title": "<string>",
"redirectUrl": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"callbackUrl": "<string>",
"providerSessionReference": "<string>",
"submittedAt": "2023-11-07T05:31:56Z"
},
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"verificationStatus": "draft"
},
"reused": true
},
"message": "<string>"
}{
"statusCode": 123,
"message": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"statusCode": 123,
"message": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"statusCode": 409,
"message": "The provider did not issue a verification update link. Please contact support for assistance.",
"code": "conflict",
"requestId": "00000000-0000-4000-8000-000000000001"
}{
"statusCode": 123,
"message": "<string>",
"code": "<string>",
"requestId": "<string>"
}Solicite un enlace para un caso de cliente aprobado solo cuando
Por defecto se reutiliza una sesión no caducada en estado
data.case.availableActions incluya create_update_session. La capacidad la declara el backend; no codifique nombres de proveedores.
{"force": false}
created. Envíe force: true para solicitar un reemplazo. Las sesiones caducadas, sin caducidad conocida o en otro estado se regeneran. Esto no garantiza que el proveedor revoque un enlace anterior.
Use data.updateSession.session.redirectUrl para abrir o copiar el enlace y expiresAt para la caducidad (puede ser null). Muestre data.updateSession.status separado de data.case.status. El estado de verificación devuelto por el proveedor está en data.updateSession.verificationStatus. La sesión también se guarda en data.case.metadata.verificationUpdateSession.
created → in_review / action_required → completed / rejected
Crear el enlace conserva la referencia del cliente, la aprobación, el acceso al proveedor y los pasos y acciones originales. No envía datos de prellenado ni solicitudes de reinicio y no activa nuevas vías de pago. El proveedor decide qué información solicita.
Los callbacks y webhooks actualizan el caso existente. Un rechazo general del proveedor desactiva la relación cliente/proveedor. La revisión o aprobación no activa automáticamente nuevas vías.
El proveedor puede confirmar la aprobación o revisión sin emitir un enlace. El endpoint devuelve HTTP 409 con el mensaje “The provider did not issue a verification update link. Please contact support for assistance.” No muestre un enlace listo ni reintente indefinidamente. Actualizar el estado y reabrir siguen siendo operaciones distintas.Parámetros de ruta
Cuerpo
application/json

