curl -X POST https://verification.didit.me/v3/travel-rule/wallet-addresses/import/ \
-H 'x-api-key: YOUR_API_KEY' -H 'Content-Type: application/json' \
-d '{"entries": [{"address": "0xBeneficiaryWallet01", "chain": "ETH", "holder_name": "Ana Diaz"}, {"address": "rExchangeSharedAddress01", "chain": "XRP", "memo": "104729"}]}'{
"total": 3,
"created": 2,
"existing": 1,
"duplicate": 0,
"failed": 0,
"rows": [
{
"row": 1,
"status": "existing",
"entry_id": "11111111-2222-3333-4444-555555555555",
"errors": {},
"duplicate_of_row": null
},
{
"row": 2,
"status": "created",
"entry_id": "22222222-3333-4444-5555-666666666666",
"errors": {},
"duplicate_of_row": null
},
{
"row": 3,
"status": "created",
"entry_id": "33333333-4444-5555-6666-777777777777",
"errors": {},
"duplicate_of_row": null
}
]
}{
"total": 2,
"created": 1,
"existing": 0,
"duplicate": 0,
"failed": 1,
"rows": [
{
"row": 1,
"status": "created",
"entry_id": "44444444-5555-6666-7777-888888888888",
"errors": {},
"duplicate_of_row": null
},
{
"row": 2,
"status": "failed",
"entry_id": null,
"errors": {
"address": [
"Send address, address_hash or both."
]
},
"duplicate_of_row": null
}
]
}{
"file": [
"At most 10000 rows per import."
]
}Import Wallet Addresses
Add up to 10,000 wallets to your Travel Rule address book in one call, as JSON or as a CSV file. A wallet can be sent by its address, by the SHA-256 of its lowercased address (address_hash) to keep the address private, or both. The import is idempotent: a wallet already in the book is reported as existing and left untouched, so the same file can be sent again. Each row is validated on its own, so one bad row never fails the others. A wallet imported by its hash only matches transfers to that address and can be proven with the wallet-ownership widget like any other entry.
curl -X POST https://verification.didit.me/v3/travel-rule/wallet-addresses/import/ \
-H 'x-api-key: YOUR_API_KEY' -H 'Content-Type: application/json' \
-d '{"entries": [{"address": "0xBeneficiaryWallet01", "chain": "ETH", "holder_name": "Ana Diaz"}, {"address": "rExchangeSharedAddress01", "chain": "XRP", "memo": "104729"}]}'{
"total": 3,
"created": 2,
"existing": 1,
"duplicate": 0,
"failed": 0,
"rows": [
{
"row": 1,
"status": "existing",
"entry_id": "11111111-2222-3333-4444-555555555555",
"errors": {},
"duplicate_of_row": null
},
{
"row": 2,
"status": "created",
"entry_id": "22222222-3333-4444-5555-666666666666",
"errors": {},
"duplicate_of_row": null
},
{
"row": 3,
"status": "created",
"entry_id": "33333333-4444-5555-6666-777777777777",
"errors": {},
"duplicate_of_row": null
}
]
}{
"total": 2,
"created": 1,
"existing": 0,
"duplicate": 0,
"failed": 1,
"rows": [
{
"row": 1,
"status": "created",
"entry_id": "44444444-5555-6666-7777-888888888888",
"errors": {},
"duplicate_of_row": null
},
{
"row": 2,
"status": "failed",
"entry_id": null,
"errors": {
"address": [
"Send address, address_hash or both."
]
},
"duplicate_of_row": null
}
]
}{
"file": [
"At most 10000 rows per import."
]
}Authorizations
Your application's API key, from Developers -> API keys in the Business Console. The primary key has full access. A named key can be scoped: none, read or write per resource, limited to some workflows or to approved sessions, to a list of IP addresses, and to an expiry date. 401 means the key is missing, wrong, revoked or expired; 403 means the key has no access to this resource or action, or the request came from an address outside its IP list; 404 on a session route means the session is outside the key's workflows or statuses. A key without media access receives image, video and PDF URLs as null, and a key without sessions write receives session links and tokens as null. See https://docs.didit.me/console/api-keys.
Body
- object
- object[]
1 - 10000 elementsShow child attributes
Show child attributes