curl
curl -X POST https://verification.didit.me/v3/travel-rule/pickup/{token}/respond/ \
-H 'Content-Type: application/json' \
-d '{"decision": "accept", "beneficiary_name": "Carlos Ruiz"}'import requests
url = "https://verification.didit.me/v3/travel-rule/pickup/{token}/respond/"
payload = {
"decision": "accept",
"beneficiary_name": "Carlos Ruiz"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({decision: 'accept', beneficiary_name: 'Carlos Ruiz'})
};
fetch('https://verification.didit.me/v3/travel-rule/pickup/{token}/respond/', 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}/respond/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'decision' => 'accept',
'beneficiary_name' => 'Carlos Ruiz'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://verification.didit.me/v3/travel-rule/pickup/{token}/respond/"
payload := strings.NewReader("{\n \"decision\": \"accept\",\n \"beneficiary_name\": \"Carlos Ruiz\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://verification.didit.me/v3/travel-rule/pickup/{token}/respond/")
.header("Content-Type", "application/json")
.body("{\n \"decision\": \"accept\",\n \"beneficiary_name\": \"Carlos Ruiz\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://verification.didit.me/v3/travel-rule/pickup/{token}/respond/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"decision\": \"accept\",\n \"beneficiary_name\": \"Carlos Ruiz\"\n}"
response = http.request(request)
puts response.read_body{
"status": "COMPLETED"
}Travel Rule
回复邮件提取 API:Travel Rule 邮件通道
通过一次性邮件提取链接接受或拒绝 Travel Rule 交易,并提供收款人姓名用于汇款人姓名比对。Didit 支持该流程。
POST
/
v3
/
travel-rule
/
pickup
/
{token}
/
respond
/
curl
curl -X POST https://verification.didit.me/v3/travel-rule/pickup/{token}/respond/ \
-H 'Content-Type: application/json' \
-d '{"decision": "accept", "beneficiary_name": "Carlos Ruiz"}'import requests
url = "https://verification.didit.me/v3/travel-rule/pickup/{token}/respond/"
payload = {
"decision": "accept",
"beneficiary_name": "Carlos Ruiz"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({decision: 'accept', beneficiary_name: 'Carlos Ruiz'})
};
fetch('https://verification.didit.me/v3/travel-rule/pickup/{token}/respond/', 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}/respond/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'decision' => 'accept',
'beneficiary_name' => 'Carlos Ruiz'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://verification.didit.me/v3/travel-rule/pickup/{token}/respond/"
payload := strings.NewReader("{\n \"decision\": \"accept\",\n \"beneficiary_name\": \"Carlos Ruiz\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://verification.didit.me/v3/travel-rule/pickup/{token}/respond/")
.header("Content-Type", "application/json")
.body("{\n \"decision\": \"accept\",\n \"beneficiary_name\": \"Carlos Ruiz\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://verification.didit.me/v3/travel-rule/pickup/{token}/respond/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"decision\": \"accept\",\n \"beneficiary_name\": \"Carlos Ruiz\"\n}"
response = http.request(request)
puts response.read_body{
"status": "COMPLETED"
}路径参数
查询参数
链接的 ?contact= 值。在请求体未发送 contact 时使用。
请求体
application/json
可用选项:
accept, decline 您记录中保存的收款人姓名,已通过汇款方 VASP 的姓名规则处理。若 ivms_response 中指明了收款人,则以其为准。
Maximum string length:
255您拒绝的原因。记录在发送方 VASP 的转账时间线上。如果您未提供原因,则为空(默认值)。
可用选项:
, data_mismatch, not_our_customer, wallet_not_hosted, sanctions, risk_appetite, jurisdiction, insufficient_data, other 自由格式文本;当 decision 为 decline 且 decline_reason 为 other 时必填。
Maximum string length:
512您完整的 IVMS 101 响应。其中的收款人姓名优先级高于 beneficiary_name。
链接发送到的联系人,取自链接的 ?contact= 值。当请求体中省略时,使用 contact 查询参数。
最后修改于 2026年11月7日