> ## Documentation Index > Fetch the complete documentation index at: https://help.narmi.com/llms.txt > Use this file to discover all available pages before exploring further. # Create or update recipients with Fedwire details for wire file import > Create or update multiple recipients and their Fedwire destinations in a single request. For each row: if a uuid is provided, the existing recipient is updated and the user must have recipient write permission; if no uuid is provided, a new hidden recipient is created with a FedwireDestination and Address. Used by the domestic wire file import flow to persist edits made on the recipient review screen. Validation is all-or-nothing: if any row has errors, no changes are persisted and a 400 response is returned with per-row error details in {errors: [{index, errors}]}. All monetary values are represented in minor units, or the smallest unit of the currency with no decimal (e.g., cents). For example, $10.00 is represented as 1000. How can we improve these docs? Share your feedback. ## OpenAPI ````json POST /v1/recipients/wire_import_recipients/ { "openapi": "3.0.3", "info": { "title": "Narmi Public API", "version": "v1 (main)", "description": "To read about Public API access and authentication, go to [API Overview](https://docs.narmi.com/docs/narmi-developer-docs/xl9dvbz84o11l-introduction).\n\n### Content types\n\nRequests and responses default to JSON. To use [TOON](https://toonformat.dev/) (Token-Oriented Object Notation), a compact, lossless encoding of JSON that uses fewer tokens in LLM contexts, send `Content-Type: application/toon` for request bodies and `Accept: application/toon` for responses.", "termsOfService": "https://www.narmi.com/policies/developer-terms-conditions", "contact": { "name": "Narmi Support", "email": "support@narmi.com" } }, "servers": [ { "url": "https://api.sandbox.narmi.dev/", "description": "" } ], "tags": [ { "name": "accessibility" }, { "name": "account balances" }, { "name": "account opening" }, { "name": "accounts" }, { "name": "ach companies" }, { "name": "ach destinations" }, { "name": "ach import" }, { "name": "ach nacha passthrough" }, { "name": "ach payments" }, { "name": "ach transfers" }, { "name": "alerts" }, { "name": "automatic savings enrollment" }, { "name": "bill pay" }, { "name": "bulk payment templates" }, { "name": "bulk payments" }, { "name": "card linked offers" }, { "name": "cards" }, { "name": "data access management" }, { "name": "deposits" }, { "name": "documents" }, { "name": "enrollments" }, { "name": "express-checkout" }, { "name": "external transactions" }, { "name": "fedwire destinations" }, { "name": "fedwire templates" }, { "name": "file imports" }, { "name": "income source" }, { "name": "instant transfers" }, { "name": "institution" }, { "name": "international wires" }, { "name": "invoices" }, { "name": "loan autopay" }, { "name": "me" }, { "name": "merchants" }, { "name": "mfa" }, { "name": "payees" }, { "name": "payments" }, { "name": "ping" }, { "name": "receipts" }, { "name": "recipients" }, { "name": "reports" }, { "name": "same-day transfers" }, { "name": "scheduled transfers" }, { "name": "search" }, { "name": "subscriptions" }, { "name": "support" }, { "name": "surveys" }, { "name": "swift transactions" }, { "name": "swift wire templates" }, { "name": "teams" }, { "name": "threads" }, { "name": "transactions" }, { "name": "unverified ach reversals" }, { "name": "unverified ach transactions" }, { "name": "users" }, { "name": "whatismyip" }, { "name": "wire import" }, { "name": "wire recipients" }, { "name": "wires" } ], "x-stoplight": { "id": "68n444msv6n7x" }, "paths": { "/v1/recipients/wire_import_recipients/": { "post": { "operationId": "recipients_wire_import_recipients_create", "description": "Create or update multiple recipients and their Fedwire destinations in a single request. For each row: if a uuid is provided, the existing recipient is updated and the user must have recipient write permission; if no uuid is provided, a new hidden recipient is created with a FedwireDestination and Address. Used by the domestic wire file import flow to persist edits made on the recipient review screen. Validation is all-or-nothing: if any row has errors, no changes are persisted and a 400 response is returned with per-row error details in {errors: [{index, errors}]}.\n\nAll monetary values are represented in minor units, or the smallest unit of the currency with no decimal (e.g., cents). For example, $10.00 is represented as 1000.\n\n\n\nHow can we improve these docs? Share your feedback.", "summary": "Create or update recipients with Fedwire details for wire file import", "parameters": [ { "in": "query", "name": "format", "schema": { "type": "string", "enum": [ "json", "toon" ] } }, { "name": "limit", "required": false, "in": "query", "description": "Number of results to return per page.", "schema": { "type": "integer" } }, { "name": "offset", "required": false, "in": "query", "description": "The initial index from which to return the results.", "schema": { "type": "integer" } } ], "tags": [ "recipients" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WireImportRecipientRequestRequest" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/WireImportRecipientRequestRequest" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/WireImportRecipientRequestRequest" } }, "application/toon": { "schema": { "$ref": "#/components/schemas/WireImportRecipientRequestRequest" } } }, "required": true }, "security": [ { "oauth2": [ "banking:recipients:write" ] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PaginatedRecipientList" } }, "application/toon": { "schema": { "$ref": "#/components/schemas/PaginatedRecipientList" } } }, "description": "" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WireImportRecipientErrorResponse" } }, "application/toon": { "schema": { "$ref": "#/components/schemas/WireImportRecipientErrorResponse" } } }, "description": "Per-row validation errors. No changes are persisted." }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PermissionDeniedError" } }, "application/toon": { "schema": { "$ref": "#/components/schemas/PermissionDeniedError" } } }, "description": "" } }, "x-permissions": { "allOf": [ { "feature": { "name": "domestic_wire_file_import" } }, { "role-permission": { "model": "indigo.DomesticWireImport", "operation": "write" } } ] }, "x-stoplight": { "id": "ykmazdwdavaq4" } } } }, "components": { "schemas": { "WireImportRecipientRequestRequest": { "type": "object", "description": "Serializer for the wire import recipients request body.", "properties": { "rows": { "type": "array", "items": { "$ref": "#/components/schemas/WireImportRecipientRowRequest" }, "description": "Array of wire recipient rows to create or update." } }, "required": [ "rows" ], "x-stoplight": { "id": "u4lgvkem0nudp" } }, "PaginatedRecipientList": { "type": "object", "required": [ "count", "results" ], "properties": { "count": { "type": "integer", "example": 123 }, "next": { "type": "string", "nullable": true, "format": "uri", "example": "http://api.example.org/accounts/?offset=400&limit=100" }, "previous": { "type": "string", "nullable": true, "format": "uri", "example": "http://api.example.org/accounts/?offset=200&limit=100" }, "results": { "type": "array", "items": { "$ref": "#/components/schemas/Recipient" } } }, "x-stoplight": { "id": "rzjbbg1xbpys1" } }, "WireImportRecipientErrorResponse": { "type": "object", "description": "Schema for the 400 error response from the wire import recipients endpoint.", "properties": { "errors": { "type": "array", "items": { "$ref": "#/components/schemas/WireImportRecipientRowError" }, "description": "Per-row validation errors." } }, "required": [ "errors" ], "x-stoplight": { "id": "62cvqccwyowdo" } }, "PermissionDeniedError": { "type": "object", "properties": { "id": { "type": "string", "default": "permission_denied" }, "message": { "type": "string", "default": "You do not have permission to perform this action.", "description": "An error response detailing the field and the nature of the error." } }, "x-stoplight": { "id": "ywbohhxwqjqj3" } }, "WireImportRecipientRowRequest": { "type": "object", "description": "Serializer for a single row in the wire import recipients request.", "properties": { "uuid": { "type": "string", "format": "uuid", "description": "UUID of an existing recipient to update. Omit to create a new one." }, "name": { "type": "string", "minLength": 1, "description": "Recipient name.", "maxLength": 140 }, "routing_number": { "type": "string", "minLength": 1, "description": "Fedwire routing number.", "maxLength": 9 }, "account_number": { "type": "string", "minLength": 1, "description": "Fedwire account number.", "maxLength": 17 }, "street_address": { "type": "string", "minLength": 1, "description": "Recipient street address.", "maxLength": 35 }, "city": { "type": "string", "minLength": 1, "description": "Recipient city.", "maxLength": 35 }, "region_code": { "type": "string", "minLength": 1, "description": "Recipient state/region code.", "maxLength": 35 }, "postal_code": { "type": "string", "minLength": 1, "description": "Recipient postal code.", "maxLength": 35 } }, "required": [ "account_number", "city", "name", "postal_code", "region_code", "routing_number", "street_address" ], "x-stoplight": { "id": "w6rxfavmei0zw" } }, "Recipient": { "type": "object", "description": "`ach_destination`, `fedwire_destination` and `swift_destination`, when provided on create or update, set the\nrecipient's destination of that type; when omitted, it is left unchanged.", "properties": { "id": { "type": "string", "format": "uuid", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true }, "name": { "type": "string", "description": "Used to formally identify the recipient (e.g. for sending fedwires.)", "maxLength": 140 }, "nickname": { "type": "string", "description": "Name used internally to more easily identify the recipient.", "maxLength": 256 }, "type": { "allOf": [ { "$ref": "#/components/schemas/Type678Enum" } ], "default": "person" }, "hidden": { "type": "boolean", "default": false, "description": "Whether the recipient is hidden from user-facing recipient lists." }, "ach_destination": { "allOf": [ { "$ref": "#/components/schemas/RecipientACHDetails" } ], "description": "A dictionary containing the destination (account number & routing number), account type (e.g. 'checking'), and account purpose ('personal' or 'business') for the ACH destination. A null value reflects that the recipient does not have an ACH destination. When omitted from a create or update request, the recipient's ACH destination is left unchanged." }, "fedwire_destination": { "allOf": [ { "$ref": "#/components/schemas/RecipientFedwireDestination" } ], "description": "A dictionary containing the destination (account number & routing number) and address for the Fedwire destination. A null value reflects that the recipient does not have a Fedwire destination. When omitted from a create or update request, the recipient's Fedwire destination is left unchanged." }, "swift_destination": { "allOf": [ { "$ref": "#/components/schemas/RecipientSwiftWireDestination" } ], "description": "A dictionary containing the destination (bic, iban) and address for the Swift destination. A null value reflects that the recipient does not have a Swift destination. When omitted from a create or update request, the recipient's Swift destination is left unchanged." } }, "required": [ "name" ], "x-stoplight": { "id": "buqdhdq6mraig" } }, "WireImportRecipientRowError": { "type": "object", "description": "Schema for a single row's validation errors in the wire import recipients error response.", "properties": { "index": { "type": "integer", "description": "Zero-based index of the row that failed validation." }, "errors": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Map of field name to error message." } }, "required": [ "errors", "index" ], "x-stoplight": { "id": "jgvg7aoh7kmwd" } }, "Type678Enum": { "enum": [ "person", "business" ], "type": "string", "description": "* `person` - Person\n* `business` - Business", "x-stoplight": { "id": "2dpmozedfvuat" } }, "RecipientACHDetails": { "type": "object", "description": "ACH details nested in a recipient, where the recipient is the one being read or saved.", "properties": { "id": { "type": "string", "format": "uuid", "readOnly": true }, "account_number": { "example": "123456", "description": "Account number for the ACH destination.", "type": "string", "maxLength": 17, "minLength": 1 }, "routing_number": { "example": "021030004", "description": "Routing number for the ACH destination.", "type": "string", "maxLength": 9, "minLength": 9 }, "account_type": { "$ref": "#/components/schemas/AccountTypeEnum" }, "account_purpose": { "$ref": "#/components/schemas/AccountPurposeEnum" }, "institution_name": { "type": "string", "readOnly": true } }, "required": [ "account_number", "account_purpose", "account_type", "routing_number" ], "x-stoplight": { "id": "2ytjkwnyubcml" } }, "RecipientFedwireDestination": { "type": "object", "description": "Fedwire details nested in a recipient, where the recipient is the one being read or saved.", "properties": { "id": { "type": "string", "format": "uuid", "readOnly": true }, "account_number": { "example": "123456", "description": "Account number for the Fedwire destination.", "type": "string", "maxLength": 17, "minLength": 1 }, "routing_number": { "example": "021030004", "description": "Routing number for the Fedwire destination.", "type": "string", "maxLength": 9, "minLength": 9 }, "address": { "$ref": "#/components/schemas/FedwireRecipientAddress" }, "institution_name": { "type": "string", "readOnly": true } }, "required": [ "account_number", "address", "routing_number" ], "x-stoplight": { "id": "l6a5iw1a2f2uf" } }, "RecipientSwiftWireDestination": { "type": "object", "description": "Swift details nested in a recipient, where the recipient is the one being read or saved.", "properties": { "id": { "type": "string", "format": "uuid", "readOnly": true }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true }, "bic": { "type": "string", "nullable": true, "description": "BIC code for the Swift wire destination. Required when correspondent_bank_bic is not provided." }, "metadata": {}, "address": { "$ref": "#/components/schemas/WireRecipientAddress" }, "account_identifier": { "type": "string", "description": "Account identifier (IBAN, account number, phone) for the Swift wire destination." }, "branch_address": { "allOf": [ { "$ref": "#/components/schemas/WireRecipientAddress" } ], "nullable": true }, "institution_name": { "type": "string", "nullable": true, "readOnly": true, "description": "Human-readable institution name resolved from the BIC code." }, "correspondent_bank_bic": { "type": "string", "nullable": true } }, "required": [ "account_identifier", "address" ], "x-stoplight": { "id": "ztwdzzgv9yakb" } }, "AccountTypeEnum": { "enum": [ "checking", "savings", "loan" ], "type": "string", "description": "* `checking` - Checking\n* `savings` - Savings\n* `loan` - Loan", "x-stoplight": { "id": "ds0e59zxe4i8q" } }, "AccountPurposeEnum": { "enum": [ "personal", "business" ], "type": "string", "description": "* `personal` - Personal\n* `business` - Business", "x-stoplight": { "id": "ccf1svqamabvv" } }, "FedwireRecipientAddress": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "street_address": { "type": "string", "maxLength": 35 }, "street_address_2": { "type": "string", "maxLength": 35 }, "city": { "type": "string", "maxLength": 128 }, "region_code": { "type": "string", "maxLength": 128 }, "postal_code": { "type": "string", "maxLength": 128 }, "country_code": { "type": "string", "maxLength": 2 } }, "required": [ "street_address" ], "x-stoplight": { "id": "alp6ww1u4r5wf" } }, "WireRecipientAddress": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "street_address": { "type": "string", "maxLength": 128, "example": "123 Fake Street" }, "street_address_2": { "type": "string", "maxLength": 128, "example": "Apt 4B" }, "city": { "type": "string", "maxLength": 128, "example": "New York" }, "region_code": { "type": "string", "maxLength": 128, "example": "NY" }, "postal_code": { "type": "string", "maxLength": 128, "example": "10021" }, "country_code": { "type": "string", "maxLength": 2, "example": "US" } }, "required": [ "street_address" ], "x-stoplight": { "id": "dsp8dadbgwst0" } } }, "securitySchemes": { "oauth2": { "type": "oauth2", "flows": { "authorizationCode": { "authorizationUrl": "/v2/oauth/authorize/", "tokenUrl": "/v2/oauth/token/", "refreshUrl": "/v2/oauth/token/", "scopes": { "introspection": "Permit introspection on a valid active bearer token.", "openid": "OpenID Connect scope", "offline_access": "Includes long-lived refresh token along with access token", "claudeai": "Authorizes access to Claude AI services.", "read": "View your banking data.", "write": "Update your data", "banking:accounts:read": "Can read account information.", "banking:transactions:read": "Can read transaction information.", "banking:scheduled_transfers:read": "Can read scheduled transfer information.", "banking:scheduled_transfers:write": "Can create and update scheduled transfers.", "banking:accounts:write": "Can update account information.", "banking:transactions:write": "Can update transaction information.", "banking:users:read": "Can read user profile information.", "banking:users:write": "Can update user profile information.", "banking:products:read": "Can read product information.", "banking:documents:read": "Can read user statements and documents.", "banking:documents:write": "Can create and download document archives.", "banking:support_schedules:read": "Can read institution schedule and Federal Reserve holiday information.", "banking:payees:read": "Can read bill pay payee information.", "banking:payees:write": "Can create, update, and delete bill pay payees.", "banking:payments:read": "Can read bill pay payment information.", "banking:payments:write": "Can create and delete bill pay payments.", "banking:deposits:read": "Can read deposit information.", "banking:deposits:write": "Can create and update deposits.", "banking:recipients:read": "Can read recipient information.", "banking:recipients:write": "Can create and update recipients.", "banking:subscriptions:read": "Can read webhook subscription information.", "banking:subscriptions:write": "Can create and update webhook subscriptions.", "banking:transfers:read": "Can read transfer information.", "banking:transfers:write": "Can create transfers.", "banking:wires:read": "Can read wire information.", "banking:wires:write": "Can create wires.", "profile": "Standard claim for extended user information", "email": "User registered email address", "write:preferences": "Read and write user preferences", "read:profile": "Access extended information about the user including address" } } } } } } } ````