Create a transfer
Submit a crypto transaction
Use a secret API key and a unique idempotency key. Set TODEN_API_BASE_URL to the versioned API base, such as http://localhost:32101/api/v1 locally:
Do not send regulated party information in generic metadata. Use the dedicated travelRule party fields so Toden can minimise, encrypt, retain and purge the evidence under the Travel Rule privacy controls.
Node.js SDK
The same request is available from the server-side Trust SDK:
Jurisdictions
Send three countries as ISO 3166-1 alpha-2 codes: sourceJurisdiction (where the transfer starts), destinationJurisdiction (where it is going) and organisationJurisdiction (your organisation’s own jurisdiction). Your policy rules match on the source and destination.
organisationJurisdiction is optional when you create the transaction, but a transfer cannot be released without it. Before release, Toden checks that all three countries are approved for your published policy. If any of them is missing, the transfer’s countryReview.jurisdictionsIncomplete is true and the transfer stays on hold. Once its other checks clear, the hold reason is jurisdiction_policy_unqualified.
Transfers to another crypto company
Set counterpartyType to vasp or casp when the recipient’s wallet is held by another crypto company. Toden then always checks that company, whatever fields your policy asks for. If you send no counterpartyVasp, or the company is not verified, the assessment raises COUNTERPARTY_VASP_UNKNOWN and your policy’s unknown-VASP decision (review or block) holds the transfer.
counterpartyVasp.riskPartyId is optional. Today it is the ID of a VASP or CASP party that your organisation already holds in Toden for the same environment. It is not a directory or licence reference, and an ID Toden cannot find in your organisation and environment is refused with travel_rule_information_invalid. Toden counts the company as verified only when that party is linked to a business customer record that Toden verified, in the same environment, with a re-verification date still ahead. A record your organisation declared verified through the Identity API does not count.
Toden does not yet let you register and verify a counterparty crypto company, so a transfer to another crypto company is held until that company is verified. Keep these transfers on hold, or review them under your own procedures, until counterparty VASP due diligence is available. This check does not change how transfers to unhosted wallets, or with counterpartyType unknown or not set, are assessed.
What happens next?
This example includes both parties for the standard information package. Your published policy can require additional fields or evidence. Read the returned summary, then follow its next action. You do not need to submit the same information again.
Use the returned activityId for later requests, not a guessed identifier. A read retrieves the current assessment; it does not create another transaction. If information is missing, use Supply missing information. For institutional messaging and the wallet gate, continue to Exchange and authorise.
These are ordinary API requests and use your configured pricing. For labelled, non-billable scenario traffic, use Test in Sandbox.