Skip to main content
PUT
/
v3
/
travel-rule
/
settings
/
curl
curl -X PUT https://verification.didit.me/v3/travel-rule/settings/ \
  -H 'x-api-key: YOUR_API_KEY' -H 'Content-Type: application/json' \
  -d '{"is_enabled": true, "legal_name": "Origin CASP SL", "jurisdiction": "EU"}'
import requests

url = "https://verification.didit.me/v3/travel-rule/settings/"

payload = {
    "is_enabled": True,
    "legal_name": "Origin CASP SL",
    "jurisdiction": "EU",
    "name_matching_strictness": "DEFAULT",
    "confirmation_timeout_hours": 48,
    "timeout_outcome": "HOLD",
    "is_discoverable": True
}
headers = {
    "x-api-key": "<api-key>",
    "Content-Type": "application/json"
}

response = requests.put(url, json=payload, headers=headers)

print(response.text)
const options = {
  method: 'PUT',
  headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
  body: JSON.stringify({
    is_enabled: true,
    legal_name: 'Origin CASP SL',
    jurisdiction: 'EU',
    name_matching_strictness: 'DEFAULT',
    confirmation_timeout_hours: 48,
    timeout_outcome: 'HOLD',
    is_discoverable: true
  })
};

fetch('https://verification.didit.me/v3/travel-rule/settings/', 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/settings/",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "PUT",
  CURLOPT_POSTFIELDS => json_encode([
    'is_enabled' => true,
    'legal_name' => 'Origin CASP SL',
    'jurisdiction' => 'EU',
    'name_matching_strictness' => 'DEFAULT',
    'confirmation_timeout_hours' => 48,
    'timeout_outcome' => 'HOLD',
    'is_discoverable' => true
  ]),
  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/settings/"

	payload := strings.NewReader("{\n  \"is_enabled\": true,\n  \"legal_name\": \"Origin CASP SL\",\n  \"jurisdiction\": \"EU\",\n  \"name_matching_strictness\": \"DEFAULT\",\n  \"confirmation_timeout_hours\": 48,\n  \"timeout_outcome\": \"HOLD\",\n  \"is_discoverable\": true\n}")

	req, _ := http.NewRequest("PUT", 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.put("https://verification.didit.me/v3/travel-rule/settings/")
  .header("x-api-key", "<api-key>")
  .header("Content-Type", "application/json")
  .body("{\n  \"is_enabled\": true,\n  \"legal_name\": \"Origin CASP SL\",\n  \"jurisdiction\": \"EU\",\n  \"name_matching_strictness\": \"DEFAULT\",\n  \"confirmation_timeout_hours\": 48,\n  \"timeout_outcome\": \"HOLD\",\n  \"is_discoverable\": true\n}")
  .asString();
require 'uri'
require 'net/http'

url = URI("https://verification.didit.me/v3/travel-rule/settings/")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Put.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"is_enabled\": true,\n  \"legal_name\": \"Origin CASP SL\",\n  \"jurisdiction\": \"EU\",\n  \"name_matching_strictness\": \"DEFAULT\",\n  \"confirmation_timeout_hours\": 48,\n  \"timeout_outcome\": \"HOLD\",\n  \"is_discoverable\": true\n}"

response = http.request(request)
puts response.read_body
{
  "is_enabled": true,
  "jurisdiction": "<string>",
  "confirmation_timeout_hours": 2,
  "threshold_amount": "<string>",
  "legal_name": "<string>",
  "lei": "<string>",
  "compliance_email": "jsmith@example.com",
  "is_discoverable": true,
  "inbound_auto_accept": true,
  "allow_self_declaration": true,
  "allow_screenshot_proof": true,
  "auto_wallet_verification": true,
  "vasp_attribution_enabled": true,
  "travel_address": "<string>"
}
{
  "legal_name": [
    "legal_name is required to enable travel rule."
  ]
}

Authorizations

x-api-key
string
header
required

Body

application/json

All fields optional; PUT applies a partial update.

is_enabled
boolean
lei
string
jurisdiction
string
Maximum string length: 8
name_matching_strictness
enum<string>
Available options:
NONE,
STRICT,
DEFAULT,
FUZZY
confirmation_timeout_hours
integer
Required range: x >= 1
timeout_outcome
enum<string>
Available options:
HOLD,
REJECT,
PROCEED
compliance_email
string<email>
is_discoverable
boolean
threshold_amount
string

Decimal string. Minimum transfer amount that triggers a managed exchange.

inbound_auto_accept
boolean
allow_self_declaration
boolean
allow_screenshot_proof
boolean

When true, the wallet-ownership widget offers screenshot upload as an ownership evidence method. Default true.

auto_wallet_verification
boolean
vasp_attribution_enabled
boolean

Response

Updated settings and profile, in the same shape as GET.

is_enabled
boolean

Whether the managed Travel Rule negotiation flow is active for outbound travelRule transactions on this application.

jurisdiction
string

Your VASP's operating jurisdiction code. Default "EU".

Maximum string length: 8
name_matching_strictness
enum<string>

How strictly beneficiary names must match before a transfer can reach COMPLETED.

Available options:
NONE,
STRICT,
DEFAULT,
FUZZY
confirmation_timeout_hours
integer

Hours an AWAITING_COUNTERPARTY transfer may remain unconfirmed before the periodic sweeper expires it. Default 48.

Required range: x >= 1
timeout_outcome
enum<string>

What happens to the underlying transaction when a transfer expires. Default HOLD.

Available options:
HOLD,
REJECT,
PROCEED
threshold_amount
string

Decimal string. Minimum transfer amount that triggers a managed exchange; transfers below it resolve straight to NOT_APPLICABLE. Defaults to "0.00" (EU TFR applies no minimum amount).

Your VASP's legal name. Required (non-blank) to set is_enabled to true.

lei
string

Your Legal Entity Identifier, surfaced in the VASP directory.

compliance_email
string<email>

Compliance contact email for your VASP profile.

is_discoverable
boolean

Whether your VASP profile appears in GET /v3/travel-rule/vasps/ search results and can be reached on the INTERNAL rail. Default true.

inbound_auto_accept
boolean

When true, inbound transfers whose beneficiary wallet is a verified address-book entry with a matching name are accepted automatically, without a manual review step. Default false.

allow_self_declaration
boolean

When true, the wallet-ownership widget offers self-declaration as a fallback proof method. Default false.

allow_screenshot_proof
boolean

When true, the wallet-ownership widget offers screenshot upload as an ownership evidence method. Default true.

auto_wallet_verification
boolean

When true, submitting an outbound Travel Rule transfer that needs end-user proof of wallet control auto-mints a wallet-ownership widget session bound to the transaction and exposes it in the transaction's action_required block. Default true.

vasp_attribution_enabled
boolean

When true, an outbound Travel Rule transfer that no rail can route is attributed through blockchain analytics: the destination wallet is resolved to its owning VASP, the entity is recorded on the transfer and in the VASP directory, and the rails are re-run once with the attributed name. Default true.

travel_address
string

Read-only. Your VASP's own travel address - the encoded inbound TRP inquiry endpoint other VASPs use to reach you. Populated once your VASP profile is complete.