curl --request GET \
--url https://{issuer}/step-up/{step_up_id}/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://{issuer}/step-up/{step_up_id}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{issuer}/step-up/{step_up_id}/', 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://{issuer}/step-up/{step_up_id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://{issuer}/step-up/{step_up_id}/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{issuer}/step-up/{step_up_id}/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{issuer}/step-up/{step_up_id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "94efc2c3-ca84-42fe-900b-6fb61669a7a1",
"rule": "payout",
"method": "selfie",
"status": "approved",
"level": "liveness_face_match",
"amount": "900.00",
"currency": "USD",
"created_at": "2026-10-17T10:41:14.894632Z",
"completed_at": "2026-10-17T10:43:02.118204Z",
"expires_at": "2026-10-17T11:11:14.894581Z"
}Step-Up स्थिति प्राप्त करें | Didit Authentication API
Didit का GET /step-up// step-up की स्थिति, विधि और स्तर लौटाता है। संवेदनशील कार्रवाई तभी करें जब स्थिति स्वीकृत हो।
curl --request GET \
--url https://{issuer}/step-up/{step_up_id}/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://{issuer}/step-up/{step_up_id}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{issuer}/step-up/{step_up_id}/', 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://{issuer}/step-up/{step_up_id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://{issuer}/step-up/{step_up_id}/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{issuer}/step-up/{step_up_id}/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{issuer}/step-up/{step_up_id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "94efc2c3-ca84-42fe-900b-6fb61669a7a1",
"rule": "payout",
"method": "selfie",
"status": "approved",
"level": "liveness_face_match",
"amount": "900.00",
"currency": "USD",
"created_at": "2026-10-17T10:41:14.894632Z",
"completed_at": "2026-10-17T10:43:02.118204Z",
"expires_at": "2026-10-17T11:11:14.894581Z"
}https://<name>.auth.didit.me, और ये कभी आपकी Didit API कुंजी स्वीकार नहीं करते।404 लौटाता है। 30 मिनट बीत जाने के बाद pending स्टेप-अप की स्थिति expired हो जाती है।प्राधिकरण
POST /token/ से व्यक्ति का एक्सेस token: हेडर typ: at+jwt वाला एक ES256 JWT, जो अधिकतम 5 मिनट के लिए मान्य है। यह आपकी Didit API कुंजी नहीं है।
पथ पैरामीटर
POST /step-up/ से प्राप्त id, आपके return_to पर step_up क्वेरी पैरामीटर भी। जो मान UUID नहीं है, उसे JSON नहीं बल्कि 404 पेज मिलता है।
प्रतिक्रिया
स्टेप-अप।
एक सत्यापन जिसे व्यक्ति को कार्रवाई से पहले पास करना होगा।
"94efc2c3-ca84-42fe-900b-6fb61669a7a1"
वह नियम जिसने इसका अनुरोध किया था। जब कई लागू होते हैं, तो सबसे मजबूत विधि वाला नियम।
payout, device, bank, contact "payout"
व्यक्ति क्या करता है: liveness, selfie (Didit के पास पहले से मौजूद चेहरे से मेल खाने वाली लाइवनेस) या full_id (दस्तावेज़ और सेल्फ़ी)। जब Didit के पास उस व्यक्ति का कोई चेहरा मौजूद नहीं होता है, तो उनके द्वारा verification_url खोलने पर selfie बदलकर full_id हो जाता है।
liveness, selfie, full_id "selfie"
केवल approved पर कार्रवाई करें। review आपकी टीम की समीक्षा की प्रतीक्षा करता है। जब तक verification_url काम कर रहा है, declined अंतिम नहीं है: व्यक्ति पुनः प्रयास कर सकता है, और स्टेप-अप pending पर वापस आ जाता है। superseded का अर्थ है कि किसी अन्य जांच ने इसके सत्यापन का कार्यभार संभाल लिया है, या परिणाम इस स्टेप-अप के लिए नहीं था: एक नया बनाएं।
pending, review, approved, declined, expired, superseded "pending"
एक बार स्वीकृत होने के बाद, सत्यापन जिस स्तर तक पहुँचा।
liveness, liveness_face_match, full_id, null null
पेआउट राशि, दो दशमलव स्थान।
"900.00"
"USD"
"2026-10-17T10:41:14.894632Z"
null
निर्माण के 30 मिनट बाद। स्टेप-अप को पढ़ने पर पहले कोई भी परिणाम एकत्र किया जाता है जिस तक इसका सत्यापन पहुंचा था, इसलिए यह इस समय के बाद भी approved, review या declined पढ़ सकता है; जो अभी भी pending है वह expired पढ़ता है।
"2026-10-17T11:11:14.894581Z"