> Toden documentation. For the full index fetch /llms.txt. Every page is available as Markdown by appending .md to its URL. Identity verification uses /api/kyc, Risk Intelligence uses /api/v1; they are separate contracts with different error shapes. Never invent an endpoint, field or enum value: read the API reference page for the operation first.

# Get current transfer clearance and history

GET https://sandbox-api.toden.co/api/v1/transactions/{id}/travel-rule/transfer

Reference: https://docs.toden.co/api-reference/risk-intelligence/travel-rule/get-getcurrenttransferclearanceandhistory

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Servers

- `https://sandbox-api.toden.co/api/v1` (Sandbox, default)
- `https://api.toden.co/api/v1` (Production)

## Request

### Path parameters

- `id` (string, required)

### Headers

- `X-Request-Id` (string, optional)

## Response

### 200

Success

- `transfer` (TravelRuleTransfer, required, nullable) — Revision-bound compliance clearance. Completion never implies blockchain settlement. Unqualified policies and unavailable exchange remain held. Read again immediately before acting; this is not a signed execution token.
- `replayed` (boolean, optional)
- `commandRevision` (integer, optional)

## Errors

### 400 Bad Request Error

HTTP 400

- `error` (ErrorEnvelopeError, required)

### 401 Unauthorized Error

HTTP 401

- `error` (ErrorEnvelopeError, required)

### 402 Payment Required Error

HTTP 402

- `error` (ErrorEnvelopeError, required)

### 403 Forbidden Error

HTTP 403

- `error` (ErrorEnvelopeError, required)

### 404 Not Found Error

HTTP 404

- `error` (ErrorEnvelopeError, required)

### 409 Conflict Error

HTTP 409

- `error` (ErrorEnvelopeError, required)

### 413 Content Too Large Error

HTTP 400

- `error` (ErrorEnvelopeError, required)

### 422 Unprocessable Entity Error

HTTP 400

- `error` (ErrorEnvelopeError, required)

### 429 Too Many Requests Error

HTTP 429

- `error` (ErrorEnvelopeError, required)

### 500 Internal Server Error

HTTP 500

- `error` (ErrorEnvelopeError, required)

### 502 Bad Gateway Error

HTTP 503

- `error` (ErrorEnvelopeError, required)

### 503 Service Unavailable Error

HTTP 503

- `error` (ErrorEnvelopeError, required)

## Types

### TravelRuleTransfer

Revision-bound compliance clearance. Completion never implies blockchain settlement. Unqualified policies and unavailable exchange remain held. Read again immediately before acting; this is not a signed execution token.

- `id` (string, required)
- `transactionId` (string, required)
- `assessmentId` (string, required)
- `externalTransactionId` (string, required)
- `revision` (integer, required)
- `assessmentGeneration` (integer, required)
- `state` (enum, required)
  - Allowed values: `AWAITING_INFORMATION`, `REVIEW_REQUIRED`, `COMPLETED`, `CANCELLED`, `EXPIRED`
- `decision` (enum, required)
  - Allowed values: `ALLOW`, `REVIEW`, `BLOCK`
- `exchangeStatus` (enum, required)
  - Allowed values: `NOT_REQUIRED`, `UNROUTABLE`, `PREPARED`, `PENDING`, `ACCEPTED`, `REJECTED`, `NEEDS_REVIEW`
- `settlementStatus` (enum, required)
  - Allowed values: `UNKNOWN`
- `canRelease` (boolean, required)
- `evidenceCurrent` (boolean, required)
- `reasons` (list of string, required)
- `recommendedAction` (enum, required)
  - Allowed values: `PROCEED`, `HOLD`, `STOP`
- `expiresAt` (datetime, required)
- `createdAt` (datetime, required)
- `updatedAt` (datetime, required)
- `history` (list of TravelRuleTransferHistoryItems, required)
- `direction` (enum, optional)
  - Allowed values: `INBOUND`, `OUTBOUND`
- `exchangeProtocol` (enum, optional) — Protocol of the saved current exchange. Never switch an uncertain message to another transport.
  - Allowed values: `TRP`, `CODEVASP`
- `countryReview` (TravelRuleTransferCountryReview, optional) — Independent review of the exact policy version for all involved countries. A reviewed policy is not an execution authorisation.
- `exchangeProgress` (TravelRuleTransferExchangeProgress, optional)
- `execution` (TransferExecutionReceipt, optional, nullable) — Historical consumption receipt, never authority for an additional payment or proof of funds movement.
- `exchangeMessages` (list of TravelRuleTransferExchangeMessagesItems, optional) — Latest recorded messages, newest first. Peer acceptance is not release clearance or blockchain settlement. Personal data, endpoints and credentials are never included.

### ErrorEnvelopeError

- `type` (enum, required)
  - Allowed values: `AUTHENTICATION_ERROR`, `PERMISSION_ERROR`, `VALIDATION_ERROR`, `NOT_FOUND`, `CONFLICT`, `IDEMPOTENCY_CONFLICT`, `INSUFFICIENT_CREDIT`, `RATE_LIMITED`, `SERVICE_UNAVAILABLE`, `INTERNAL_ERROR`
- `code` (string, required)
- `message` (string, required)
- `request_id` (string, required, nullable)
- `details` (any, optional)

### TravelRuleTransferHistoryItems

- `revision` (integer, required)
- `state` (enum, required)
  - Allowed values: `AWAITING_INFORMATION`, `REVIEW_REQUIRED`, `COMPLETED`, `CANCELLED`, `EXPIRED`
- `decision` (enum, required)
  - Allowed values: `ALLOW`, `REVIEW`, `BLOCK`
- `exchangeStatus` (enum, required)
  - Allowed values: `NOT_REQUIRED`, `UNROUTABLE`, `PREPARED`, `PENDING`, `ACCEPTED`, `REJECTED`, `NEEDS_REVIEW`
- `settlementStatus` (enum, required)
  - Allowed values: `UNKNOWN`
- `reasons` (list of string, required)
- `assessmentGeneration` (integer, required)
- `createdAt` (datetime, required)

### TravelRuleTransferCountryReview

Independent review of the exact policy version for all involved countries. A reviewed policy is not an execution authorisation.

- `reviewed` (boolean, required)
- `jurisdictionsIncomplete` (boolean, required)
- `countries` (list of TravelRuleTransferCountryReviewCountriesItems, required)

### TravelRuleTransferExchangeProgress

- `status` (enum, required)
  - Allowed values: `NOT_PREPARED`, `RECEIVED`, `QUEUED`, `SENDING`, `PENDING`, `APPROVED`, `REJECTED`, `ACKNOWLEDGED`, `UNCERTAIN`, `CANCELLED`, `CONFLICT`
- `messageId` (string, required, nullable)
- `confirmation` (TravelRuleTransferExchangeProgressConfirmation, optional) — Authenticated sending-institution report. Not independently verified blockchain settlement.
- `response` (TravelRuleTransferExchangeProgressResponse, optional) — Response progress, separate from the local decision. CodeVASP RESPONSE_READY means durably recorded for reply, not proof of delivery.

### TransferExecutionReceipt

- `id` (string, required)
- `authorisationId` (string, required)
- `externalExecutionId` (string, required)
- `consumedAt` (datetime, required)
- `settlementStatus` (enum, required)
  - Allowed values: `UNKNOWN`
- `purpose` (enum, optional) — The direction-bound customer job. INBOUND_CREDIT is compliance authority only; the customer wallet must verify settlement independently.
  - Allowed values: `OUTBOUND_TRANSFER`, `INBOUND_CREDIT`
- `confirmation` (TransferExecutionConfirmationSummary, optional)

### TravelRuleTransferExchangeMessagesItems

- `id` (string, required)
- `direction` (enum, required)
  - Allowed values: `INBOUND`, `OUTBOUND`
- `operation` (enum, required)
  - Allowed values: `inquiry`, `resolution`, `confirmation`
- `status` (enum, required)
  - Allowed values: `RECEIVED`, `QUEUED`, `SENDING`, `PENDING`, `APPROVED`, `REJECTED`, `ACKNOWLEDGED`, `UNCERTAIN`, `CANCELLED`
- `createdAt` (datetime, required)
- `updatedAt` (datetime, required)
- `evidencePurged` (boolean, required)

### TravelRuleTransferCountryReviewCountriesItems

- `country` (string, required)
- `status` (enum, required)
  - Allowed values: `MISSING`, `PENDING`, `APPROVED`, `REJECTED`, `REVOKED`, `EXPIRED`, `SCHEDULED`, `STALE`

### TravelRuleTransferExchangeProgressConfirmation

Authenticated sending-institution report. Not independently verified blockchain settlement.

- `messageId` (string, required)
- `status` (enum, required)
  - Allowed values: `CONFIRMED`, `CANCELLED`, `CONFLICT`
- `settlementStatus` (enum, required)
  - Allowed values: `UNKNOWN`

### TravelRuleTransferExchangeProgressResponse

Response progress, separate from the local decision. CodeVASP RESPONSE_READY means durably recorded for reply, not proof of delivery.

- `messageId` (string, required)
- `status` (enum, required)
  - Allowed values: `QUEUED`, `SENDING`, `ACKNOWLEDGED`, `UNCERTAIN`, `CANCELLED`, `RESPONSE_READY`

### TransferExecutionConfirmationSummary

- `messageId` (string, required)
- `confirmedAt` (datetime, required)
- `source` (enum, required)
  - Allowed values: `CUSTOMER`
- `status` (enum, required) — Confirmation-message delivery status, not settlement status.
  - Allowed values: `QUEUED`, `SENDING`, `ACKNOWLEDGED`, `UNCERTAIN`, `CANCELLED`

## Examples

**Response**

```json
{
  "transfer": {
    "id": "string",
    "transactionId": "string",
    "assessmentId": "string",
    "externalTransactionId": "string",
    "revision": 1,
    "assessmentGeneration": 1,
    "state": "AWAITING_INFORMATION",
    "decision": "ALLOW",
    "exchangeStatus": "NOT_REQUIRED",
    "settlementStatus": "UNKNOWN",
    "canRelease": true,
    "evidenceCurrent": true,
    "reasons": [
      "string"
    ],
    "recommendedAction": "PROCEED",
    "expiresAt": "2024-01-15T09:30:00Z",
    "createdAt": "2024-01-15T09:30:00Z",
    "updatedAt": "2024-01-15T09:30:00Z",
    "history": [
      {
        "revision": 1,
        "state": "AWAITING_INFORMATION",
        "decision": "ALLOW",
        "exchangeStatus": "NOT_REQUIRED",
        "settlementStatus": "UNKNOWN",
        "reasons": [
          "string"
        ],
        "assessmentGeneration": 1,
        "createdAt": "2024-01-15T09:30:00Z"
      }
    ],
    "direction": "INBOUND",
    "exchangeProtocol": "TRP",
    "countryReview": {
      "reviewed": true,
      "jurisdictionsIncomplete": true,
      "countries": [
        {
          "country": "string",
          "status": "MISSING"
        }
      ]
    },
    "exchangeProgress": {
      "status": "NOT_PREPARED",
      "messageId": "string",
      "confirmation": {
        "messageId": "string",
        "status": "CONFIRMED",
        "settlementStatus": "UNKNOWN"
      },
      "response": {
        "messageId": "string",
        "status": "QUEUED"
      }
    },
    "execution": {
      "id": "string",
      "authorisationId": "string",
      "externalExecutionId": "string",
      "consumedAt": "2024-01-15T09:30:00Z",
      "settlementStatus": "UNKNOWN",
      "purpose": "OUTBOUND_TRANSFER",
      "confirmation": {
        "messageId": "string",
        "confirmedAt": "2024-01-15T09:30:00Z",
        "source": "CUSTOMER",
        "status": "QUEUED"
      }
    },
    "exchangeMessages": [
      {
        "id": "string",
        "direction": "INBOUND",
        "operation": "inquiry",
        "status": "RECEIVED",
        "createdAt": "2024-01-15T09:30:00Z",
        "updatedAt": "2024-01-15T09:30:00Z",
        "evidencePurged": true
      }
    ]
  },
  "replayed": true,
  "commandRevision": 1
}
```

**SDK Code**

```python
import requests

url = "https://sandbox-api.toden.co/api/v1/transactions/id/travel-rule/transfer"

headers = {"Authorization": "Bearer <apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://sandbox-api.toden.co/api/v1/transactions/id/travel-rule/transfer';
const options = {method: 'GET', headers: {Authorization: 'Bearer <apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://sandbox-api.toden.co/api/v1/transactions/id/travel-rule/transfer"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://sandbox-api.toden.co/api/v1/transactions/id/travel-rule/transfer")

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

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <apiKey>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://sandbox-api.toden.co/api/v1/transactions/id/travel-rule/transfer")
  .header("Authorization", "Bearer <apiKey>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://sandbox-api.toden.co/api/v1/transactions/id/travel-rule/transfer', [
  'headers' => [
    'Authorization' => 'Bearer <apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://sandbox-api.toden.co/api/v1/transactions/id/travel-rule/transfer");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://sandbox-api.toden.co/api/v1/transactions/id/travel-rule/transfer")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```