curl --fail -X GET 'https://verification.didit.me/v3/organization/11111111-2222-3333-4444-555555555555/application/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/businesses/22222222-3333-4444-5555-666666666666/pdf/' \
-H 'x-api-key: YOUR_API_KEY' \
--output business_report.pdffrom didit import Didit
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
client = Didit()
content = client.businesses.generate_session_pdf(
"22222222-3333-4444-5555-666666666666",
)
with open("download.pdf", "wb") as file:
file.write(content)import { writeFile } from "node:fs/promises";
import Didit from "@didit-protocol/sdk-node";
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
const didit = new Didit();
const content = await didit.businesses.generateSessionPdf("22222222-3333-4444-5555-666666666666");
await writeFile("download.pdf", Buffer.from(await content.arrayBuffer()));ctx := context.Background()
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
client := didit.NewClient()
resp, err := client.Businesses.GenerateSessionPDF(ctx, "22222222-3333-4444-5555-666666666666")
if err != nil {
log.Fatal(err)
}
defer resp.Body.Close()
file, err := os.Create("download.pdf")
if err != nil {
log.Fatal(err)
}
defer file.Close()
if _, err := io.Copy(file, resp.Body); err != nil {
log.Fatal(err)
}import java.nio.file.Path;
import me.didit.Didit;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
Didit client = new Didit();
client.businesses().generateSessionPdf("22222222-3333-4444-5555-666666666666")
.writeTo(Path.of("download.pdf"));<?php
require 'vendor/autoload.php';
use Didit\DiditClient;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
$didit = new DiditClient();
$content = $didit->businesses->generateSessionPdf('22222222-3333-4444-5555-666666666666');
$content->saveTo('download.pdf');require "didit"
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
didit = Didit::Client.new
content = didit.businesses.generate_session_pdf("22222222-3333-4444-5555-666666666666")
File.binwrite("download.pdf", content)using System;
using Didit;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
using var client = new DiditClient();
var content = await client.Businesses.GenerateSessionPdfAsync("22222222-3333-4444-5555-666666666666");
await content.SaveToAsync("download.pdf");"<string>"기업 확인(KYB) 세션 PDF API
Didit에서 완료된 기업 확인(KYB) 세션 하나의 PDF 보고서를 다운로드합니다. 법인 등기부 정보, 주요 인물, 실소유자, 문서, AML 및 검토 내용을 포함합니다.
curl --fail -X GET 'https://verification.didit.me/v3/organization/11111111-2222-3333-4444-555555555555/application/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/businesses/22222222-3333-4444-5555-666666666666/pdf/' \
-H 'x-api-key: YOUR_API_KEY' \
--output business_report.pdffrom didit import Didit
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
client = Didit()
content = client.businesses.generate_session_pdf(
"22222222-3333-4444-5555-666666666666",
)
with open("download.pdf", "wb") as file:
file.write(content)import { writeFile } from "node:fs/promises";
import Didit from "@didit-protocol/sdk-node";
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
const didit = new Didit();
const content = await didit.businesses.generateSessionPdf("22222222-3333-4444-5555-666666666666");
await writeFile("download.pdf", Buffer.from(await content.arrayBuffer()));ctx := context.Background()
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
client := didit.NewClient()
resp, err := client.Businesses.GenerateSessionPDF(ctx, "22222222-3333-4444-5555-666666666666")
if err != nil {
log.Fatal(err)
}
defer resp.Body.Close()
file, err := os.Create("download.pdf")
if err != nil {
log.Fatal(err)
}
defer file.Close()
if _, err := io.Copy(file, resp.Body); err != nil {
log.Fatal(err)
}import java.nio.file.Path;
import me.didit.Didit;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
Didit client = new Didit();
client.businesses().generateSessionPdf("22222222-3333-4444-5555-666666666666")
.writeTo(Path.of("download.pdf"));<?php
require 'vendor/autoload.php';
use Didit\DiditClient;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
$didit = new DiditClient();
$content = $didit->businesses->generateSessionPdf('22222222-3333-4444-5555-666666666666');
$content->saveTo('download.pdf');require "didit"
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
didit = Didit::Client.new
content = didit.businesses.generate_session_pdf("22222222-3333-4444-5555-666666666666")
File.binwrite("download.pdf", content)using System;
using Didit;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
using var client = new DiditClient();
var content = await client.Businesses.GenerateSessionPdfAsync("22222222-3333-4444-5555-666666666666");
await content.SaveToAsync("download.pdf");"<string>"Approved, Declined 또는 In Review 상태가 된 후에만 사용할 수 있습니다. 보고서를 요청하기 전에 status.updated webhook을 기다리십시오.관련 문서
인증
Business Console의 Developers -> API keys에서 발급받은 귀하 애플리케이션의 API 키입니다. 기본 키는 전체 접근 권한을 갖습니다. 이름이 지정된 키는 리소스별 none, read, write 범위로 권한을 제한할 수 있으며 특정 워크플로나 승인된 세션, IP 주소 목록, 만료일 등으로 제한할 수도 있습니다. 401은 키가 잘못되었거나 폐기되었거나 만료되었음을 의미합니다. 403은 키가 전송되지 않았거나, 키에 해당 리소스나 작업에 대한 접근 권한이 없거나, 요청이 허용된 IP 목록 외부 주소에서 발생했음을 의미합니다. 세션 경로에서의 404는 해당 세션이 키의 허용 워크플로 또는 상태 범위를 벗어났음을 의미합니다. 미디어 접근 권한이 없는 키는 이미지, 비디오, PDF URL을 null로 수신하며, 세션 write 권한이 없는 키는 세션 링크와 token을 null로 수신합니다. https://docs.didit.me/console/api-keys 를 참고하십시오.
경로 매개변수
조직 UUID입니다.
애플리케이션 UUID입니다. API 키가 속한 애플리케이션이어야 합니다. 다른 애플리케이션에 사용된 키는 403을 받습니다.
세션 생성 시 반환된 기업 확인(KYB) 세션의 session_id입니다. 다른 애플리케이션의 세션인 경우 404를 반환합니다.
응답
렌더링된 PDF로, 바이너리 application/pdf 형식으로 직접 반환됩니다.
The response is of type file.