---
updatedAt: 2026-05-27T21:49:25.000Z
agentTools:
  projectIndex: https://cubiapi.readme.io/llms.txt
---

# /incoming - GET

Searches incoming wire payments

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Wires",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://cubi-sandbox-api.customersbank.com/wires/v1"
    }
  ],
  "paths": {
    "/incoming": {
      "get": {
        "tags": [
          "IncomingWires"
        ],
        "summary": "/incoming - GET",
        "description": "Searches incoming wire payments",
        "operationId": "get-incoming",
        "parameters": [
          {
            "name": "fromDate",
            "in": "query",
            "description": "The start date from which to search",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "description": "The end date for which to search",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "accountId",
            "in": "query",
            "description": "The account ID for which to search",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "searchText",
            "in": "query",
            "description": "The omad, imad, beneficiary name, originator name, amount or status, for which to search",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "paginateResults",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "perPage",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "sortOn",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortAscending",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "filters",
            "in": "query",
            "description": "Deprecated and will be removed in a future version.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/Cubi.Common.Models.Filter"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Cubi.Common.Abstractions.Paginated_Cubi.Wires.WebApi.Dto.IncomingWireTransactionDto"
                },
                "examples": {
                  "default": {
                    "value": null
                  }
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Cubi.Common.Abstractions.Paginated_Cubi.Wires.WebApi.Dto.IncomingWireTransactionDto"
                },
                "example": {
                  "pageSize": 0,
                  "pageOffset": 0,
                  "totalPages": 0,
                  "totalItemCount": 0,
                  "items": [
                    {
                      "id": "string",
                      "amount": 0,
                      "beneficiaryAccountNumber": "string",
                      "beneficiaryAccountId": "string",
                      "isReturn": true,
                      "originalWireId": "string",
                      "originatorAccountNumber": "string",
                      "originatorName": "string",
                      "originatorAddress1": "string",
                      "originatorAddress2": "string",
                      "originatorAddress3": "string",
                      "typeSubtype": "string",
                      "receiverRoutingNumber": "string",
                      "receiverName": "string",
                      "notes": "string",
                      "imad": "string",
                      "omad": "string",
                      "completedAt": "string",
                      "beneficiaryFIIdCode": "string",
                      "beneficiaryFIId": "string",
                      "beneficiaryFIName": "string",
                      "beneficiaryFIAddress1": "string",
                      "beneficiaryFIAddress2": "string",
                      "beneficiaryFIAddress3": "string",
                      "beneficiaryIdCode": "string",
                      "beneficiaryName": "string",
                      "beneficiaryAddress1": "string",
                      "beneficiaryAddress2": "string",
                      "beneficiaryAddress3": "string",
                      "intermediateIdCode": "string",
                      "intermediateId": "string",
                      "intermediateName": "string",
                      "intermediateAddress1": "string",
                      "intermediateAddress2": "string",
                      "intermediateAddress3": "string",
                      "originatorIdCode": "string",
                      "senderName": "string",
                      "senderRoutingNumber": "string",
                      "originatorFIId": "string",
                      "originatorFIIdCode": "string",
                      "originatorFIName": "string",
                      "originatorFIAddress1": "string",
                      "originatorFIAddress2": "string",
                      "originatorFIAddress3": "string",
                      "senderReference": "string",
                      "beneficiaryReference": "string",
                      "confirmationNumber": "string",
                      "debtorAgentAccountNumber": "string",
                      "previousInstructingAgent1Id": "string",
                      "previousInstructingAgent1IdCode": "string",
                      "previousInstructingAgent1Name": "string",
                      "previousInstructingAgent1Address1": "string",
                      "previousInstructingAgent1Address2": "string",
                      "previousInstructingAgent1Address3": "string"
                    }
                  ]
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Cubi.Common.Abstractions.Paginated_Cubi.Wires.WebApi.Dto.IncomingWireTransactionDto"
                },
                "example": {
                  "pageSize": 0,
                  "pageOffset": 0,
                  "totalPages": 0,
                  "totalItemCount": 0,
                  "items": [
                    {
                      "id": "string",
                      "amount": 0,
                      "beneficiaryAccountNumber": "string",
                      "beneficiaryAccountId": "string",
                      "isReturn": true,
                      "originalWireId": "string",
                      "originatorAccountNumber": "string",
                      "originatorName": "string",
                      "originatorAddress1": "string",
                      "originatorAddress2": "string",
                      "originatorAddress3": "string",
                      "typeSubtype": "string",
                      "receiverRoutingNumber": "string",
                      "receiverName": "string",
                      "notes": "string",
                      "imad": "string",
                      "omad": "string",
                      "completedAt": "string",
                      "beneficiaryFIIdCode": "string",
                      "beneficiaryFIId": "string",
                      "beneficiaryFIName": "string",
                      "beneficiaryFIAddress1": "string",
                      "beneficiaryFIAddress2": "string",
                      "beneficiaryFIAddress3": "string",
                      "beneficiaryIdCode": "string",
                      "beneficiaryName": "string",
                      "beneficiaryAddress1": "string",
                      "beneficiaryAddress2": "string",
                      "beneficiaryAddress3": "string",
                      "intermediateIdCode": "string",
                      "intermediateId": "string",
                      "intermediateName": "string",
                      "intermediateAddress1": "string",
                      "intermediateAddress2": "string",
                      "intermediateAddress3": "string",
                      "originatorIdCode": "string",
                      "senderName": "string",
                      "senderRoutingNumber": "string",
                      "originatorFIId": "string",
                      "originatorFIIdCode": "string",
                      "originatorFIName": "string",
                      "originatorFIAddress1": "string",
                      "originatorFIAddress2": "string",
                      "originatorFIAddress3": "string",
                      "senderReference": "string",
                      "beneficiaryReference": "string",
                      "confirmationNumber": "string",
                      "debtorAgentAccountNumber": "string",
                      "previousInstructingAgent1Id": "string",
                      "previousInstructingAgent1IdCode": "string",
                      "previousInstructingAgent1Name": "string",
                      "previousInstructingAgent1Address1": "string",
                      "previousInstructingAgent1Address2": "string",
                      "previousInstructingAgent1Address3": "string"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "BadRequest",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                },
                "example": {
                  "type": "https://tools.ietf.org/html/rfc9110#section-15.5.1",
                  "title": "One or more validation errors occurred.",
                  "status": 400,
                  "traceId": "string"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                },
                "example": {
                  "type": "https://tools.ietf.org/html/rfc9110#section-15.5.2",
                  "title": "Unauthorized",
                  "status": 401,
                  "traceId": "string"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                },
                "example": {
                  "type": "https://tools.ietf.org/html/rfc9110#section-15.5.4",
                  "title": "Forbidden",
                  "status": 403,
                  "traceId": "string"
                }
              }
            }
          },
          "422": {
            "description": "UnprocessableEntity",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                },
                "example": {
                  "type": "https://tools.ietf.org/html/rfc4918#section-11.2",
                  "title": "Unprocessable Entity",
                  "status": 422,
                  "traceId": "string"
                }
              }
            }
          },
          "500": {
            "description": "InternalServerError",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                },
                "example": {
                  "type": "https://tools.ietf.org/html/rfc9110#section-15.6.1",
                  "title": "An error occurred while processing your request.",
                  "status": 500,
                  "traceId": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Cubi.Common.Abstractions.Paginated_Cubi.Wires.WebApi.Dto.IncomingWireTransactionDto": {
        "type": "object",
        "properties": {
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "pageOffset": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "totalItemCount": {
            "type": "integer",
            "format": "int32"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Cubi.Wires.WebApi.Dto.IncomingWireTransactionDto"
            }
          }
        },
        "additionalProperties": false
      },
      "Cubi.Common.Models.Filter": {
        "required": [
          "field",
          "operator",
          "value"
        ],
        "type": "object",
        "properties": {
          "value": {
            "type": "string"
          },
          "field": {
            "type": "string"
          },
          "operator": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Cubi.Wires.WebApi.Dto.IncomingWireTransactionDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The ID of the wire payment",
            "format": "uuid"
          },
          "amount": {
            "type": "number",
            "description": "The amount of the wire payment",
            "format": "double"
          },
          "beneficiaryAccountNumber": {
            "type": "string",
            "description": "The account number for the incoming wire payment"
          },
          "beneficiaryAccountId": {
            "type": "string",
            "description": "The ID of the account for the incoming wire payment",
            "format": "uuid",
            "nullable": true
          },
          "isReturn": {
            "type": "boolean",
            "description": "Indicates if the wire payment is a return payment"
          },
          "originalWireId": {
            "type": "string",
            "description": "If the wire payment is a return payment, this ID indicates the original outgoing wire payment which was returned",
            "format": "uuid",
            "nullable": true,
            "readOnly": true
          },
          "originatorAccountNumber": {
            "type": "string",
            "description": "The account number of the originator (sender)"
          },
          "originatorName": {
            "type": "string",
            "description": "The name of the originator (sender)",
            "nullable": true
          },
          "originatorAddress1": {
            "type": "string",
            "description": "The address of the originator",
            "nullable": true
          },
          "originatorAddress2": {
            "type": "string",
            "description": "The continued address of the originator",
            "nullable": true
          },
          "originatorAddress3": {
            "type": "string",
            "description": "The country code of the originator",
            "nullable": true
          },
          "typeSubtype": {
            "type": "string",
            "description": "The type and subtype of the wire payment",
            "nullable": true
          },
          "receiverRoutingNumber": {
            "type": "string",
            "description": "The receiver routing number for the wire payment",
            "nullable": true
          },
          "receiverName": {
            "type": "string",
            "description": "The receiving bank name for the wire payment",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "description": "The notes for the wire",
            "nullable": true
          },
          "imad": {
            "type": "string",
            "description": "The IMAD for the incoming wire payment",
            "nullable": true
          },
          "omad": {
            "type": "string",
            "description": "The OMAD for the incoming wire payment",
            "nullable": true
          },
          "completedAt": {
            "type": "string",
            "description": "The datetime when the wire payment was completed or received",
            "format": "date-time"
          },
          "beneficiaryFIIdCode": {
            "type": "string",
            "description": "The beneficiary bank ID code\r\nValid values are\r\nB - Bic/Swift\r\nF - Federal ABA Number\r\nD - DDA Number",
            "nullable": true
          },
          "beneficiaryFIId": {
            "type": "string",
            "description": "The beneficiary bank ID.  Typically either an ABA or a BIC",
            "nullable": true
          },
          "beneficiaryFIName": {
            "type": "string",
            "description": "The name of the beneficiary bank",
            "nullable": true
          },
          "beneficiaryFIAddress1": {
            "type": "string",
            "description": "The beneficiary bank address",
            "nullable": true
          },
          "beneficiaryFIAddress2": {
            "type": "string",
            "description": "The beneficiary bank continued address",
            "nullable": true
          },
          "beneficiaryFIAddress3": {
            "type": "string",
            "description": "The beneficiary bank country code",
            "nullable": true
          },
          "beneficiaryIdCode": {
            "type": "string",
            "description": "The beneficiary ID code.  Typically this is D for DDA\r\nValid values are\r\nB - Bic/Swift\r\nF - Federal ABA Number\r\nD - DDA Number"
          },
          "beneficiaryName": {
            "type": "string",
            "description": "The name of the beneficiary account holder",
            "nullable": true
          },
          "beneficiaryAddress1": {
            "type": "string",
            "description": "The address of the beneficiary account holder",
            "nullable": true
          },
          "beneficiaryAddress2": {
            "type": "string",
            "description": "The continued address of the beneficiary account holder",
            "nullable": true
          },
          "beneficiaryAddress3": {
            "type": "string",
            "description": "The country code of the beneficiary account holder",
            "nullable": true
          },
          "intermediateIdCode": {
            "type": "string",
            "description": "The intermediate bank ID code\r\nValid values are\r\nB - Bic/Swift\r\nF - Federal ABA Number\r\nD - DDA Number",
            "nullable": true
          },
          "intermediateId": {
            "type": "string",
            "description": "The intermediate bank ID.  Typically either an ABA or a BIC",
            "nullable": true
          },
          "intermediateName": {
            "type": "string",
            "description": "The name of the intermediary bank",
            "nullable": true
          },
          "intermediateAddress1": {
            "type": "string",
            "description": "The address of the intermediary bank",
            "nullable": true
          },
          "intermediateAddress2": {
            "type": "string",
            "description": "The continued address of the intermediary bank",
            "nullable": true
          },
          "intermediateAddress3": {
            "type": "string",
            "description": "The country code of the intermediary bank",
            "nullable": true
          },
          "originatorIdCode": {
            "type": "string",
            "description": "The originator ID or account number",
            "nullable": true
          },
          "senderName": {
            "type": "string",
            "description": "The name of the sending financial institution",
            "nullable": true
          },
          "senderRoutingNumber": {
            "type": "string",
            "description": "The routing number of the sending institution",
            "nullable": true
          },
          "originatorFIId": {
            "type": "string",
            "description": "The originator bank ID. Typically either an ABA or a BIC\r\nIn the event that the sending bank does not provide a memberId or BIC in the debtor agent field, \r\nthis field will contain the ID of the earliest financial institution in the payment chain.  Therefore, this\r\nfield will be populated with the first non null value in the ISO message, by looking at the following values in this order:\r\nDebtorAgent.MemberId, DebtorAgent.Bic, PreviousInstructingAgent1.MemberId, PreviousInstructingAgent1.Bic,\r\nPreviousInstructingAgent2.MemberId, PreviousInstructingAgent2.Bic, PreviousInstructingAgent3.MemberId, PreviousInstructingAGent3.Bic,\r\nPreviousInstructingAgent4.MemberId, PreviousInstructingAgent4.Bic, InstructingAgent.MemberId",
            "nullable": true
          },
          "originatorFIIdCode": {
            "type": "string",
            "description": "The originator bank ID code\r\nValid values are\r\nB - Bic/Swift\r\nF - Federal ABA Number\r\nD - DDA Number",
            "nullable": true
          },
          "originatorFIName": {
            "type": "string",
            "description": "The name of the originator bank",
            "nullable": true
          },
          "originatorFIAddress1": {
            "type": "string",
            "description": "The address of the originator bank",
            "nullable": true
          },
          "originatorFIAddress2": {
            "type": "string",
            "description": "The continued address of the originator bank",
            "nullable": true
          },
          "originatorFIAddress3": {
            "type": "string",
            "description": "The country code of the originator bank",
            "nullable": true
          },
          "senderReference": {
            "type": "string",
            "description": "The sender reference notes for the incoming wire. This is sourced from the 3320 section of the fedwire",
            "nullable": true
          },
          "beneficiaryReference": {
            "type": "string",
            "description": "The beneficiary references notes for the incoming wire.  This is sourced from the 4320 block of the fedwire file",
            "nullable": true
          },
          "confirmationNumber": {
            "type": "string",
            "description": "The confirmation number for the posted payment.  If present, this can be used to reconcile/match the payment to an underlying transaction",
            "nullable": true
          },
          "debtorAgentAccountNumber": {
            "type": "string",
            "description": "The debtor agent account number.",
            "nullable": true
          },
          "previousInstructingAgent1Id": {
            "type": "string",
            "description": "The previous instructing agent 1 bank ID. Typically either an ABA or a BIC",
            "nullable": true
          },
          "previousInstructingAgent1IdCode": {
            "type": "string",
            "description": "The previous instructing agent 1 bank ID code\r\nValid values are\r\nB - Bic/Swift\r\nF - Federal ABA Number\r\nD - DDA Number",
            "nullable": true
          },
          "previousInstructingAgent1Name": {
            "type": "string",
            "description": "The name of the previous instructing agent 1 bank",
            "nullable": true
          },
          "previousInstructingAgent1Address1": {
            "type": "string",
            "description": "The address of the previous instructing agent 1 bank",
            "nullable": true
          },
          "previousInstructingAgent1Address2": {
            "type": "string",
            "description": "The continued address of the previous instructing agent 1 bank",
            "nullable": true
          },
          "previousInstructingAgent1Address3": {
            "type": "string",
            "description": "The country code of the previous instructing agent 1 bank",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Microsoft.AspNetCore.Mvc.ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "traceId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": {}
      },
      "Microsoft.AspNetCore.Mvc.ValidationProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "traceId": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        },
        "additionalProperties": {}
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": true
  }
}
```