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

# Submit a transaction or event for monitoring

> Submits one transaction or event for rule evaluation. The `type` field selects which payload contract applies; the rest of the body is that contract, alongside it.

Every type describes your customer as `subject` and, for payments, the other side as `counterparty`. `direction` says which way the money moved for the subject — `OUTBOUND` (the default) or `INBOUND` — so a deposit and a withdrawal are sent the same way, with your customer always the subject.

Rules are evaluated before the response returns, so the `202` carries the resolved status — `PASSED` (no rule matched), `FLAGGED` (proceed; a review follows afterwards), `BLOCKED` (hold the payment until an analyst decides), `REJECTED` (refuse it; final), or `FAILED` if evaluation could not complete. A transaction whose subject or counterparty is suspended is `REJECTED` without any rule running. There is nothing to poll for. The `transaction.processed` webhook reports the same outcome, and `transaction.status_changed` reports a later change made by an analyst — `ALLOWED` releases a held payment or clears a flagged one, `REJECTED` refuses a held one; ingest itself never returns `ALLOWED`.

Test data comes from the API key: every request made with a test key is stored as test data and kept out of live monitoring — out of the alert queue, SLA and breach tracking, notifications, workflow dispatch, team metrics and management reporting. Webhooks are still delivered, flagged as test.

`X-Test-Mode: true` is accepted only alongside a test key; sent with a live key it is rejected with `400` and nothing is stored. `X-Test-Mode: false` is ignored — the key decides.

Each live transaction consumes one billable unit, charged before the transaction is stored. Ingest therefore requires available funds: `402` means the charge did not go through — the account has no funds or transaction-monitoring limit left, or billing could not be settled — and nothing was stored, monitored or alerted on. Top up the account or raise the transaction-monitoring limit, then send the transaction again. Test transactions are never billed and never refused.



## OpenAPI

````yaml /openapi/transaction-monitoring.json post /api/v1/ingest/
openapi: 3.0.3
info:
  title: iDenfy Transaction Monitoring API
  version: v1
  description: >-
    Submit transactions and events for AML monitoring, and read back the alerts,
    cases and reports they produce.
servers:
  - url: https://ivs-tx-monitoring.idenfy.com
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Ingest
    description: Submit transactions and events for monitoring.
  - name: Transactions
    description: Read back submitted transactions and their rule hits.
  - name: Rules
    description: Detection rules evaluated against every submission.
  - name: Alerts
    description: Alerts opened when a rule matches.
  - name: Investigations
    description: Cases opened from one or more alerts.
  - name: SARs
    description: Suspicious activity reports and their attachments.
  - name: Sanctions screening
    description: Sanctions and PEP screening of transaction parties.
  - name: AML monitoring
    description: Ongoing AML monitoring of screened parties.
  - name: Party suspensions
    description: ''
  - name: Webhooks
    description: Outbound event delivery to your endpoints.
  - name: Custom fields
    description: Your own transaction attributes, declared so rules can match them.
  - name: Reference lists
    description: Named value lists rules can reference.
  - name: Notification rules
    description: Slack and email notifications for alerts.
  - name: Reports
    description: Generated compliance reports.
paths:
  /api/v1/ingest/:
    post:
      tags:
        - Ingest
      summary: Submit a transaction or event for monitoring
      description: >-
        Submits one transaction or event for rule evaluation. The `type` field
        selects which payload contract applies; the rest of the body is that
        contract, alongside it.


        Every type describes your customer as `subject` and, for payments, the
        other side as `counterparty`. `direction` says which way the money moved
        for the subject — `OUTBOUND` (the default) or `INBOUND` — so a deposit
        and a withdrawal are sent the same way, with your customer always the
        subject.


        Rules are evaluated before the response returns, so the `202` carries
        the resolved status — `PASSED` (no rule matched), `FLAGGED` (proceed; a
        review follows afterwards), `BLOCKED` (hold the payment until an analyst
        decides), `REJECTED` (refuse it; final), or `FAILED` if evaluation could
        not complete. A transaction whose subject or counterparty is suspended
        is `REJECTED` without any rule running. There is nothing to poll for.
        The `transaction.processed` webhook reports the same outcome, and
        `transaction.status_changed` reports a later change made by an analyst —
        `ALLOWED` releases a held payment or clears a flagged one, `REJECTED`
        refuses a held one; ingest itself never returns `ALLOWED`.


        Test data comes from the API key: every request made with a test key is
        stored as test data and kept out of live monitoring — out of the alert
        queue, SLA and breach tracking, notifications, workflow dispatch, team
        metrics and management reporting. Webhooks are still delivered, flagged
        as test.


        `X-Test-Mode: true` is accepted only alongside a test key; sent with a
        live key it is rejected with `400` and nothing is stored. `X-Test-Mode:
        false` is ignored — the key decides.


        Each live transaction consumes one billable unit, charged before the
        transaction is stored. Ingest therefore requires available funds: `402`
        means the charge did not go through — the account has no funds or
        transaction-monitoring limit left, or billing could not be settled — and
        nothing was stored, monitored or alerted on. Top up the account or raise
        the transaction-monitoring limit, then send the transaction again. Test
        transactions are never billed and never refused.
      operationId: ingest_create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IngestRequest'
            examples:
              BankPayment:
                value:
                  type: BANK_PAYMENT
                  externalId: your-ref-4471
                  transactionAt: '2026-04-10T15:30:00Z'
                  direction: OUTBOUND
                  amount: '2500.00'
                  currency: EUR
                  subject:
                    id: customer-100
                    type: PERSON
                    name: Anna Kazlauskiene
                    country: LT
                    age: 34
                    riskStatus: LOW
                    paymentMethod:
                      account: LT121000011101001000
                      bic: HABALT22
                  counterparty:
                    id: supplier-200
                    type: COMPANY
                    name: Acme Ltd
                    country: GB
                    paymentMethod:
                      account: GB29NWBK60161331926819
                  description: Invoice settlement
                  reference: INV-2026-0114
                  paymentScheme: SWIFT
                  device:
                    ipAddress: 203.0.113.42
                    ipCountry: LT
                  customFields:
                    orderId: ORD-7891
                summary: Bank payment
                description: >-
                  Your customer pays a company abroad. `subject` is always your
                  customer; `direction` says the money left them. Both countries
                  are sent so the cross-border rules can apply.
              IncomingBankPayment:
                value:
                  type: BANK_PAYMENT
                  direction: INBOUND
                  amount: '12000.00'
                  currency: EUR
                  subject:
                    id: customer-100
                    name: Anna Kazlauskiene
                    country: LT
                  counterparty:
                    name: Jonas Petrauskas
                    country: LV
                summary: Incoming bank payment
                description: >-
                  Money reaching your customer. `direction: INBOUND` keeps the
                  customer as `subject`; the payer is the `counterparty`.
              CreditCardPayment:
                value:
                  type: CREDIT_CARD
                  externalId: your-ref-8823
                  amount: '189.99'
                  currency: GBP
                  subject:
                    id: customer-4411
                    name: Anna Kazlauskiene
                    paymentMethod:
                      maskedPan: 4111 11** **** 1111
                      lastFour: '1111'
                      issuer: Example Bank
                      issuerCountry: LT
                  counterparty:
                    id: merchant-77
                    name: London Sound Ltd
                    country: GB
                    mcc: '5732'
                  threeDsStatus: AUTHENTICATED
                  device:
                    ipAddress: 203.0.113.42
                    ipCountry: LT
                summary: Credit card payment
                description: >-
                  A card payment at a foreign merchant. The cardholder is the
                  `subject`, the merchant the `counterparty`. The card number
                  must arrive masked — an unmasked one is rejected. Send a
                  refund as `INBOUND`.
              CryptoTransfer:
                value:
                  type: CRYPTO_TRANSFER
                  externalId: your-ref-9001
                  amount: '12000.00'
                  currency: USD
                  subject:
                    id: customer-109
                    name: Rokas Urbonas
                    country: LT
                    paymentMethod:
                      walletAddress: '0x9f2b4c1d8e3a5f7b6c0d1e2f3a4b5c6d7e8f9a0b'
                  counterparty:
                    paymentMethod:
                      walletAddress: '0x1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b'
                  crypto:
                    asset: USDT
                    network: ERC-20
                    txHash: >-
                      0xb7f1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1
                summary: Crypto transfer
                description: >-
                  A withdrawal to an external wallet, with the asset and chain
                  named.
              CustomEvent:
                value:
                  type: CUSTOM_EVENT
                  eventType: withdrawal_requested
                  subject:
                    id: customer-100
                    riskStatus: HIGH
                  amount: '5000.00'
                  currency: EUR
                  device:
                    ipAddress: 198.51.100.7
                    ipCountry: NG
                  customFields:
                    channel: mobile
                    accountAgeDays: 12
                summary: Custom event
                description: >-
                  A non-monetary event about one customer, so there is no
                  `counterparty` or `direction`. `amount` is optional here, and
                  `customFields` carries your own attributes — declare a key
                  under custom fields first if a rule needs to match it.
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/IngestRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/IngestRequest'
      responses:
        '202':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IngestResponse'
              examples:
                Flagged:
                  value:
                    transactionId: 162f69cc-35f8-494a-979f-de2ae31a0458
                    status: FLAGGED
                  description: >-
                    Rules were evaluated before the response returned; a case is
                    now open for review.
          description: ''
      security:
        - ApiKeyAuth: []
components:
  schemas:
    IngestRequest:
      oneOf:
        - $ref: '#/components/schemas/BankPaymentIngestRequest'
        - $ref: '#/components/schemas/CreditCardIngestRequest'
        - $ref: '#/components/schemas/CryptoTransferIngestRequest'
        - $ref: '#/components/schemas/CustomEventIngestRequest'
      discriminator:
        propertyName: type
        mapping:
          BANK_PAYMENT: '#/components/schemas/BankPaymentIngestRequest'
          CREDIT_CARD: '#/components/schemas/CreditCardIngestRequest'
          CRYPTO_TRANSFER: '#/components/schemas/CryptoTransferIngestRequest'
          CUSTOM_EVENT: '#/components/schemas/CustomEventIngestRequest'
    IngestResponse:
      type: object
      properties:
        transactionId:
          type: string
          format: uuid
          description: >-
            Our identifier for the stored transaction — the id every later read
            uses
        status:
          type: string
          description: >-
            Status rule evaluation resolved this transaction to, already final
            when the response returns: `PASSED`, `FLAGGED` (proceed, reviewed
            afterwards), `BLOCKED` (held), `REJECTED` (refused), or `FAILED` if
            evaluation could not complete
      required:
        - status
        - transactionId
    BankPaymentIngestRequest:
      type: object
      properties:
        type:
          allOf:
            - $ref: '#/components/schemas/BankPaymentIngestRequestTypeEnum'
          description: >-
            Ingest surface this payload conforms to. Always "BANK_PAYMENT" for
            this shape.


            * `BANK_PAYMENT` - BANK_PAYMENT
        externalId:
          type: string
          nullable: true
          description: >-
            Your own identifier for this transaction, echoed back on reads and
            shown to analysts. Not an idempotency key — resubmitting the same
            value creates another transaction
          maxLength: 255
        transactionAt:
          type: string
          format: date-time
          nullable: true
          description: >-
            When the transaction happened on your side, as an ISO 8601
            timestamp. Defaults to the moment we receive it. Refused when more
            than 5 minutes in the future
        direction:
          allOf:
            - $ref: '#/components/schemas/DirectionEnum'
          default: OUTBOUND
          description: >-
            Which way the money moved for the subject. 'OUTBOUND' (the default):
            it left the subject — a payment, a withdrawal, a card purchase.
            'INBOUND': it reached the subject — a deposit, an incoming transfer,
            a card refund


            * `OUTBOUND` - Outbound

            * `INBOUND` - Inbound
        amount:
          type: string
          format: decimal
          pattern: ^-?\d{0,12}(?:\.\d{0,8})?$
          description: >-
            Transaction amount as a decimal string, up to 8 decimal places. Zero
            or more: send a refund as a positive amount with direction 'INBOUND'
        currency:
          type: string
          description: >-
            ISO 4217 currency code, exactly 3 letters (e.g. 'EUR'), uppercased
            on ingest
        subject:
          allOf:
            - $ref: '#/components/schemas/BankSubject'
          description: >-
            Your customer — the party this transaction is monitored for,
            whichever way the money moved. Profile suspension, false-positive
            suppression and identity verification follow it, and velocity and
            behaviour rules can group by it as 'Customer ID'
        counterparty:
          allOf:
            - $ref: '#/components/schemas/BankParty'
          nullable: true
          description: The other side of the transaction
        device:
          allOf:
            - $ref: '#/components/schemas/Device'
          nullable: true
          description: Where the customer acted from
        customFields:
          type: object
          additionalProperties: {}
          description: >-
            Your own attributes for this transaction, as a flat JSON object. A
            key declared under Developer > Custom fields is matchable by rules
            as `custom_field_<name>`, is validated and stored as its declared
            type, and must be supplied when the declaration marks it required;
            the key is matched ignoring case and stored under the declared
            spelling, so a declared `score` sent as `Score` is stored as `score`
            and rules match it. Undeclared keys are stored exactly as sent,
            casing included, but cannot be matched on. At most 50 keys of up to
            100 characters; a text value may be up to 2000 characters, and an
            array or object value up to 2000 characters written as JSON
        description:
          type: string
          nullable: true
          description: >-
            Free-text description, shown to analysts reviewing the transaction;
            up to 2000 characters
          maxLength: 2000
        reference:
          type: string
          nullable: true
          description: Payment reference as it appears on the transfer
          maxLength: 255
        paymentScheme:
          nullable: true
          description: |-
            Settlement rail the payment used

            * `SEPA_INSTANT` - SEPA Instant
            * `SEPA_CREDIT` - SEPA Credit Transfer
            * `SWIFT` - SWIFT
            * `FEDWIRE` - FedWire
            * `OTHER` - Other
          oneOf:
            - $ref: '#/components/schemas/PaymentSchemeEnum'
            - $ref: '#/components/schemas/BlankEnum'
            - $ref: '#/components/schemas/NullEnum'
      required:
        - amount
        - currency
        - subject
        - type
    CreditCardIngestRequest:
      type: object
      properties:
        type:
          allOf:
            - $ref: '#/components/schemas/CreditCardIngestRequestTypeEnum'
          description: >-
            Ingest surface this payload conforms to. Always "CREDIT_CARD" for
            this shape.


            * `CREDIT_CARD` - CREDIT_CARD
        externalId:
          type: string
          nullable: true
          description: >-
            Your own identifier for this transaction, echoed back on reads and
            shown to analysts. Not an idempotency key — resubmitting the same
            value creates another transaction
          maxLength: 255
        transactionAt:
          type: string
          format: date-time
          nullable: true
          description: >-
            When the transaction happened on your side, as an ISO 8601
            timestamp. Defaults to the moment we receive it. Refused when more
            than 5 minutes in the future
        direction:
          allOf:
            - $ref: '#/components/schemas/DirectionEnum'
          default: OUTBOUND
          description: >-
            Which way the money moved for the subject. 'OUTBOUND' (the default):
            it left the subject — a payment, a withdrawal, a card purchase.
            'INBOUND': it reached the subject — a deposit, an incoming transfer,
            a card refund


            * `OUTBOUND` - Outbound

            * `INBOUND` - Inbound
        amount:
          type: string
          format: decimal
          pattern: ^-?\d{0,12}(?:\.\d{0,8})?$
          description: >-
            Transaction amount as a decimal string, up to 8 decimal places. Zero
            or more: send a refund as a positive amount with direction 'INBOUND'
        currency:
          type: string
          description: >-
            ISO 4217 currency code, exactly 3 letters (e.g. 'EUR'), uppercased
            on ingest
        subject:
          allOf:
            - $ref: '#/components/schemas/CardSubject'
          description: >-
            The cardholder — your customer. Your customer — the party this
            transaction is monitored for, whichever way the money moved. Profile
            suspension, false-positive suppression and identity verification
            follow it, and velocity and behaviour rules can group by it as
            'Customer ID'
        counterparty:
          allOf:
            - $ref: '#/components/schemas/Merchant'
          nullable: true
          description: The merchant
        device:
          allOf:
            - $ref: '#/components/schemas/Device'
          nullable: true
          description: Where the customer acted from
        customFields:
          type: object
          additionalProperties: {}
          description: >-
            Your own attributes for this transaction, as a flat JSON object. A
            key declared under Developer > Custom fields is matchable by rules
            as `custom_field_<name>`, is validated and stored as its declared
            type, and must be supplied when the declaration marks it required;
            the key is matched ignoring case and stored under the declared
            spelling, so a declared `score` sent as `Score` is stored as `score`
            and rules match it. Undeclared keys are stored exactly as sent,
            casing included, but cannot be matched on. At most 50 keys of up to
            100 characters; a text value may be up to 2000 characters, and an
            array or object value up to 2000 characters written as JSON
        description:
          type: string
          nullable: true
          description: >-
            Free-text description, shown to analysts reviewing the transaction;
            up to 2000 characters
          maxLength: 2000
        reference:
          type: string
          nullable: true
          description: Payment reference as it appears on the statement
          maxLength: 255
        threeDsStatus:
          nullable: true
          description: |-
            Outcome of 3-D Secure authentication for this payment

            * `AUTHENTICATED` - Authenticated
            * `FAILED` - Failed
            * `NOT_ENROLLED` - Not enrolled
            * `ATTEMPTED` - Attempted
            * `UNKNOWN` - Unknown
          oneOf:
            - $ref: '#/components/schemas/ThreeDsStatusEnum'
            - $ref: '#/components/schemas/BlankEnum'
            - $ref: '#/components/schemas/NullEnum'
      required:
        - amount
        - currency
        - subject
        - type
    CryptoTransferIngestRequest:
      type: object
      properties:
        type:
          allOf:
            - $ref: '#/components/schemas/CryptoTransferIngestRequestTypeEnum'
          description: >-
            Ingest surface this payload conforms to. Always "CRYPTO_TRANSFER"
            for this shape.


            * `CRYPTO_TRANSFER` - CRYPTO_TRANSFER
        externalId:
          type: string
          nullable: true
          description: >-
            Your own identifier for this transaction, echoed back on reads and
            shown to analysts. Not an idempotency key — resubmitting the same
            value creates another transaction
          maxLength: 255
        transactionAt:
          type: string
          format: date-time
          nullable: true
          description: >-
            When the transaction happened on your side, as an ISO 8601
            timestamp. Defaults to the moment we receive it. Refused when more
            than 5 minutes in the future
        direction:
          allOf:
            - $ref: '#/components/schemas/DirectionEnum'
          default: OUTBOUND
          description: >-
            Which way the money moved for the subject. 'OUTBOUND' (the default):
            it left the subject — a payment, a withdrawal, a card purchase.
            'INBOUND': it reached the subject — a deposit, an incoming transfer,
            a card refund


            * `OUTBOUND` - Outbound

            * `INBOUND` - Inbound
        amount:
          type: string
          format: decimal
          pattern: ^-?\d{0,12}(?:\.\d{0,8})?$
          description: >-
            Transaction amount as a decimal string, up to 8 decimal places. Zero
            or more: send a refund as a positive amount with direction 'INBOUND'
        currency:
          type: string
          description: >-
            ISO 4217 currency code, exactly 3 letters (e.g. 'EUR'), uppercased
            on ingest
        subject:
          allOf:
            - $ref: '#/components/schemas/CryptoSubject'
          description: >-
            Your customer — the party this transaction is monitored for,
            whichever way the money moved. Profile suspension, false-positive
            suppression and identity verification follow it, and velocity and
            behaviour rules can group by it as 'Customer ID'
        counterparty:
          allOf:
            - $ref: '#/components/schemas/CryptoParty'
          nullable: true
          description: The other side of the transaction
        device:
          allOf:
            - $ref: '#/components/schemas/Device'
          nullable: true
          description: Where the customer acted from
        customFields:
          type: object
          additionalProperties: {}
          description: >-
            Your own attributes for this transaction, as a flat JSON object. A
            key declared under Developer > Custom fields is matchable by rules
            as `custom_field_<name>`, is validated and stored as its declared
            type, and must be supplied when the declaration marks it required;
            the key is matched ignoring case and stored under the declared
            spelling, so a declared `score` sent as `Score` is stored as `score`
            and rules match it. Undeclared keys are stored exactly as sent,
            casing included, but cannot be matched on. At most 50 keys of up to
            100 characters; a text value may be up to 2000 characters, and an
            array or object value up to 2000 characters written as JSON
        description:
          type: string
          nullable: true
          description: >-
            Free-text description, shown to analysts reviewing the transaction;
            up to 2000 characters
          maxLength: 2000
        reference:
          type: string
          nullable: true
          description: Payment reference as it appears on the transfer
          maxLength: 255
        crypto:
          allOf:
            - $ref: '#/components/schemas/CryptoDetails'
          nullable: true
          description: What moved on-chain
      required:
        - amount
        - currency
        - subject
        - type
    CustomEventIngestRequest:
      type: object
      properties:
        type:
          allOf:
            - $ref: '#/components/schemas/CustomEventIngestRequestTypeEnum'
          description: >-
            Ingest surface this payload conforms to. Always "CUSTOM_EVENT" for
            this shape.


            * `CUSTOM_EVENT` - CUSTOM_EVENT
        externalId:
          type: string
          nullable: true
          description: >-
            Your own identifier for this transaction, echoed back on reads and
            shown to analysts. Not an idempotency key — resubmitting the same
            value creates another transaction
          maxLength: 255
        transactionAt:
          type: string
          format: date-time
          nullable: true
          description: >-
            When the transaction happened on your side, as an ISO 8601
            timestamp. Defaults to the moment we receive it. Refused when more
            than 5 minutes in the future
        eventType:
          type: string
          description: >-
            What happened, e.g. 'login', 'profile_updated',
            'withdrawal_requested'
          maxLength: 255
        amount:
          type: string
          format: decimal
          pattern: ^-?\d{0,12}(?:\.\d{0,8})?$
          nullable: true
          description: >-
            Amount, if the event involves money, zero or more. Optional — most
            events do not
        currency:
          type: string
          nullable: true
          description: ISO 4217 currency code, required only when an amount is sent
        subject:
          allOf:
            - $ref: '#/components/schemas/Subject'
          description: The customer the event is about
        device:
          allOf:
            - $ref: '#/components/schemas/Device'
          nullable: true
          description: Where the customer acted from
        customFields:
          type: object
          additionalProperties: {}
          description: >-
            Your own attributes for this transaction, as a flat JSON object. A
            key declared under Developer > Custom fields is matchable by rules
            as `custom_field_<name>`, is validated and stored as its declared
            type, and must be supplied when the declaration marks it required;
            the key is matched ignoring case and stored under the declared
            spelling, so a declared `score` sent as `Score` is stored as `score`
            and rules match it. Undeclared keys are stored exactly as sent,
            casing included, but cannot be matched on. At most 50 keys of up to
            100 characters; a text value may be up to 2000 characters, and an
            array or object value up to 2000 characters written as JSON
      required:
        - eventType
        - subject
        - type
    BankPaymentIngestRequestTypeEnum:
      enum:
        - BANK_PAYMENT
      type: string
      description: '* `BANK_PAYMENT` - BANK_PAYMENT'
    DirectionEnum:
      enum:
        - OUTBOUND
        - INBOUND
      type: string
      description: |-
        * `OUTBOUND` - Outbound
        * `INBOUND` - Inbound
    BankSubject:
      type: object
      properties:
        id:
          type: string
          description: >-
            Your own identifier for the customer. Required: profile suspension,
            false-positive suppression and 'Customer ID' velocity and behaviour
            rules all find the customer's transactions by it
          maxLength: 255
        type:
          allOf:
            - $ref: '#/components/schemas/Type77bEnum'
          default: PERSON
          description: >-
            Whether the customer is a person or a company ('PERSON' or
            'COMPANY'). Defaults to 'PERSON'. AML screening and monitoring pick
            their datasets from it — a company screened against person datasets
            can never match — and rules can filter on it directly


            * `PERSON` - Person

            * `COMPANY` - Company
        name:
          type: string
          nullable: true
          description: Full name of the customer
          maxLength: 255
        country:
          type: string
          nullable: true
          description: >-
            Customer's ISO 3166-1 alpha-2 country code (e.g. 'US'), uppercased
            on ingest. Send it on both parties to enable the cross-border and
            foreign-origin rules
        age:
          type: integer
          minimum: 0
          nullable: true
          description: The customer's age in years, if you hold it; used by age-based rules
        riskStatus:
          type: string
          nullable: true
          description: >-
            Your own risk rating for the customer (e.g. 'LOW', 'MEDIUM',
            'HIGH'), passed through to rules unchanged
          maxLength: 32
        blacklisted:
          type: boolean
          default: false
          description: >-
            Whether you have blacklisted the customer; rules can match on it
            directly
        paymentMethod:
          allOf:
            - $ref: '#/components/schemas/BankAccount'
          nullable: true
          description: How the customer paid or was paid
      required:
        - id
    BankParty:
      type: object
      properties:
        id:
          type: string
          nullable: true
          description: >-
            Your own identifier for the counterparty, used to group their
            transactions together
          maxLength: 255
        type:
          allOf:
            - $ref: '#/components/schemas/Type77bEnum'
          default: PERSON
          description: >-
            Whether the counterparty is a person or a company ('PERSON' or
            'COMPANY'). Defaults to 'PERSON'. AML screening and monitoring pick
            their datasets from it — a company screened against person datasets
            can never match — and rules can filter on it directly


            * `PERSON` - Person

            * `COMPANY` - Company
        name:
          type: string
          nullable: true
          description: Full name of the counterparty
          maxLength: 255
        country:
          type: string
          nullable: true
          description: >-
            Counterparty's ISO 3166-1 alpha-2 country code (e.g. 'US'),
            uppercased on ingest. Send it on both parties to enable the
            cross-border and foreign-origin rules
        paymentMethod:
          allOf:
            - $ref: '#/components/schemas/BankAccount'
          nullable: true
          description: How the counterparty paid or was paid
    Device:
      type: object
      properties:
        ipAddress:
          type: string
          nullable: true
          description: IP address the customer acted from
        ipCountry:
          type: string
          nullable: true
          description: ISO 3166-1 alpha-2 country of the IP address, uppercased on ingest
    PaymentSchemeEnum:
      enum:
        - SEPA_INSTANT
        - SEPA_CREDIT
        - SWIFT
        - FEDWIRE
        - OTHER
      type: string
      description: |-
        * `SEPA_INSTANT` - SEPA Instant
        * `SEPA_CREDIT` - SEPA Credit Transfer
        * `SWIFT` - SWIFT
        * `FEDWIRE` - FedWire
        * `OTHER` - Other
    BlankEnum:
      enum:
        - ''
    NullEnum:
      enum:
        - null
    CreditCardIngestRequestTypeEnum:
      enum:
        - CREDIT_CARD
      type: string
      description: '* `CREDIT_CARD` - CREDIT_CARD'
    CardSubject:
      type: object
      properties:
        id:
          type: string
          description: >-
            Your own identifier for the customer. Required: profile suspension,
            false-positive suppression and 'Customer ID' velocity and behaviour
            rules all find the customer's transactions by it
          maxLength: 255
        type:
          allOf:
            - $ref: '#/components/schemas/Type77bEnum'
          default: PERSON
          description: >-
            Whether the customer is a person or a company ('PERSON' or
            'COMPANY'). Defaults to 'PERSON'. AML screening and monitoring pick
            their datasets from it — a company screened against person datasets
            can never match — and rules can filter on it directly


            * `PERSON` - Person

            * `COMPANY` - Company
        name:
          type: string
          nullable: true
          description: Full name of the customer
          maxLength: 255
        country:
          type: string
          nullable: true
          description: >-
            Customer's ISO 3166-1 alpha-2 country code (e.g. 'US'), uppercased
            on ingest. Send it on both parties to enable the cross-border and
            foreign-origin rules
        age:
          type: integer
          minimum: 0
          nullable: true
          description: The customer's age in years, if you hold it; used by age-based rules
        riskStatus:
          type: string
          nullable: true
          description: >-
            Your own risk rating for the customer (e.g. 'LOW', 'MEDIUM',
            'HIGH'), passed through to rules unchanged
          maxLength: 32
        blacklisted:
          type: boolean
          default: false
          description: >-
            Whether you have blacklisted the customer; rules can match on it
            directly
        paymentMethod:
          allOf:
            - $ref: '#/components/schemas/Card'
          nullable: true
          description: The card the customer paid with
      required:
        - id
    Merchant:
      type: object
      properties:
        id:
          type: string
          nullable: true
          description: >-
            Your own identifier for the counterparty, used to group their
            transactions together
          maxLength: 255
        type:
          allOf:
            - $ref: '#/components/schemas/Type77bEnum'
          default: COMPANY
          description: >-
            Whether the merchant is a person or a company ('PERSON' or
            'COMPANY'). Defaults to 'COMPANY'. AML screening and monitoring pick
            their datasets from it — a company screened against person datasets
            can never match — and rules can filter on it directly


            * `PERSON` - Person

            * `COMPANY` - Company
        name:
          type: string
          nullable: true
          description: Full name of the counterparty
          maxLength: 255
        country:
          type: string
          nullable: true
          description: >-
            Counterparty's ISO 3166-1 alpha-2 country code (e.g. 'US'),
            uppercased on ingest. Send it on both parties to enable the
            cross-border and foreign-origin rules
        mcc:
          type: string
          nullable: true
          description: Merchant Category Code of the merchant
          maxLength: 8
    ThreeDsStatusEnum:
      enum:
        - AUTHENTICATED
        - FAILED
        - NOT_ENROLLED
        - ATTEMPTED
        - UNKNOWN
      type: string
      description: |-
        * `AUTHENTICATED` - Authenticated
        * `FAILED` - Failed
        * `NOT_ENROLLED` - Not enrolled
        * `ATTEMPTED` - Attempted
        * `UNKNOWN` - Unknown
    CryptoTransferIngestRequestTypeEnum:
      enum:
        - CRYPTO_TRANSFER
      type: string
      description: '* `CRYPTO_TRANSFER` - CRYPTO_TRANSFER'
    CryptoSubject:
      type: object
      properties:
        id:
          type: string
          description: >-
            Your own identifier for the customer. Required: profile suspension,
            false-positive suppression and 'Customer ID' velocity and behaviour
            rules all find the customer's transactions by it
          maxLength: 255
        type:
          allOf:
            - $ref: '#/components/schemas/Type77bEnum'
          default: PERSON
          description: >-
            Whether the customer is a person or a company ('PERSON' or
            'COMPANY'). Defaults to 'PERSON'. AML screening and monitoring pick
            their datasets from it — a company screened against person datasets
            can never match — and rules can filter on it directly


            * `PERSON` - Person

            * `COMPANY` - Company
        name:
          type: string
          nullable: true
          description: Full name of the customer
          maxLength: 255
        country:
          type: string
          nullable: true
          description: >-
            Customer's ISO 3166-1 alpha-2 country code (e.g. 'US'), uppercased
            on ingest. Send it on both parties to enable the cross-border and
            foreign-origin rules
        age:
          type: integer
          minimum: 0
          nullable: true
          description: The customer's age in years, if you hold it; used by age-based rules
        riskStatus:
          type: string
          nullable: true
          description: >-
            Your own risk rating for the customer (e.g. 'LOW', 'MEDIUM',
            'HIGH'), passed through to rules unchanged
          maxLength: 32
        blacklisted:
          type: boolean
          default: false
          description: >-
            Whether you have blacklisted the customer; rules can match on it
            directly
        paymentMethod:
          allOf:
            - $ref: '#/components/schemas/CryptoWallet'
          nullable: true
          description: How the customer paid or was paid
      required:
        - id
    CryptoParty:
      type: object
      properties:
        id:
          type: string
          nullable: true
          description: >-
            Your own identifier for the counterparty, used to group their
            transactions together
          maxLength: 255
        type:
          allOf:
            - $ref: '#/components/schemas/Type77bEnum'
          default: PERSON
          description: >-
            Whether the counterparty is a person or a company ('PERSON' or
            'COMPANY'). Defaults to 'PERSON'. AML screening and monitoring pick
            their datasets from it — a company screened against person datasets
            can never match — and rules can filter on it directly


            * `PERSON` - Person

            * `COMPANY` - Company
        name:
          type: string
          nullable: true
          description: Full name of the counterparty
          maxLength: 255
        country:
          type: string
          nullable: true
          description: >-
            Counterparty's ISO 3166-1 alpha-2 country code (e.g. 'US'),
            uppercased on ingest. Send it on both parties to enable the
            cross-border and foreign-origin rules
        paymentMethod:
          allOf:
            - $ref: '#/components/schemas/CryptoWallet'
          nullable: true
          description: How the counterparty paid or was paid
    CryptoDetails:
      type: object
      properties:
        asset:
          type: string
          nullable: true
          description: Asset ticker, e.g. 'BTC', 'USDT'
          maxLength: 32
        network:
          type: string
          nullable: true
          description: Chain or token standard, e.g. 'BTC', 'ERC-20'
          maxLength: 32
        txHash:
          type: string
          nullable: true
          description: On-chain transaction hash
          maxLength: 255
    CustomEventIngestRequestTypeEnum:
      enum:
        - CUSTOM_EVENT
      type: string
      description: '* `CUSTOM_EVENT` - CUSTOM_EVENT'
    Subject:
      type: object
      properties:
        id:
          type: string
          description: >-
            Your own identifier for the customer. Required: profile suspension,
            false-positive suppression and 'Customer ID' velocity and behaviour
            rules all find the customer's transactions by it
          maxLength: 255
        type:
          allOf:
            - $ref: '#/components/schemas/Type77bEnum'
          default: PERSON
          description: >-
            Whether the customer is a person or a company ('PERSON' or
            'COMPANY'). Defaults to 'PERSON'. AML screening and monitoring pick
            their datasets from it — a company screened against person datasets
            can never match — and rules can filter on it directly


            * `PERSON` - Person

            * `COMPANY` - Company
        name:
          type: string
          nullable: true
          description: Full name of the customer
          maxLength: 255
        country:
          type: string
          nullable: true
          description: >-
            Customer's ISO 3166-1 alpha-2 country code (e.g. 'US'), uppercased
            on ingest. Send it on both parties to enable the cross-border and
            foreign-origin rules
        age:
          type: integer
          minimum: 0
          nullable: true
          description: The customer's age in years, if you hold it; used by age-based rules
        riskStatus:
          type: string
          nullable: true
          description: >-
            Your own risk rating for the customer (e.g. 'LOW', 'MEDIUM',
            'HIGH'), passed through to rules unchanged
          maxLength: 32
        blacklisted:
          type: boolean
          default: false
          description: >-
            Whether you have blacklisted the customer; rules can match on it
            directly
      required:
        - id
    Type77bEnum:
      enum:
        - PERSON
        - COMPANY
      type: string
      description: |-
        * `PERSON` - Person
        * `COMPANY` - Company
    BankAccount:
      type: object
      properties:
        account:
          type: string
          nullable: true
          description: Account number or IBAN
          maxLength: 255
        bic:
          type: string
          nullable: true
          description: BIC/SWIFT code of the account's bank
          maxLength: 32
    Card:
      type: object
      properties:
        maskedPan:
          type: string
          nullable: true
          description: >-
            Card number with all but the first six and last four digits masked,
            e.g. "4111 11** **** 1111". Unmasked card numbers are rejected
          maxLength: 32
        lastFour:
          nullable: true
          description: >-
            Last four digits of the card number. Stored on its own and never
            used to identify the cardholder
          oneOf:
            - type: string
              maxLength: 4
              minLength: 4
            - type: string
              maxLength: 0
        issuer:
          type: string
          nullable: true
          description: Name of the issuing bank
          maxLength: 255
        issuerCountry:
          type: string
          nullable: true
          description: Issuing bank's ISO 3166-1 alpha-2 country code, uppercased on ingest
    CryptoWallet:
      type: object
      properties:
        walletAddress:
          type: string
          nullable: true
          description: Wallet address
          maxLength: 255
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

## Related topics

- [List submitted transactions](https://documentation.idenfy.com/api-reference/transaction-monitoring/ingest/list-submitted-transactions.md)
- [Retrieve one submitted transaction](https://documentation.idenfy.com/api-reference/transaction-monitoring/ingest/retrieve-one-submitted-transaction.md)
- [Transaction Monitoring API Webhooks](https://documentation.idenfy.com/transaction-monitoring/webhooks.md)
- [Transaction Monitoring Dashboard: Transactions](https://documentation.idenfy.com/guides/dashboard/transaction-monitoring/transactions.md)
- [Transaction Monitoring API](https://documentation.idenfy.com/transaction-monitoring/overview.md)


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