> ## 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.

# List refused transactions

> Lists the transactions rejected at ingest because of this suspension, newest first, with whether the suspended party was the customer or the counterparty (`suspendedAs`) on each one.



## OpenAPI

````yaml /openapi/transaction-monitoring.json get /api/v1/party-suspensions/{suspension_id}/refused-transactions/
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/party-suspensions/{suspension_id}/refused-transactions/:
    get:
      tags:
        - Party suspensions
      summary: List refused transactions
      description: >-
        Lists the transactions rejected at ingest because of this suspension,
        newest first, with whether the suspended party was the customer or the
        counterparty (`suspendedAs`) on each one.
      operationId: party_suspensions_refused_transactions_list
      parameters:
        - in: query
          name: created_after
          schema:
            type: string
            format: date-time
          description: Only records created at or after this time
        - in: query
          name: created_before
          schema:
            type: string
          description: >-
            Only records created up to this bound. A date alone (`YYYY-MM-DD`)
            includes the whole of that day; a full timestamp is applied exactly
            as given
        - in: query
          name: is_test
          schema:
            type: boolean
          description: >-
            Selects test data instead of live. Omitted, the list is live-only,
            so a test integration cannot inflate what a reviewer reads; send it
            empty to get both
        - in: query
          name: party_ref
          schema:
            type: string
          description: >-
            Only suspensions whose party's `ref` (party id or account) contains
            this text
        - in: query
          name: party_ref_type
          schema:
            type: string
            enum:
              - ACCOUNT
              - PARTY_ID
          description: |-
            Whether `party_ref` is a party id or an account

            * `PARTY_ID` - Party id
            * `ACCOUNT` - Account
        - in: query
          name: status
          schema:
            type: string
            enum:
              - ACTIVE
              - LIFTED
          description: |-
            ACTIVE while the party is barred; LIFTED once an analyst lifted it

            * `ACTIVE` - Active
            * `LIFTED` - Lifted
        - in: path
          name: suspension_id
          schema:
            type: string
            format: uuid
            description: Primary key
          required: true
          description: Identifies the suspension.
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedRefusedTransactionList'
          description: ''
      security:
        - ApiKeyAuth: []
components:
  schemas:
    PaginatedRefusedTransactionList:
      type: object
      required:
        - items
        - total
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/RefusedTransaction'
        total:
          type: integer
          description: How many items the list holds
    RefusedTransaction:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
          description: Primary key
        createdAt:
          type: string
          format: date-time
          readOnly: true
        suspendedAs:
          allOf:
            - $ref: '#/components/schemas/SuspendedAsEnum'
          readOnly: true
          description: >-
            How the suspended party appeared on this transaction: as your
            customer or as the counterparty


            * `CUSTOMER` - Customer

            * `COUNTERPARTY` - Counterparty
        otherPartyName:
          type: string
          readOnly: true
          nullable: true
          description: The other party on the transaction
        amount:
          type: string
          format: decimal
          pattern: ^-?\d{0,12}(?:\.\d{0,8})?$
          readOnly: true
          nullable: true
        currency:
          type: string
          readOnly: true
          nullable: true
          description: ISO 4217 currency code, uppercased at ingest
        type:
          type: string
          readOnly: true
      required:
        - amount
        - createdAt
        - currency
        - id
        - otherPartyName
        - suspendedAs
        - type
    SuspendedAsEnum:
      enum:
        - CUSTOMER
        - COUNTERPARTY
      type: string
      description: |-
        * `CUSTOMER` - Customer
        * `COUNTERPARTY` - Counterparty
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

## Related topics

- [List transactions](https://documentation.idenfy.com/api-reference/transaction-monitoring/transactions/list-transactions.md)
- [Transaction Monitoring Dashboard: Workflows, Suspensions and Reference Lists](https://documentation.idenfy.com/guides/dashboard/transaction-monitoring/workflows-and-lists.md)
- [List a transaction's screenings](https://documentation.idenfy.com/api-reference/transaction-monitoring/sanctions-screening/list-a-transactions-screenings.md)
- [List a transaction's comments](https://documentation.idenfy.com/api-reference/transaction-monitoring/transactions/list-a-transactions-comments.md)
- [List submitted transactions](https://documentation.idenfy.com/api-reference/transaction-monitoring/ingest/list-submitted-transactions.md)


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