curl
curl 'https://verification.didit.me/v3/travel-rule/widget/{token}/vasps/?search=counterparty'import requests
url = "https://verification.didit.me/v3/travel-rule/widget/{token}/vasps/"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://verification.didit.me/v3/travel-rule/widget/{token}/vasps/', 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://verification.didit.me/v3/travel-rule/widget/{token}/vasps/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://verification.didit.me/v3/travel-rule/widget/{token}/vasps/"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://verification.didit.me/v3/travel-rule/widget/{token}/vasps/")
.asString();require 'uri'
require 'net/http'
url = URI("https://verification.didit.me/v3/travel-rule/widget/{token}/vasps/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"count": 123,
"next": "<string>",
"previous": "<string>",
"results": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "directory",
"name": "<string>",
"lei": "<string>",
"jurisdiction": "<string>",
"domains": [
"<string>"
],
"reachable": true
}
]
}{
"jurisdiction": [
"Use an ISO 3166 alpha-2 or alpha-3 country code."
],
"network": [
"\"SWIFT\" is not a valid choice."
]
}Travel Rule
VASP 选择器 API:Travel Rule 目录搜索
Didit 提供基于 token 的 VASP 搜索接口,为钱包组件的 VASP 选择器提供数据,显示每个 VASP 的基本信息及其是否可达。
GET
/
v3
/
travel-rule
/
widget
/
{token}
/
vasps
/
curl
curl 'https://verification.didit.me/v3/travel-rule/widget/{token}/vasps/?search=counterparty'import requests
url = "https://verification.didit.me/v3/travel-rule/widget/{token}/vasps/"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://verification.didit.me/v3/travel-rule/widget/{token}/vasps/', 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://verification.didit.me/v3/travel-rule/widget/{token}/vasps/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://verification.didit.me/v3/travel-rule/widget/{token}/vasps/"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://verification.didit.me/v3/travel-rule/widget/{token}/vasps/")
.asString();require 'uri'
require 'net/http'
url = URI("https://verification.didit.me/v3/travel-rule/widget/{token}/vasps/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"count": 123,
"next": "<string>",
"previous": "<string>",
"results": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "directory",
"name": "<string>",
"lei": "<string>",
"jurisdiction": "<string>",
"domains": [
"<string>"
],
"reachable": true
}
]
}{
"jurisdiction": [
"Use an ISO 3166 alpha-2 or alpha-3 country code."
],
"network": [
"\"SWIFT\" is not a valid choice."
]
}路径参数
生成 widget 会话时返回的不透明会话 token。
查询参数
名称或别名片段(不区分大小写)、精确的 LEI 或域名(example.com 或其上的 URL)。Didit 网络成员通过其法定名称、LEI 或合规邮箱的域名进行匹配。
Maximum string length:
255仅包含网络成员目录当前列出的目录条目。
可用选项:
GTR, TRUST, VERIFYVASP, SYGNA, TRISA ISO 3166 alpha-2 或 alpha-3 国家/地区代码。任何其他代码均返回 400。
true:仅返回您的应用拥有可用路由的 VASP(包括 Didit 网络成员)。false:仅返回当前无法送达的目录条目。
仅目录条目,或仅 Didit 网络成员。
可用选项:
directory, didit 必填范围:
x >= 1必填范围:
x >= 0最后修改于 2026年11月7日