# Filter vendor payment methods Query vendor payment methods using flexible filter criteria with AND/OR logic. By default, only non-deleted payment methods are returned (deletedAt: { isNull: true }). Override this by explicitly setting deletedAt filter criteria. Vendor payment methods define how and where payments are sent for a specific vendor. Endpoint: POST /vendor-payment-methods/filter Version: 1.0.0 Security: BearerAuth ## Request fields (application/json): - `filter` (object) Filter criteria (optional - omit to return all vendor payment methods). Note: deletedAt automatically defaults to { isNull: true } unless explicitly overridden. Example: {"and":[{"vendorId":{"equalTo":"770e8400-e29b-41d4-a716-446655440000"}},{"isPreferred":{"equalTo":true}}]} - `filter.and` (array) All conditions must match (recursive) Example: [{"vendorId":{"equalTo":"770e8400-e29b-41d4-a716-446655440000"}},{"isPreferred":{"equalTo":true}}] - `filter.or` (array) At least one condition must match (recursive) - `filter.not` (object) Negates the filter - `filter.id` (object) Filter options for ID fields (limited operations - exact match only) - `filter.id.equalTo` (string) Exact match - `filter.id.in` (array) Matches any UUID in the array - `filter.vendorId` (object) Filter options for UUID fields (all operations) - `filter.vendorId.notEqualTo` (string) Not equal to - `filter.vendorId.notIn` (array) Does not match any UUID in the array - `filter.vendorId.isNull` (boolean) Field is null (true) or not null (false) - `filter.paymentMethodType` (object) Filter for payment method type - `filter.paymentMethodType.equalTo` (string) Payment method type Enum: "ACH_WIRE", "ZELLE", "VENMO", "ACH", "CHECK", "WIRE", "CAD_EFT", "TRIUMPH_PAY", "COMCHECK", "EFS", "ECHECK" - `filter.paymentMethodType.notEqualTo` (string) Payment method type Enum: "ACH_WIRE", "ZELLE", "VENMO", "ACH", "CHECK", "WIRE", "CAD_EFT", "TRIUMPH_PAY", "COMCHECK", "EFS", "ECHECK" - `filter.paymentMethodType.in` (array) Enum: "ACH_WIRE", "ZELLE", "VENMO", "ACH", "CHECK", "WIRE", "CAD_EFT", "TRIUMPH_PAY", "COMCHECK", "EFS", "ECHECK" - `filter.paymentMethodType.notIn` (array) Enum: "ACH_WIRE", "ZELLE", "VENMO", "ACH", "CHECK", "WIRE", "CAD_EFT", "TRIUMPH_PAY", "COMCHECK", "EFS", "ECHECK" - `filter.status` (object) Filter options for string fields - `filter.status.in` (array) Matches any value in the array - `filter.status.notIn` (array) Does not match any value in the array - `filter.status.includes` (string) Contains substring (case-insensitive) - `filter.status.notIncludes` (string) Does not contain substring (case-insensitive) - `filter.status.startsWith` (string) Starts with prefix (case-insensitive) - `filter.status.notStartsWith` (string) Does not start with prefix (case-insensitive) - `filter.status.endsWith` (string) Ends with suffix (case-insensitive) - `filter.status.notEndsWith` (string) Does not end with suffix (case-insensitive) - `filter.isPreferred` (object) Filter options for boolean fields - `filter.email` (object) Filter options for string fields - `filter.companyName` (object) Filter options for string fields - `filter.bankName` (object) Filter options for string fields - `filter.currency` (object) Filter options for string fields - `filter.paymentTermId` (object) Filter options for UUID fields (all operations) - `filter.createdAt` (object) Filter options for datetime fields - `filter.createdAt.lessThan` (string) Before this datetime - `filter.createdAt.lessThanOrEqualTo` (string) On or before this datetime - `filter.createdAt.greaterThan` (string) After this datetime - `filter.createdAt.greaterThanOrEqualTo` (string) On or after this datetime - `filter.updatedAt` (object) Filter options for datetime fields - `filter.deletedAt` (object) Filter options for datetime fields - `pageSize` (integer) Number of results per page Example: 50 - `cursor` (string) Pagination cursor for next page ## Response 200 fields (application/json): - `data` (array, required) - `data.id` (string, required) Unique vendor payment method identifier Example: "550e8400-e29b-41d4-a716-446655440000" - `data.vendorId` (string, required) Vendor profile ID (read-only after creation). This field cannot be changed after the payment method is created. Example: "770e8400-e29b-41d4-a716-446655440000" - `data.vendor` (object, required) Vendor profile reference with full details - `data.vendor.id` (string, required) Vendor UUID Example: "550e8400-e29b-41d4-a716-446655440000" - `data.vendor.key` (string,null) Client-defined reference ID if set Example: "ERP-VENDOR-ABC-001" - `data.vendor.friendlyId` (string, required) Human-readable vendor identifier Example: "V123456" - `data.vendor.name` (string, required) Vendor legal name Example: "ABC Warehouse Services" - `data.vendor.email` (string,null) Primary email address Example: "billing@abcwarehouse.com" - `data.vendor.phone` (string,null) Primary phone number Example: "+1-555-123-4567" - `data.vendor.status` (string,null) Vendor status Example: "ACTIVE" - `data.vendor.currency` (string,null) Preferred currency code (ISO 4217) Example: "USD" - `data.vendor.createdAt` (string, required) When the vendor was created Example: "2025-01-15T10:00:00Z" - `data.vendor.updatedAt` (string, required) When the vendor was last updated Example: "2025-01-15T14:30:00Z" - `data.paymentMethodType` (string, required) How payment is made Enum: "ACH_WIRE", "ZELLE", "VENMO", "ACH", "CHECK", "WIRE", "CAD_EFT", "TRIUMPH_PAY", "COMCHECK", "EFS", "ECHECK" - `data.status` (string,null) Payment method status Example: "ACTIVE" - `data.isPreferred` (boolean,null) Whether this is the preferred payment method for the vendor Example: true - `data.email` (string,null) Email address for payment notifications Example: "payments@vendor.com" - `data.phone` (string,null) Phone number for payment contact Example: "+1-555-123-4567" - `data.companyName` (string,null) Company name for this payment method (may differ from vendor name) Example: "Vendor Payments LLC" - `data.username` (string,null) Username for payment platforms (e.g., Zelle, Venmo) Example: "vendor_payments" - `data.bankName` (string,null) Bank name Example: "Chase Bank" - `data.bankAddress` (string,null) Bank address Example: "123 Bank Street, Dallas, TX 75201" - `data.accountName` (string,null) Bank account holder name Example: "Vendor Services Inc" - `data.accountNumber` (string,null) Bank account number (masked in responses) Example: "****1234" - `data.abaAch` (string,null) ABA/ACH routing number for electronic transfers Example: "021000021" - `data.wire` (string,null) Wire transfer routing number Example: "026009593" - `data.swiftCode` (string,null) SWIFT/BIC code for international transfers Example: "CHASUS33" - `data.eftInstitution` (string,null) EFT institution number (Canadian banking) Example: "001" - `data.eftTransit` (string,null) EFT transit number (Canadian banking) Example: "00010" - `data.clabe` (string,null) CLABE number (Mexican banking identifier) Example: "012180001234567897" - `data.paymentTerm` (any) Payment terms for this payment method - `data.createdAt` (string, required) When the payment method was created Example: "2025-01-15T10:00:00Z" - `data.updatedAt` (string, required) When the payment method was last updated Example: "2025-01-15T14:30:00Z" - `data.deletedAt` (string,null) When the payment method was soft deleted (null if active) - `data.deletedBy` (any) User who deleted this payment method - `pageInfo` (object, required) - `pageInfo.pageSize` (integer, required) Number of items per page Example: 50 - `pageInfo.hasNextPage` (boolean, required) Whether there are more pages Example: true - `pageInfo.hasPreviousPage` (boolean) Whether there are previous pages - `pageInfo.endCursor` (string,null) Cursor for the next page (null if no next page) Example: "eyJpZCI6IjU1MGU4NDAwLWUyOWItNDFkNC1hNzE2LTQ0NjY1NTQ0MDAwMCJ9" ## Response 400 fields (application/json): - `error` (string, required) Error code - `message` (string, required) Human-readable error message ## Response 401 fields (application/json): - `error` (string, required) Error code - `message` (string, required) Human-readable error message ## Response 500 fields (application/json): - `error` (string, required) Error code - `message` (string, required) Human-readable error message