curl --fail -X GET 'https://verification.didit.me/v3/organization/11111111-2222-3333-4444-555555555555/application/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/transactions/abcdef12-3456-7890-abcd-ef1234567890/pdf/' \
-H 'x-api-key: YOUR_API_KEY' \
--output transaction_report.pdffrom didit import Didit
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
client = Didit()
content = client.transactions.generate_pdf(
"abcdef12-3456-7890-abcd-ef1234567890",
)
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.transactions.generatePdf("abcdef12-3456-7890-abcd-ef1234567890");
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.Transactions.GeneratePDF(ctx, "abcdef12-3456-7890-abcd-ef1234567890")
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.transactions().generatePdf("abcdef12-3456-7890-abcd-ef1234567890")
.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->transactions->generatePdf('abcdef12-3456-7890-abcd-ef1234567890');
$content->saveTo('download.pdf');require "didit"
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
didit = Didit::Client.new
content = didit.transactions.generate_pdf("abcdef12-3456-7890-abcd-ef1234567890")
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.Transactions.GeneratePdfAsync("abcdef12-3456-7890-abcd-ef1234567890");
await content.SaveToAsync("download.pdf");取引PDFレポートAPI
DiditのManagement APIで、モニタリング対象の取引をPDFレポートとしてダウンロードできます。判定、当事者、アラート、ルール実行結果、スクリーニング結果、関連取引を含みます。
curl --fail -X GET 'https://verification.didit.me/v3/organization/11111111-2222-3333-4444-555555555555/application/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/transactions/abcdef12-3456-7890-abcd-ef1234567890/pdf/' \
-H 'x-api-key: YOUR_API_KEY' \
--output transaction_report.pdffrom didit import Didit
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
client = Didit()
content = client.transactions.generate_pdf(
"abcdef12-3456-7890-abcd-ef1234567890",
)
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.transactions.generatePdf("abcdef12-3456-7890-abcd-ef1234567890");
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.Transactions.GeneratePDF(ctx, "abcdef12-3456-7890-abcd-ef1234567890")
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.transactions().generatePdf("abcdef12-3456-7890-abcd-ef1234567890")
.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->transactions->generatePdf('abcdef12-3456-7890-abcd-ef1234567890');
$content->saveTo('download.pdf');require "didit"
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
didit = Didit::Client.new
content = didit.transactions.generate_pdf("abcdef12-3456-7890-abcd-ef1234567890")
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.Transactions.GeneratePdfAsync("abcdef12-3456-7890-abcd-ef1234567890");
await content.SaveToAsync("download.pdf");403が返されます。承認
お客様のアプリケーションのAPIキーです。Business ConsoleのDevelopers -> API keysで取得できます。プライマリキーはフルアクセス権を持ちます。名前付きキーにはスコープを設定できます。リソースごとのアクセス権(なし、読み取り、書き込み)、一部のワークフローまたは承認済みセッションへの限定、IPアドレスのリストへの限定、有効期限の設定です。401は、キーが誤っている、失効している、または期限切れであることを意味します。403は、キーが送信されていない、キーにこのリソースやアクションへのアクセス権がない、またはIPリスト外のアドレスからリクエストが送信されたことを意味します。セッションのルートでの404は、セッションがキーのワークフローまたはステータスの対象外であることを意味します。メディアへのアクセス権がないキーでは、画像、動画、PDFのURLがnullで返されます。セッションの書き込み権限がないキーでは、セッションのリンクとトークンがnullで返されます。詳細は次を参照してください: https://docs.didit.me/console/api-keys
パスパラメータ
組織のUUIDです。
アプリケーションのUUID。APIキーが属するアプリケーションである必要があります。他のアプリケーションでキーを使用すると403が返されます。
Diditの取引UUIDで、POST /v3/transactions/およびGET /v3/transactions/が返すuuidです。独自のtxn_idは受け付けられません。
レスポンス
レンダリングされたPDF。バイナリのapplication/pdfとして直接返されます。
The response is of type file.