> ## Documentation Index
> Fetch the complete documentation index at: https://docs.algoreg.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create transaction

> Creates a KYT transaction.

## Body parameters

**amount** `number`

**comment** `string`

**context** `string`

**crypto** `Crypto`

**properties**

**blockchain** `string`

**tx\_hash** `string`

**currency** `string`

**date** `string`

**external\_id** `string`

**fields** `any`

**from** `Participant`

**properties**

**account\_type** `string`

**device** `Device`

**properties**

**2fa** `boolean`

**3ds** `boolean`

**country** `string`

**fingerprint** `string`

**geolocation** `string`

**ip** `string`

**language** `string`

**session\_duration** `number`

**session\_id** `string`

**user\_agent** `string`

**domicile\_code** `string`

**external\_id** `string`

may be an alias

**full\_name** `string`

**payment\_institution** `PaymentInstitution`

**properties**

**code** `string`

**country** `string`

**external\_id** `string`

may be an alias

**internal\_customer\_id** `string`

**name** `string`

**real\_external\_id** `string`

if external\_id is an alias, this will be different from it; does not need to be in the input, it will be computed by the system.

**payment\_method** `PaymentMethod`

**properties**

**code** `string`

**country** `string`

**type** `string`

**label** `string`

**review\_groups** `string[]`

**to** `Participant`

**properties**

**account\_type** `string`

**device** `Device`

**properties**

**2fa** `boolean`

**3ds** `boolean`

**country** `string`

**fingerprint** `string`

**geolocation** `string`

**ip** `string`

**language** `string`

**session\_duration** `number`

**session\_id** `string`

**user\_agent** `string`

**domicile\_code** `string`

**external\_id** `string`

may be an alias

**full\_name** `string`

**payment\_institution** `PaymentInstitution`

**properties**

**code** `string`

**country** `string`

**external\_id** `string`

may be an alias

**internal\_customer\_id** `string`

**name** `string`

**real\_external\_id** `string`

if external\_id is an alias, this will be different from it; does not need to be in the input, it will be computed by the system.

**payment\_method** `PaymentMethod`

**properties**

**code** `string`

**country** `string`

**type** `string`

## Response body

> [tab] 200
>
> **amount** `number`
>
> **client\_id** `integer`
>
> **comment** `string`
>
> **context** `string`
>
> **converted\_amount** `number`
>
> **converted\_currency** `string`
>
> **converted\_date** `string`
>
> **crypto** `Crypto`
>
> **properties**
>
> **blockchain** `string`
>
> **tx\_hash** `string`
>
> **currency** `string`
>
> **customers** `string[]`
>
> **date** `string`
>
> **external\_id** `string`
>
> **fields** `any`
>
> **from** `Participant`
>
> **properties**
>
> **account\_type** `string`
>
> **device** `Device`
>
> **properties**
>
> **2fa** `boolean`
>
> **3ds** `boolean`
>
> **country** `string`
>
> **fingerprint** `string`
>
> **geolocation** `string`
>
> **ip** `string`
>
> **language** `string`
>
> **session\_duration** `number`
>
> **session\_id** `string`
>
> **user\_agent** `string`
>
> **domicile\_code** `string`
>
> **external\_id** `string`
>
> may be an alias
>
> **full\_name** `string`
>
> **payment\_institution** `PaymentInstitution`
>
> **properties**
>
> **code** `string`
>
> **country** `string`
>
> **external\_id** `string`
>
> may be an alias
>
> **internal\_customer\_id** `string`
>
> **name** `string`
>
> **real\_external\_id** `string`
>
> if external\_id is an alias, this will be different from it; does not need to be in the input, it will be computed by the system.
>
> **payment\_method** `PaymentMethod`
>
> **properties**
>
> **code** `string`
>
> **country** `string`
>
> **type** `string`
>
> **id** `string`
>
> **review\_groups** `string[]`
>
> **rules** `Rule[]`
>
> **properties**
>
> **active** `boolean`
>
> **code** `string`
>
> **score** `number`
>
> **use\_weight** `boolean`
>
> **weight** `number`
>
> **score** `number`
>
> **search\_vector** `string[]`
>
> **state** `KYTTransactionState`
>
> **properties**
>
> **to** `Participant`
>
> **properties**
>
> **account\_type** `string`
>
> **device** `Device`
>
> **properties**
>
> **2fa** `boolean`
>
> **3ds** `boolean`
>
> **country** `string`
>
> **fingerprint** `string`
>
> **geolocation** `string`
>
> **ip** `string`
>
> **language** `string`
>
> **session\_duration** `number`
>
> **session\_id** `string`
>
> **user\_agent** `string`
>
> **domicile\_code** `string`
>
> **external\_id** `string`
>
> may be an alias
>
> **full\_name** `string`
>
> **payment\_institution** `PaymentInstitution`
>
> **properties**
>
> **code** `string`
>
> **country** `string`
>
> **external\_id** `string`
>
> may be an alias
>
> **internal\_customer\_id** `string`
>
> **name** `string`
>
> **real\_external\_id** `string`
>
> if external\_id is an alias, this will be different from it; does not need to be in the input, it will be computed by the system.
>
> **payment\_method** `PaymentMethod`
>
> **properties**
>
> **code** `string`
>
> **country** `string`
>
> **type** `string`

> [tab] default
>
> unexpected error
>
> **errors** `APIError[]`
>
> Will contain both "v1" (deprecated, or soon to be) errors and "v2" errors. When possible, prefer errors that are not deprecated.
>
> **properties**
>
> **code** `string`
>
> **deprecated** `boolean`
>
> **message** `string`
>
> **will\_be\_deprecated** `boolean`

```json JSON
{
  "amount": "number",
  "comment": "string",
  "context": "string",
  "crypto": {
    "blockchain": "string",
    "tx_hash": "string"
  },
  "currency": "string",
  "date": "string",
  "external_id": "string",
  "fields": "any",
  "from": {
    "account_type": "string",
    "device": {
      "2fa": "boolean",
      "3ds": "boolean",
      "country": "string",
      "fingerprint": "string",
      "geolocation": "string",
      "ip": "string",
      "language": "string",
      "session_duration": "number",
      "session_id": "string",
      "user_agent": "string"
    },
    "domicile_code": "string",
    "external_id": "string",
    "full_name": "string",
    "payment_institution": {
      "code": "string",
      "country": "string",
      "external_id": "string",
      "internal_customer_id": "string",
      "name": "string",
      "real_external_id": "string"
    },
    "payment_method": {
      "code": "string",
      "country": "string",
      "type": "string"
    }
  },
  "label": "string",
  "review_groups": [
    "string"
  ],
  "to": {
    "account_type": "string",
    "device": {
      "2fa": "boolean",
      "3ds": "boolean",
      "country": "string",
      "fingerprint": "string",
      "geolocation": "string",
      "ip": "string",
      "language": "string",
      "session_duration": "number",
      "session_id": "string",
      "user_agent": "string"
    },
    "domicile_code": "string",
    "external_id": "string",
    "full_name": "string",
    "payment_institution": {
      "code": "string",
      "country": "string",
      "external_id": "string",
      "internal_customer_id": "string",
      "name": "string",
      "real_external_id": "string"
    },
    "payment_method": {
      "code": "string",
      "country": "string",
      "type": "string"
    }
  }
}
```

```javascript JavaScript

  const response = await fetch(
    "POST /api/v1/kyt/transaction",
    {
      method: "post",
      headers: {
        "Content-Type": "application/json",
        "Authorization": `Bearer {token}`
      },
      body: JSON.stringify({
  "amount": "number",
  "comment": "string",
  "context": "string",
  "crypto": {
    "blockchain": "string",
    "tx_hash": "string"
  },
  "currency": "string",
  "date": "string",
  "external_id": "string",
  "fields": "any",
  "from": {
    "account_type": "string",
    "device": {
      "2fa": "boolean",
      "3ds": "boolean",
      "country": "string",
      "fingerprint": "string",
      "geolocation": "string",
      "ip": "string",
      "language": "string",
      "session_duration": "number",
      "session_id": "string",
      "user_agent": "string"
    },
    "domicile_code": "string",
    "external_id": "string",
    "full_name": "string",
    "payment_institution": {
      "code": "string",
      "country": "string",
      "external_id": "string",
      "internal_customer_id": "string",
      "name": "string",
      "real_external_id": "string"
    },
    "payment_method": {
      "code": "string",
      "country": "string",
      "type": "string"
    }
  },
  "label": "string",
  "review_groups": [
    "string"
  ],
  "to": {
    "account_type": "string",
    "device": {
      "2fa": "boolean",
      "3ds": "boolean",
      "country": "string",
      "fingerprint": "string",
      "geolocation": "string",
      "ip": "string",
      "language": "string",
      "session_duration": "number",
      "session_id": "string",
      "user_agent": "string"
    },
    "domicile_code": "string",
    "external_id": "string",
    "full_name": "string",
    "payment_institution": {
      "code": "string",
      "country": "string",
      "external_id": "string",
      "internal_customer_id": "string",
      "name": "string",
      "real_external_id": "string"
    },
    "payment_method": {
      "code": "string",
      "country": "string",
      "type": "string"
    }
  }
})
    }
  );
            
          
```

```json 200
{
  "amount": "number",
  "client_id": "integer",
  "comment": "string",
  "context": "string",
  "converted_amount": "number",
  "converted_currency": "string",
  "converted_date": "string",
  "crypto": {
    "blockchain": "string",
    "tx_hash": "string"
  },
  "currency": "string",
  "customers": [
    "string"
  ],
  "date": "string",
  "external_id": "string",
  "fields": "any",
  "from": {
    "account_type": "string",
    "device": {
      "2fa": "boolean",
      "3ds": "boolean",
      "country": "string",
      "fingerprint": "string",
      "geolocation": "string",
      "ip": "string",
      "language": "string",
      "session_duration": "number",
      "session_id": "string",
      "user_agent": "string"
    },
    "domicile_code": "string",
    "external_id": "string",
    "full_name": "string",
    "payment_institution": {
      "code": "string",
      "country": "string",
      "external_id": "string",
      "internal_customer_id": "string",
      "name": "string",
      "real_external_id": "string"
    },
    "payment_method": {
      "code": "string",
      "country": "string",
      "type": "string"
    }
  },
  "id": "string",
  "review_groups": [
    "string"
  ],
  "rules": [
    {
      "active": "boolean",
      "code": "string",
      "score": "number",
      "use_weight": "boolean",
      "weight": "number"
    }
  ],
  "score": "number",
  "search_vector": [
    "string"
  ],
  "state": {},
  "to": {
    "account_type": "string",
    "device": {
      "2fa": "boolean",
      "3ds": "boolean",
      "country": "string",
      "fingerprint": "string",
      "geolocation": "string",
      "ip": "string",
      "language": "string",
      "session_duration": "number",
      "session_id": "string",
      "user_agent": "string"
    },
    "domicile_code": "string",
    "external_id": "string",
    "full_name": "string",
    "payment_institution": {
      "code": "string",
      "country": "string",
      "external_id": "string",
      "internal_customer_id": "string",
      "name": "string",
      "real_external_id": "string"
    },
    "payment_method": {
      "code": "string",
      "country": "string",
      "type": "string"
    }
  }
}
```

```json default
{
  "errors": [
    {
      "code": "string",
      "deprecated": "boolean",
      "message": "string",
      "will_be_deprecated": "boolean"
    }
  ]
}
```



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.