--- title: "Account Opening Usage" slug: "account-opening-usage" description: "Narmi Public API account opening endpoints cover JWT/CSRF authentication, workflows, and debit card or ACH funding for consumer and business apps." tags: ["JWT Authentication", "ACH Funding"] status: "new" updated: 2026-12-02T21:34:08Z published: 2026-12-02T21:34:08Z canonical: "help.narmi.com/account-opening-usage" --- > ## 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. # Account Opening Usage This article describes the primary Public API (v1) endpoints used for online account opening and recommended usage. These endpoints are available under `/v1/` and support both consumer and business applications. For the newer v2 Account Opening API, see the [Account Opening API Overview](/apihome/apidocs/account-opening-api-overview). ## Primary Account Opening Endpoints The following endpoints are used to open an account via Narmi's Public API. | Endpoint | Purpose | Details | | --- | --- | --- | | `POST /account_opening/` | Opens the Application and creates the Applicant | - Requires the Applicant's email to be collected to uniquely identify the Applicant/Application - Requires a list of applicants and selected_products (can be initially empty if desired) - Returns the Application UUID - Populates the applicant_token cookie | | `PUT /account_opening/:uuid/` | Updates the application with the desired attributes | - Used to add funding, update applicants, update selected_products, or add agreement to terms of service - Returns the updated Application JSON | | `POST /account_opening/:uuid/` | Submits the application for processing | - Requires Funding, Applicants, SelectedProducts, and Agreement to be finalized - Returns the submitted Application JSON and enqueues a task to KYC, fund, and open the account(s) on success | | `GET /account_opening/:uuid/` | Fetches the specified Application JSON | - Useful for checking the application state, applicants, selected_products, or funding | ## Example Workflow Our Account Opening product uses the following workflow to open an account. Note: It is not required to follow these steps. These steps are intended as a demonstration of one way to navigate the API. | Step | Description | | --- | --- | | Display available Products | `GET /products` | | Select desired Products | local state | | Collect Email and PersonalInfo for each Applicant | `POST /account_opening` | | Collect TIN and DoB for each Applicant | `PUT /account_opening/:uuid` | | Collect Funding information | `PUT /account_opening/:uuid`, Authorize.net Accept.js widget and 'nonce' | | Agree to Terms of Service | `PUT /account_opening/:uuid`, `{agreement: true}` | | Submit Application for processing | `POST /account_opening/:uuid` | | Poll for completed processing | `GET /account_opening/:uuid` | | If Alloy requests additional documents, render Alloy widget and re-submit | @alloyidentity/web-sdk, `POST /account_opening/:uuid/documents_requested` | | Poll for complete processing | state: 'opened' | | Display opened products | `GET /account_opening/:uuid`, under `selected_products[i].account` | | End session to enable next applicant | `DELETE /session` | ## Authentication Authentication is by JWT, which is obtained on `POST /account_opening` and stored/read from the `applicant_token` cookie. Certain endpoints (such as `GET /products`) do not require authentication, while others do (such as `GET /account_opening/:uuid`). #### CSRF Tokens Most account opening endpoints also require a CSRF token, including endpoints that don't require authentication. To get one: 1. Call `GET /csrf`. The token is returned in the `X-CSRFTOKEN` response header. 2. Send the token in the `X-CSRFTOKEN` header of your requests. The CSRF token is tied to the applicant's session: - Before the applicant has an `applicant_token` cookie, `GET /csrf` returns a token for unauthenticated requests, such as POST /account_opening. - After `POST /account_opening` sets the cookie, call `GET /csrf` again to get a token for the applicant's session. Use the new token for authenticated requests. ## Dependencies ### Funding Narmi doesn't store sensitive payment information for account applicants. Applicants can fund new accounts by debit card or by transfer from an external bank account. How it works depends on the funding providers your institution uses. Contact Narmi to confirm your setup. #### Card Funding Card funding uses either Authorize.net or Stripe. **Authorize.net:** - Use the Authorize.net Accept.js widget to securely collect the applicant's card details. The widget returns a `nonce`, which is a single-use token: [https://developer.authorize.net/api/reference/features/acceptjs.html](https://developer.authorize.net/api/reference/features/acceptjs.html) - Narmi will provide the Authorize.net Client Key and Login ID you need to get the nonce. These must match the credentials set up for your institution in Narmi. - Pass the nonce to the API. Narmi will charge the card when the application is approved. **Stripe:** - Use Stripe's client-side tools to securely collect the applicant's card details. This requires your institution's Stripe public key. - Pass the resulting Stripe token or payment method ID to the API as the `nonce`. Narmi will charge the card when the application is approved. #### External Bank Account (ACH) Funding ACH funding uses either Authorize.net or Narmi. - **Authorize.net:** The applicant's bank account details are sent to Authorize.net. Narmi doesn't store them. - **Narmi:** Narmi handles the transfer. The applicant links their bank account by instant account verification or by entering the account details manually. No Authorize.net nonce is needed. ## Related - [Account Opening API Overview](/account-opening-api-overview.md) - [Get CSRF token](/get-csrf-token.md)