> ## 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. # Send a wire using a wire template > Send a wire using an existing wire template. 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/wires/fedwire_templates/ { "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/wires/fedwire_templates/": { "post": { "operationId": "wires_fedwire_templates_create", "description": "Send a wire using an existing wire template.\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": "Send a wire using a wire template", "parameters": [ { "in": "query", "name": "format", "schema": { "type": "string", "enum": [ "json", "toon" ] } } ], "tags": [ "wires" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WireTransactionRequest" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/WireTransactionRequest" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/WireTransactionRequest" } }, "application/toon": { "schema": { "$ref": "#/components/schemas/WireTransactionRequest" } } }, "required": true }, "security": [ { "oauth2": [ "write" ] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WireTransaction" } }, "application/toon": { "schema": { "$ref": "#/components/schemas/WireTransaction" } } }, "description": "" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GeneralError" } }, "application/toon": { "schema": { "$ref": "#/components/schemas/GeneralError" } } }, "description": "" }, "409": { "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "string" }, "message": { "type": "string" } }, "example": { "id": "idempotency_key_used", "message": "Idempotency-Key is already used." } } }, "application/toon": { "schema": { "type": "object", "properties": { "id": { "type": "string" }, "message": { "type": "string" } }, "example": { "id": "idempotency_key_used", "message": "Idempotency-Key is already used." } } } }, "description": "" } }, "x-permissions": { "allOf": [ { "feature": { "name": "wire_templates", "value": "fedwire" } }, { "feature": { "name": "transfers" } }, { "feature": { "name": "wires" } }, { "role-permission": { "model": "indigo.FedwireViaTemplate", "operation": "write" } } ] }, "x-stoplight": { "id": "tzlyv4xykjd5p" } } } }, "components": { "schemas": { "WireTransactionRequest": { "type": "object", "description": "Currently, this serializer creates a WireTransaction based on an existing wire template, where the template\nprescribes every field (except a few optional fields that, if not provided, must be filled out by the wire sender).\n\nMost of the logic in this serializer is also relevant to the non-template wire sending flow, so in the near future, we should refactor\nthe non-template wire sending flow to use this serializer, and handle the template-specific validation separately.", "properties": { "wire_reason": { "type": "string", "nullable": true, "description": "Choices are configurable via Institution Settings. Please refer to Institution Settings for the most current list of wire reason types. ", "example": "Payment for a subscription service" }, "fedwire_template": { "example": "ccae3440-0c1f-45ce-9b91-57cbbb252818", "description": "The UUID of the fedwire template to use for the wire transaction.", "type": "string", "format": "uuid", "writeOnly": true }, "amount": { "type": "integer", "example": 1, "maximum": 99999999999, "minimum": 1, "description": "This value is expressed as an integer in the currency's smallest unit (e.g. cents), not as a decimal. For example, $5.00 is represented as 500 and $0.99 as 99." }, "memo": { "type": "string", "writeOnly": true, "nullable": true, "description": "Memo for the wire transaction. If not provided, the memo will be generated from the template's memo field.", "maxLength": 140, "example": "Invoice #1234" }, "version_id": { "type": "string", "writeOnly": true, "minLength": 1, "description": "The version ID of the template, based on when template or recipient details were last updated. This value is used to ensure that the template hasn't been updated since the user began drafting a wire using this template.", "example": "e28e3b5e9076550cd276ba4d0ddbc93c52a273129238f107ed599edc0483d509" } }, "required": [ "fedwire_template", "version_id" ], "x-stoplight": { "id": "68tc9fitepbjn" } }, "WireTransaction": { "type": "object", "description": "Currently, this serializer creates a WireTransaction based on an existing wire template, where the template\nprescribes every field (except a few optional fields that, if not provided, must be filled out by the wire sender).\n\nMost of the logic in this serializer is also relevant to the non-template wire sending flow, so in the near future, we should refactor\nthe non-template wire sending flow to use this serializer, and handle the template-specific validation separately.", "properties": { "id": { "type": "string", "format": "uuid", "readOnly": true }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "processed_at": { "type": "string", "format": "date-time", "readOnly": true, "nullable": true }, "from_account_display": { "example": "Checking (******7890)", "description": "The account name and masked account number.", "type": "string", "readOnly": true }, "display_state": { "example": "Submitted", "description": "The current human-readable state of the wire transaction.", "type": "string", "readOnly": true }, "to_account_institution_name": { "type": "string", "readOnly": true, "example": "LIVERMORE FALLS TR", "description": "The abbreviated, capitalized name of the destination financial institution." }, "from_account": { "type": "string", "format": "uuid", "readOnly": true, "description": "The account from which the wire transaction was sent." }, "to_account_number": { "type": "string", "readOnly": true, "example": "123456", "description": "The account number of the recipient." }, "to_account_routing_number": { "type": "string", "readOnly": true, "example": "011201995", "description": "The routing number of the recipient." }, "beneficiary_name": { "type": "string", "readOnly": true, "example": "John Doe", "description": "The name of the recipient." }, "beneficiary_address_1": { "type": "string", "readOnly": true, "example": "123 Main Street", "description": "The first line of the recipient's address." }, "beneficiary_address_2": { "type": "string", "readOnly": true, "example": "Apt 4B", "description": "The second line of the recipient's address. Usually, this is the apartment, floor, or suite." }, "beneficiary_address_3": { "type": "string", "readOnly": true, "example": "New York, NY 10017 US", "description": "The third line of the recipient's address. Usually, this is the city, state, postal code and country code." }, "memo_1": { "type": "string", "readOnly": true, "example": "The first memo line", "description": "The first 35 characters of the memo used to create the wire transaction. If the memo is longer than 35 characters, the memo will be split into additional memo lines." }, "memo_2": { "type": "string", "readOnly": true, "example": "The second memo line", "description": "Characters 36-70 of the memo used to create the wire transaction." }, "memo_3": { "type": "string", "readOnly": true, "example": "The third memo line", "description": "Characters 71-105 of the memo used to create the wire transaction." }, "memo_4": { "type": "string", "readOnly": true, "example": "The fourth memo line", "description": "Characters 106-140 of the memo used to create the wire transaction." }, "template_name": { "type": "string", "readOnly": true, "nullable": true, "example": "Construction", "description": "The name of the template used to create the wire transaction." }, "wire_reason": { "type": "string", "nullable": true, "description": "Choices are configurable via Institution Settings. Please refer to Institution Settings for the most current list of wire reason types. ", "example": "Payment for a subscription service" }, "state": { "allOf": [ { "$ref": "#/components/schemas/State428Enum" } ], "readOnly": true }, "amount": { "type": "integer", "example": 1, "maximum": 99999999999, "minimum": 1, "description": "This value is expressed as an integer in the currency's smallest unit (e.g. cents), not as a decimal. For example, $5.00 is represented as 500 and $0.99 as 99." } }, "x-stoplight": { "id": "k58fwfxw4mkym" } }, "GeneralError": { "type": "object", "properties": { "id": { "type": "string", "default": "invalid" }, "message": { "type": "string", "description": "An error response detailing the field and the nature of the error." } }, "required": [ "message" ], "x-stoplight": { "id": "v76fz3qxj5djb" } }, "State428Enum": { "enum": [ "analyzing", "on_hold", "pending", "review", "processing", "processed", "rejected", "canceled", "canceled_by_user", "awaiting_approval", "rejected_approval" ], "type": "string", "description": "* `analyzing` - Analyzing\n* `on_hold` - On hold\n* `pending` - Pending\n* `review` - Review\n* `processing` - Processing\n* `processed` - Processed (in transit)\n* `rejected` - Rejected by staff\n* `canceled` - Canceled\n* `canceled_by_user` - Canceled by user\n* `awaiting_approval` - Awaiting dual approval\n* `rejected_approval` - Dual approval rejected", "x-stoplight": { "id": "r11qj8tq1v5uc" } } }, "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" } } } } } } } ````