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 = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', '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",
"x-api-key: <api-key>"
],
]);
$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("x-api-key", "<api-key>")
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("x-api-key", "<api-key>")
.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["x-api-key"] = '<api-key>'
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
Respond to Email Pickup
Public, unauthenticated. Accepts or declines the exchange from the emailed pickup link. On accept, beneficiary_name is checked against the originator’s name_matching_strictness policy.
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 = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', '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",
"x-api-key: <api-key>"
],
]);
$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("x-api-key", "<api-key>")
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("x-api-key", "<api-key>")
.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["x-api-key"] = '<api-key>'
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"
}Authorizations
Path Parameters
Body
application/json
Response
The resulting exchange status.
⌘I