curl
curl https://verification.didit.me/v3/travel-rule/pickup/{token}/messages/import requests
url = "https://verification.didit.me/v3/travel-rule/pickup/{token}/messages/"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://verification.didit.me/v3/travel-rule/pickup/{token}/messages/', 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/pickup/{token}/messages/",
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/pickup/{token}/messages/"
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/pickup/{token}/messages/")
.asString();require 'uri'
require 'net/http'
url = URI("https://verification.didit.me/v3/travel-rule/pickup/{token}/messages/")
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[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "MESSAGE",
"direction": "INBOUND",
"author": "<string>",
"body": "<string>",
"requested_documents": [
"<string>"
],
"reply_to": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fulfilled_at": "2023-11-07T05:31:56Z",
"attachment": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"note": "<string>",
"uploaded_by": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"files": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"file_url": "<string>",
"original_filename": "<string>",
"file_size": 123
}
]
},
"created_at": "2023-11-07T05:31:56Z"
}
]Travel Rule
列出取件消息 API - Travel Rule 邮件通道
通过交易对手 VASP 一侧的取件链接,读取 Didit 邮件通道 Travel Rule 转账的消息。
GET
/
v3
/
travel-rule
/
pickup
/
{token}
/
messages
/
curl
curl https://verification.didit.me/v3/travel-rule/pickup/{token}/messages/import requests
url = "https://verification.didit.me/v3/travel-rule/pickup/{token}/messages/"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://verification.didit.me/v3/travel-rule/pickup/{token}/messages/', 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/pickup/{token}/messages/",
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/pickup/{token}/messages/"
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/pickup/{token}/messages/")
.asString();require 'uri'
require 'net/http'
url = URI("https://verification.didit.me/v3/travel-rule/pickup/{token}/messages/")
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[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "MESSAGE",
"direction": "INBOUND",
"author": "<string>",
"body": "<string>",
"requested_documents": [
"<string>"
],
"reply_to": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fulfilled_at": "2023-11-07T05:31:56Z",
"attachment": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"note": "<string>",
"uploaded_by": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"files": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"file_url": "<string>",
"original_filename": "<string>",
"file_size": 123
}
]
},
"created_at": "2023-11-07T05:31:56Z"
}
]路径参数
响应
来自交易对手方的消息,按时间从旧到新排序。
可用选项:
MESSAGE, DOCUMENT_REQUEST OUTBOUND 是读取方自身发送的内容。在 pickup 门户中,方向是来自交易对手一方。
可用选项:
INBOUND, OUTBOUND 在其所属方写入该内容的主体:控制台用户的邮箱、API 密钥标签,或对方 VASP 的名称。
DOCUMENT_REQUEST 所请求的内容,以请求者的措辞描述。
一旦对 DOCUMENT_REQUEST 的回复携带了证件,便会在该请求上设置。
附加到消息的证件,像任何其他交易证件一样存储。
Show child attributes
Show child attributes
最后修改于 2026年11月7日