> ## 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. # Import NACHA file > Upload a NACHA file, validate via Moov, store in S3, and return parsed payment rows. 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/ach_import/nacha/import/ { "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/ach_import/nacha/import/": { "post": { "operationId": "ach_import_nacha_import_create", "description": "Upload a NACHA file, validate via Moov, store in S3, and return parsed payment rows.\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": "Import NACHA file", "parameters": [ { "in": "query", "name": "format", "schema": { "type": "string", "enum": [ "json", "toon" ] } } ], "tags": [ "ach import" ], "requestBody": { "content": { "multipart/form-data": { "schema": { "$ref": "#/components/schemas/ACHImportNACHAUploadRequest" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/ACHImportNACHAUploadRequest" } } }, "required": true }, "security": [ { "oauth2": [ "write" ] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ACHImportPaymentsResponse" } }, "application/toon": { "schema": { "$ref": "#/components/schemas/ACHImportPaymentsResponse" } } }, "description": "" } }, "x-permissions": { "allOf": [ { "feature": { "name": "ach_file_import" } }, { "anyOf": [ { "role-permission": { "model": "indigo.ACHPaymentViaImport", "operation": "write" } }, { "role-permission": { "model": "indigo.ACHPaymentCollectViaImport", "operation": "write" } } ] } ] }, "x-stoplight": { "id": "w0anb9l92l6r7" } } } }, "components": { "schemas": { "ACHImportNACHAUploadRequest": { "type": "object", "properties": { "file": { "type": "string", "format": "binary" } }, "required": [ "file" ], "x-stoplight": { "id": "4lzbivycmjmlm" } }, "ACHImportPaymentsResponse": { "type": "object", "properties": { "s3_key": { "type": "string" }, "organization_file_uuid": { "type": "string", "format": "uuid" }, "rows": { "type": "array", "items": { "$ref": "#/components/schemas/ACHImportPaymentRow" } }, "warnings": { "type": "array", "items": { "type": "string" } }, "warning_context": {} }, "required": [ "organization_file_uuid", "rows", "s3_key" ], "x-stoplight": { "id": "4dgcjcjkgdabx" } }, "ACHImportPaymentRow": { "type": "object", "properties": { "recipient": { "allOf": [ { "$ref": "#/components/schemas/Recipient" } ], "nullable": true }, "non_recipient_destination": { "allOf": [ { "$ref": "#/components/schemas/NonRecipientDestination" } ], "nullable": true }, "field_errors": { "type": "object", "additionalProperties": { "type": "string" }, "nullable": true }, "amount": { "type": "number", "format": "double", "maximum": 1000000000000000000, "minimum": -1000000000000000000, "exclusiveMaximum": true, "exclusiveMinimum": true }, "description": { "type": "string", "nullable": true }, "transaction_type": { "type": "string" }, "scheduled_date": { "type": "string", "format": "date", "nullable": true } }, "required": [ "amount", "description", "non_recipient_destination", "recipient", "scheduled_date", "transaction_type" ], "x-stoplight": { "id": "dp7uyties7opn" } }, "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" } }, "NonRecipientDestination": { "type": "object", "properties": { "routing_number": { "type": "string", "maxLength": 9 }, "account_number": { "type": "string", "maxLength": 17 }, "account_type": { "type": "string" }, "recipient_name": { "type": "string" } }, "required": [ "account_number", "account_type", "recipient_name", "routing_number" ], "x-stoplight": { "id": "vfo2dc4fk4i1y" } }, "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" } } } } } } } ````