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"
}ステップアップのステータス取得 | Didit Authentication API
DiditのGET /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などのアプリケーションのissuerから提供され、DiditのAPIキーは受け付けません。404が返されます。pendingのステップアップは、30分が経過するとexpiredになります。承認
POST /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
支払額(小数点以下2桁)。
"900.00"
"USD"
"2026-10-17T10:41:14.894632Z"
null
作成から30分後。ステップアップを読み取ると、まずその検証で得られた結果が取得されるため、この時間を過ぎてもapproved、review、declinedと読み取られる場合があります。まだpendingのものはexpiredと読み取られます。
"2026-10-17T11:11:14.894581Z"