> ## 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 account application > Create a new AccountApplication for consumer or business account opening. Authentication required: - None (creates new session) Security required: - CSRF token under `HTTP_X_CSRFTOKEN`, `X-CSRFTOKEN`, or `CSRF_COOKIE` header Note: Application `id` is the `uuid` used in `/account_opening/:uuid` Side effects: - Creates Applicant or finds existing via `email` - Errors if Applicant has incomplete Application in progress (use `PUT /account_opening/:uuid` instead) - Sets JWT auth token in `applicant_token` HTTP-only cookie Edge cases: - Returns `email_verification` error if applicant exists and needs to verify email (non-production shows verification link) - Returns `existing_user` error if email belongs to an existing Digital Banking user - Returns `consumer_already_exists` if tax ID matches existing core user (when `existing_user_account_opening` feature enabled) - A second applicant in `applicants` must include `tax_id` and `date_of_birth` - When the email belongs to an existing applicant, both are verified against the stored values and a mismatch returns a 422 - With `INSTITUTION_REQUIRE_MINOR_AS_PRIMARY_APPLICANT` on, a consumer co-applicant under 18 returns a 422 - This applies whatever the primary applicant's age, and the message is generic - Staff users can create applications for in-branch AO How can we improve these docs? Share your feedback. ## OpenAPI ````json POST /v1/account_opening/ { "openapi": "3.0.3", "info": { "title": "Narmi Account Opening API", "version": "v1 (main)", "description": "To read about the primary endpoints required for Online Account Opening and recommended usage, go to [Account Opening Usage](https://narmi.stoplight.io/docs/narmi-developer-docs/i365qm2g7lq69-account-opening-usage).", "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": "account opening" }, { "name": "csrf" }, { "name": "products" }, { "name": "session" } ], "x-stoplight": { "id": "j1gfsrho7eeyd" }, "paths": { "/v1/account_opening/": { "post": { "operationId": "POST New AccountApplication", "description": "Create a new AccountApplication for consumer or business account opening.\n\nAuthentication required:\n- None (creates new session)\n\nSecurity required:\n- CSRF token under `HTTP_X_CSRFTOKEN`, `X-CSRFTOKEN`, or `CSRF_COOKIE` header\n\nNote: Application `id` is the `uuid` used in `/account_opening/:uuid`\n\n\nSide effects:\n- Creates Applicant or finds existing via `email`\n- Errors if Applicant has incomplete Application in progress (use `PUT /account_opening/:uuid` instead)\n- Sets JWT auth token in `applicant_token` HTTP-only cookie\n\nEdge cases:\n- Returns `email_verification` error if applicant exists and needs to verify email (non-production shows verification link)\n- Returns `existing_user` error if email belongs to an existing Digital Banking user\n- Returns `consumer_already_exists` if tax ID matches existing core user (when `existing_user_account_opening` feature enabled)\n- A second applicant in `applicants` must include `tax_id` and `date_of_birth`\n - When the email belongs to an existing applicant, both are verified against the stored values and a mismatch returns a 422\n- With `INSTITUTION_REQUIRE_MINOR_AS_PRIMARY_APPLICANT` on, a consumer co-applicant under 18 returns a 422\n - This applies whatever the primary applicant's age, and the message is generic\n- Staff users can create applications for in-branch AO\n\n\n\nHow can we improve these docs? Share your feedback.", "summary": "Create account application", "parameters": [ { "in": "query", "name": "format", "schema": { "type": "string", "enum": [ "json", "toon" ] } } ], "tags": [ "account opening" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NewApplicationCreateContactInfo" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/NewApplicationCreateContactInfo" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/NewApplicationCreateContactInfo" } }, "application/toon": { "schema": { "$ref": "#/components/schemas/NewApplicationCreateContactInfo" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SwaggerAccountApplicationCreateResponse" } }, "application/toon": { "schema": { "$ref": "#/components/schemas/SwaggerAccountApplicationCreateResponse" } } }, "description": "" }, "400": { "description": "Invalid recaptcha" }, "403": { "description": "Business Account Opening must be enabled" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PublicApiError" }, "examples": { "Application/json": { "value": { "id": "invalid_request_error", "message": "Invalid email provided,Invalid product selected" }, "summary": "application/json" } } }, "application/toon": { "schema": { "$ref": "#/components/schemas/PublicApiError" }, "examples": { "Application/json": { "value": { "id": "invalid_request_error", "message": "Invalid email provided,Invalid product selected" }, "summary": "application/json" } } } }, "description": "Unprocessable Entity" } }, "x-stoplight": { "id": "tcr8nn0vv0pd4" } } } }, "components": { "schemas": { "NewApplicationCreateContactInfo": { "type": "object", "description": "Serialize request parameters to open an application in POST /account_application\n- currently only used to autodocument request parameters via DRF-yasg, though could be used more", "properties": { "email": { "type": "string" }, "applicants": { "type": "array", "items": { "$ref": "#/components/schemas/AccountApplicant" } }, "selected_products": { "type": "array", "items": { "$ref": "#/components/schemas/ApplicantProduct" } } }, "required": [ "applicants", "email", "selected_products" ], "x-stoplight": { "id": "qkqlfwmuisjfc" } }, "SwaggerAccountApplicationCreateResponse": { "type": "object", "properties": { "token": { "type": "string", "readOnly": true }, "application": { "allOf": [ { "$ref": "#/components/schemas/SwaggerApplicantAccountApplicationResponse" } ], "readOnly": true } }, "required": [ "application", "token" ], "x-stoplight": { "id": "f9kojmkakf4ti" } }, "PublicApiError": { "type": "object", "properties": { "id": { "type": "string" }, "message": { "type": "string" } }, "required": [ "id" ], "x-stoplight": { "id": "fyjwszire2cma" } }, "AccountApplicant": { "type": "object", "properties": { "id": { "type": "string", "readOnly": true }, "first_name": { "type": "string" }, "middle_name": { "type": "string", "nullable": true, "default": "" }, "last_name": { "type": "string" }, "tax_id": { "type": "string", "writeOnly": true, "pattern": "^((\\d{3}-\\d{2}-\\d{4})|\\d{9})$" }, "date_of_birth": { "type": "string", "format": "date", "writeOnly": true }, "phone": { "type": "string", "nullable": true }, "international_phone_number": { "type": "string", "nullable": true }, "tax_residency_status": { "allOf": [ { "$ref": "#/components/schemas/TaxResidencyStatusEnum" } ], "readOnly": true }, "email": { "type": "string", "format": "email" }, "address": { "allOf": [ { "$ref": "#/components/schemas/Address" } ], "nullable": true }, "mailing_address": { "allOf": [ { "$ref": "#/components/schemas/Address" } ], "nullable": true }, "is_primary": { "type": "boolean" }, "is_control_person": { "type": "boolean" }, "business_ownership_percentage": { "type": "number", "format": "double", "maximum": 1.0, "minimum": 0.0, "nullable": true, "default": 0.0 }, "kyc_id": { "type": "string", "readOnly": true }, "kyc_link": { "type": "string", "readOnly": true }, "kyc_status": { "type": "string", "readOnly": true }, "has_tax_id": { "type": "boolean", "readOnly": true }, "has_date_of_birth": { "type": "boolean", "readOnly": true }, "is_below_sole_applicant_age": { "type": "boolean", "nullable": true, "readOnly": true }, "occupation": { "type": "string", "nullable": true, "default": "" }, "employer": { "type": "string", "nullable": true, "default": "", "maxLength": 128 }, "language": { "type": "string", "nullable": true, "default": "" }, "alias": { "type": "string", "nullable": true, "default": "" }, "user": { "allOf": [ { "$ref": "#/components/schemas/Profile" } ], "readOnly": true }, "role": { "type": "string", "nullable": true, "default": "" }, "is_authorized_signer": { "type": "boolean" }, "is_responsible_individual": { "type": "boolean" }, "is_info_only": { "type": "boolean" }, "is_existing_user": { "type": "boolean", "readOnly": true }, "personal_info_completed_by": { "type": "string", "nullable": true, "default": "" }, "last_complete_info_email_sent_on": { "type": "string", "format": "date-time", "nullable": true }, "direct_deposit_setup_completed": { "type": "boolean", "readOnly": true }, "data_source": { "nullable": true, "oneOf": [ { "$ref": "#/components/schemas/DataSourceEnum" }, { "$ref": "#/components/schemas/NullEnum" } ] }, "is_pending_personal_info": { "type": "boolean", "readOnly": true } }, "required": [ "direct_deposit_setup_completed", "has_date_of_birth", "has_tax_id", "id", "is_below_sole_applicant_age", "is_existing_user", "is_pending_personal_info", "kyc_id", "kyc_link", "kyc_status", "tax_residency_status", "user" ], "x-stoplight": { "id": "hvwmd7murigha" } }, "ApplicantProduct": { "type": "object", "properties": { "id": { "type": "string" }, "uuid": { "type": "string", "format": "uuid" }, "selection_id": { "type": "string", "format": "uuid" }, "features": {}, "name": { "type": "string" }, "description": { "type": "string" }, "category": { "type": "string" }, "minimum_balance": { "type": "integer", "example": 100, "maximum": 999999999999999, "minimum": 0, "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." }, "maximum_balance": { "type": "integer", "example": 100, "maximum": 999999999999999, "minimum": -999999999999999, "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.", "nullable": true }, "required": { "type": "boolean" }, "debit_card_required": { "type": "boolean" }, "recommended": { "type": "boolean" }, "options": { "$ref": "#/components/schemas/ProductOptions" }, "amount": { "type": "integer", "example": 100, "maximum": 999999999999999, "minimum": 0, "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.", "nullable": true }, "account": { "readOnly": true }, "exclusive_application_types": { "readOnly": true }, "disclosures": { "type": "array", "items": { "$ref": "#/components/schemas/Disclosure" } }, "account_activity_questions": { "type": "array", "items": { "$ref": "#/components/schemas/AccountActivityQuestion" } }, "can_add_beneficiaries": { "type": "boolean" }, "ao_flow_category": { "type": "string" }, "metadata": {} }, "required": [ "account", "exclusive_application_types", "id" ], "x-stoplight": { "id": "vmjrdn4m8jlqw" } }, "SwaggerApplicantAccountApplicationResponse": { "type": "object", "properties": { "id": { "type": "string", "readOnly": true }, "number": { "type": "string", "readOnly": true }, "eligibility_answers": { "type": "object", "additionalProperties": {}, "readOnly": true }, "due_diligence_answers": { "type": "array", "items": { "type": "object", "additionalProperties": {} }, "readOnly": true }, "saved_primary_core_user_id": { "type": "string", "readOnly": true, "nullable": true }, "core_users": { "type": "array", "items": { "type": "object", "additionalProperties": { "type": "string", "nullable": true } }, "readOnly": true }, "selected_products": { "type": "array", "items": { "$ref": "#/components/schemas/ApplicantProduct" } }, "applicants": { "type": "array", "items": { "$ref": "#/components/schemas/AccountApplicant" }, "readOnly": true }, "organization": { "$ref": "#/components/schemas/AccountApplicationOrganizationModel" }, "document": { "type": "string", "format": "uri", "nullable": true }, "document_type": { "type": "string" }, "applier_uuid": { "type": "string", "format": "uuid", "nullable": true }, "documents": { "type": "object", "properties": { "dba_certificate": { "type": "object", "properties": { "filename": { "type": "string" }, "secure_url": { "type": "string", "format": "uri" } }, "required": [ "filename", "secure_url" ], "additionalProperties": false }, "articles_of_organization": { "type": "object", "properties": { "filename": { "type": "string" }, "secure_url": { "type": "string", "format": "uri" } }, "required": [ "filename", "secure_url" ], "additionalProperties": false }, "ein_verification_letter": { "type": "object", "properties": { "filename": { "type": "string" }, "secure_url": { "type": "string", "format": "uri" } }, "required": [ "filename", "secure_url" ], "additionalProperties": false }, "business_registration": { "type": "object", "properties": { "filename": { "type": "string" }, "secure_url": { "type": "string", "format": "uri" } }, "required": [ "filename", "secure_url" ], "additionalProperties": false }, "nonprofit_bylaws": { "type": "object", "properties": { "filename": { "type": "string" }, "secure_url": { "type": "string", "format": "uri" } }, "required": [ "filename", "secure_url" ], "additionalProperties": false }, "personal_id": { "type": "object", "properties": { "filename": { "type": "string" }, "secure_url": { "type": "string", "format": "uri" } }, "required": [ "filename", "secure_url" ], "additionalProperties": false }, "other": { "type": "object", "properties": { "filename": { "type": "string" }, "secure_url": { "type": "string", "format": "uri" } }, "required": [ "filename", "secure_url" ], "additionalProperties": false } }, "additionalProperties": false, "readOnly": true }, "funding": { "$ref": "#/components/schemas/AccountFunding" }, "opt_out_funding": { "type": "boolean" }, "has_joint_applicant": { "type": "boolean" }, "is_existing_on_core": { "type": "boolean" }, "total_amount": { "type": "number", "format": "double" }, "state": { "allOf": [ { "$ref": "#/components/schemas/StateEnum" } ], "readOnly": true }, "application_type": { "readOnly": true, "nullable": true, "oneOf": [ { "$ref": "#/components/schemas/ApplicationTypeEnum" }, { "$ref": "#/components/schemas/NullEnum" } ] }, "referral_code": { "allOf": [ { "$ref": "#/components/schemas/ApplicationReferralCode" } ], "nullable": true }, "metadata": { "nullable": true }, "manual_id_entry": { "writeOnly": true }, "agreement": { "type": "boolean", "description": "In order for an account application to be submitted, a user must first agree to the account application terms and conditions." }, "is_staffer_led": { "type": "boolean", "nullable": true }, "branch_location": { "type": "string" }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true }, "disclosures_accepted_at": { "type": "string", "format": "date-time", "nullable": true }, "last_disclosures_email_sent_at": { "type": "string", "format": "date-time", "nullable": true }, "beneficial_owner_certification_at": { "type": "string", "format": "date-time", "readOnly": true, "nullable": true }, "kyc_link": { "type": "string" }, "kyc_id": { "type": "string" }, "source": { "type": "string" }, "persona_tag": { "type": "string", "nullable": true }, "personas": { "type": "array", "items": { "type": "string" }, "nullable": true }, "personas_disclosures": { "type": "array", "items": { "$ref": "#/components/schemas/Disclosure" }, "readOnly": true }, "persona_manual_funding_routing_number_denylist": { "type": "array", "items": { "type": "string" }, "readOnly": true }, "blocked_funding_routing_numbers": { "type": "array", "items": { "type": "string" }, "readOnly": true }, "persona_disabled_funding_methods": { "type": "array", "items": { "type": "string" }, "readOnly": true }, "beneficiaries": { "type": "array", "items": { "$ref": "#/components/schemas/AccountOpeningBeneficiary" }, "readOnly": true }, "using_previous_evaluation": { "type": "boolean", "readOnly": true }, "specialty_ownership_structure": { "allOf": [ { "$ref": "#/components/schemas/AccountApplicationSpecialtyOwnershipStructure" } ], "readOnly": true }, "marketing_comms_consent": { "type": "boolean" }, "applicant_documents": { "type": "object", "additionalProperties": { "type": "object", "additionalProperties": {} }, "description": "Returns documents grouped by applicant UUID.", "readOnly": true }, "occupation": { "type": "string", "default": "" }, "language": { "type": "string", "nullable": true, "default": "" }, "core_user_id": { "type": "string", "nullable": true, "readOnly": true }, "internal_funding_options": { "nullable": true, "readOnly": true }, "push_provisioning": { "type": "object", "additionalProperties": { "type": "string", "nullable": true }, "nullable": true, "description": "The requesting applicant's own place in the wallet flow, never another applicant's.", "readOnly": true } }, "required": [ "applicant_documents", "applicants", "application_type", "beneficial_owner_certification_at", "beneficiaries", "blocked_funding_routing_numbers", "core_user_id", "core_users", "created_at", "documents", "due_diligence_answers", "eligibility_answers", "id", "internal_funding_options", "number", "persona_disabled_funding_methods", "persona_manual_funding_routing_number_denylist", "personas_disclosures", "push_provisioning", "saved_primary_core_user_id", "specialty_ownership_structure", "state", "updated_at", "using_previous_evaluation" ], "x-stoplight": { "id": "2cposrbxybgma" } }, "TaxResidencyStatusEnum": { "enum": [ "us_citizen", "us_permanent_resident", "nonpermanent_resident", "us_citizen_or_permanent_resident" ], "type": "string", "description": "* `us_citizen` - US Citizen\n* `us_permanent_resident` - US Permanent Resident\n* `nonpermanent_resident` - Nonpermanent Resident\n* `us_citizen_or_permanent_resident` - US Citizen or Permanent Resident (deprecated)", "x-stoplight": { "id": "wfujbvbhva4kg" } }, "Address": { "type": "object", "properties": { "street_address": { "type": "string" }, "street_address_2": { "type": "string" }, "city": { "type": "string" }, "region_code": { "type": "string" }, "postal_code": { "type": "string" }, "country_code": { "type": "string" }, "type": { "type": "string" }, "device_id": { "type": "string", "writeOnly": true, "nullable": true }, "device_request_id": { "type": "string", "writeOnly": true, "nullable": true } }, "required": [ "city", "postal_code", "region_code", "street_address" ], "x-stoplight": { "id": "ybbuas3xv7dvs" } }, "Profile": { "type": "object", "description": "", "properties": { "email": { "type": "string", "readOnly": true, "description": "Email address for the registered user." }, "core_provided_email": { "type": "string", "readOnly": true, "nullable": true, "description": "Email address the user has registered to the core." }, "username": { "type": "string", "nullable": true, "readOnly": true, "description": "Username for the registered user." }, "id": { "type": "string", "format": "uuid", "readOnly": true, "description": "UUID of the registered user. This value is used as the unique identifier for the user in the API." }, "institution_user_identifier": { "type": "string", "readOnly": true, "description": "Core user ID, may be set to empty string if the requesting user does not have the `core_user_id` scope for the target user." }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, "readOnly": true, "description": "The last date-time that the information for this user was altered or saved." }, "addresses": { "type": "array", "items": { "$ref": "#/components/schemas/Address" }, "readOnly": true, "description": "A list of addresses for the registered user. This list contains the primary address and the mailing address of the user, if it exists. This may be set to empty list if the requesting user does not have the `address` scope for the target user." }, "phone_numbers": { "type": "array", "items": { "$ref": "#/components/schemas/Phone" }, "readOnly": true, "description": "A list of phone numbers for the registered user. This list often includes only one phone number. This may be set to empty list if the requesting user does not have the `phone` scope for the target user." }, "notifications_enabled": { "type": "boolean", "nullable": true, "readOnly": true, "description": "Whether the user has registered a device for notifications. This field will also check to make sure that at least one of the devices is set to active." }, "first_name": { "type": "string", "readOnly": true, "description": "First name of the registered user, can also include middle or second names. This may be set to empty string if the requesting user does not have the `name` scope for the target user." }, "last_name": { "type": "string", "readOnly": true, "description": "Last name of the registered user, may include items such as hyphenated/multiple surnames and generational suffixes (ie. Jr, Sr, III). This may be set to empty string if the requesting user does not have the `name` scope for the target user." }, "paper_statements": { "type": "boolean", "nullable": true, "readOnly": true, "description": "Whether the registered user has opted to receive eStatements. This may be set to `null` if the requesting user does not have the `preferences` scope for the target user." }, "preferred_language": { "type": "string", "nullable": true, "readOnly": true, "description": "Locale code of the user's preferred language, e.g. 'es'. Null until it is resolved or chosen. This may be set to `null` if the requesting user does not have the `preferences` scope for the target user." }, "user_category": { "allOf": [ { "$ref": "#/components/schemas/UserCategoryEnum" } ], "readOnly": true, "description": "Used to distinguish whether this is a `business` or `personal` user.\n\n* `personal` - Personal\n* `business` - Business" }, "features": { "type": "object", "additionalProperties": {}, "readOnly": true, "description": "A set of user features which define what the user can and can not do." }, "org_uuid": { "type": "string", "format": "uuid", "nullable": true, "readOnly": true, "description": "The UUID of the organization which the user belongs to. This will be set to `null` if the user category is set to `personal`." }, "org_role": { "description": "The role of the user for the organization it belongs to. This will be set to `null` if the user category is set to `personal`.", "nullable": true, "readOnly": true, "oneOf": [ { "$ref": "#/components/schemas/OrgRoleEnum" }, { "$ref": "#/components/schemas/NullEnum" } ] }, "org_name": { "type": "string", "readOnly": true, "description": "Name of the organization the user belongs to. This will be the DBA (Doing Business As) name if it exists, otherwise it will be set to the organization's legal name." }, "business_permissions": { "type": "array", "items": { "$ref": "#/components/schemas/BusinessPermissionsField" }, "readOnly": true, "description": "Permissions that a user has to a business. The permissions which are granted are dictated by the users role in the organization. This will be set to an empty list for non-business users." }, "account_permissions": { "type": "array", "items": { "$ref": "#/components/schemas/ProfileAccountPermission" }, "nullable": true, "readOnly": true, "description": "Per-account money-movement access for the user's current role, so payment flows can hide accounts (and rails) the role cannot use. A list of `{account_uuid, access, permissions}` for omni and account-level ('converted') roles; `null` for unconverted roles and non-business users, meaning no account-level restriction. `access` is `move_money` or `view_only`; `permissions` lists the account-scoped rail model strings granted on that account." }, "dual_approval_required": { "type": "boolean", "nullable": true, "readOnly": true, "description": "For business users, this field indicates whether wire transactions initiated by the user require approval from the organization. For non-business users this will always be set to `false`." }, "ach_dual_approval_required": { "type": "boolean", "nullable": true, "readOnly": true, "description": "For business users, this field indicates whether ACH transactions initiated by the user require approval from the organization. For non-business users this will always be set to `false`." }, "dual_approval_admin_exemption": { "type": "boolean", "readOnly": true, "description": "For business users, this field indicates whether the user is exempt from dual approval when creating payments. For non-business users this will always be set to `false`." }, "income_sources": { "type": "array", "items": { "$ref": "#/components/schemas/IncomeSource" }, "readOnly": true, "description": "A list of user reported income sources." }, "international_wire_dual_approval_required": { "type": "boolean", "nullable": true, "readOnly": true, "description": "For business users, this field indicates whether international wire transactions initiated by the user require approval from the organization. For non-business users this will always be set to `false`." }, "is_staff": { "type": "boolean", "readOnly": true, "description": "Indicates whether the registered user is an employee of the financial institution." }, "is_active": { "type": "boolean", "readOnly": true, "description": "Indicates whether the user has been disabled." }, "is_superuser": { "type": "boolean", "readOnly": true, "description": "Indicates whether the user is an admin." }, "is_narmi": { "type": "boolean", "readOnly": true, "description": "Indicates whether the user is a Narmi user." }, "has_international_phone": { "type": "boolean", "nullable": true, "readOnly": true, "description": "Whether the user's stored phone number is in international format. Unlike most fields on this serializer, only visible to the user viewing their own profile - never shown to other users who share an account with them (e.g. joint/business co-owners). Returns null for any other viewer." }, "has_international_address": { "type": "boolean", "nullable": true, "readOnly": true, "description": "Whether the user's stored primary address is outside the US. Unlike most fields on this serializer, only visible to the user viewing their own profile - never shown to other users who share an account with them (e.g. joint/business co-owners). Returns null for any other viewer." }, "date_joined": { "type": "string", "format": "date-time", "readOnly": true, "description": "The date-time the user was enrolled in the Narmi system." }, "last_login": { "type": "string", "format": "date-time", "nullable": true, "readOnly": true, "description": "The date-time the user last logged in." }, "segment": { "type": "string", "readOnly": true, "description": "The banking segment which the user is a member of. These values can be unique for different financial institutions." }, "metadata": { "type": "object", "additionalProperties": {}, "readOnly": true, "description": "Metadata for the registered user, this is often set as an empty object `{}`." }, "has_username": { "type": "boolean", "readOnly": true, "description": "Whether the username was defined by the user or was autogenerated by the system." }, "has_password": { "type": "boolean", "readOnly": true, "description": "Whether the password was set by the user." }, "has_accepted_latest_terms": { "type": "boolean", "readOnly": true, "description": "Whether the user has accepted the latest terms of service." }, "has_accepted_transactional_sms": { "type": "boolean", "readOnly": true, "description": "Whether the user has accepted the SMS transactional alerts disclosure." }, "requires_enrollment_code_verification": { "type": "boolean", "readOnly": true, "description": "Whether the user has verified their account. This can prevent the user from logging in. Enrollment can be completed via `/v1/enroll_verify/`." }, "enabled_estatements_at": { "type": "string", "nullable": true, "readOnly": true, "description": "Date-time the user opted into electronic statements." }, "is_converting": { "type": "boolean", "readOnly": true, "description": "Whether the user is in the process of enrolling into online banking." }, "has_permitted_device": { "type": "boolean", "readOnly": true, "description": "When 2FA is enabled for the FI, this field indicates whether the user has a device which they can use to authenticate to the system." }, "has_backup_codes": { "type": "boolean", "readOnly": true, "description": "Whether the registered user has a one-time password backup code for two-factor authentication." }, "support_teams": { "type": "array", "items": { "type": "string", "format": "uuid" }, "nullable": true, "readOnly": true, "description": "The UUIDs of the support teams which the user belongs to. This will be set to `null` if the user does not belong to a support team." }, "session_oidc_provider": { "type": "string", "nullable": true, "readOnly": true, "description": "The OIDC provider associated with the user's current session, if any." } }, "required": [ "account_permissions", "ach_dual_approval_required", "addresses", "business_permissions", "core_provided_email", "date_joined", "dual_approval_admin_exemption", "dual_approval_required", "email", "enabled_estatements_at", "features", "first_name", "has_accepted_latest_terms", "has_accepted_transactional_sms", "has_backup_codes", "has_international_address", "has_international_phone", "has_password", "has_permitted_device", "has_username", "id", "income_sources", "institution_user_identifier", "international_wire_dual_approval_required", "is_active", "is_converting", "is_narmi", "is_staff", "is_superuser", "last_login", "last_name", "metadata", "notifications_enabled", "org_name", "org_role", "org_uuid", "paper_statements", "phone_numbers", "preferred_language", "requires_enrollment_code_verification", "segment", "session_oidc_provider", "support_teams", "updated_at", "user_category", "username" ], "x-stoplight": { "id": "qrwyffziby2ly" } }, "DataSourceEnum": { "enum": [ "PLAID", "MANUAL" ], "type": "string", "description": "* `PLAID` - PLAID\n* `MANUAL` - MANUAL", "x-stoplight": { "id": "8y5wwwyirp489" } }, "NullEnum": { "enum": [ null ], "x-stoplight": { "id": "ccawkxezegbtv" } }, "ProductOptions": { "type": "object", "properties": { "card_images": { "type": "array", "items": { "$ref": "#/components/schemas/CardImage" } }, "debit_card": { "type": "string" }, "debit_card_issuance": { "type": "array", "items": { "$ref": "#/components/schemas/DebitCard" } }, "courtesy_pay": { "type": "string" }, "ira_new_contribution": { "type": "boolean" }, "ira_transfer": { "type": "boolean" }, "ira_rollover": { "type": "boolean" }, "ira_contribution_limits": { "$ref": "#/components/schemas/ProductOptionsIraContributionsLimits" } }, "x-stoplight": { "id": "unwjrm1qpvllm" } }, "Disclosure": { "type": "object", "properties": { "checkbox_text": { "type": "string" }, "markdown": { "type": "string" }, "links": { "type": "array", "items": { "$ref": "#/components/schemas/Link" } } }, "x-stoplight": { "id": "bkeyzfazfudqs" } }, "AccountActivityQuestion": { "type": "object", "properties": { "question": { "type": "string" }, "questionType": { "type": "string" }, "options": { "type": "array", "items": { "type": "string" } }, "label": { "type": "string" }, "portalVersion": { "type": "string" } }, "x-stoplight": { "id": "ysc7afjeruera" } }, "AccountApplicationOrganizationModel": { "type": "object", "properties": { "uuid": { "type": "string", "format": "uuid", "readOnly": true }, "has_ein": { "type": "boolean", "readOnly": true }, "kyc_id": { "type": "string", "readOnly": true, "nullable": true }, "kyc_link": { "type": "string", "readOnly": true }, "kyc_status": { "type": "string", "readOnly": true, "nullable": true }, "type": { "type": "string" }, "name": { "type": "string", "maxLength": 128 }, "assumed_name": { "type": "string", "nullable": true, "maxLength": 128 }, "phone": { "type": "string" }, "email": { "type": "string", "format": "email", "nullable": true }, "website": { "type": "string", "nullable": true, "maxLength": 128 }, "address": { "allOf": [ { "$ref": "#/components/schemas/Address" } ], "nullable": true }, "mailing_address": { "allOf": [ { "$ref": "#/components/schemas/Address" } ], "nullable": true }, "state_of_incorporation": { "type": "string", "nullable": true, "maxLength": 128 }, "date_of_incorporation": { "type": "string", "format": "date", "nullable": true }, "industry": { "type": "string" }, "ein": { "type": "string", "nullable": true, "maxLength": 9 }, "is_dba": { "type": "boolean", "nullable": true } }, "required": [ "has_ein", "kyc_id", "kyc_link", "kyc_status", "type", "uuid" ], "x-stoplight": { "id": "jieqqrofh2wwk" } }, "AccountFunding": { "type": "object", "properties": { "type": { "type": "string" }, "amount": { "type": "integer", "example": 100, "maximum": 999999999999999, "minimum": -999999999999999, "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." }, "description": { "type": "string", "readOnly": true }, "account_id": { "type": "string" }, "nonce": { "type": "string" }, "card_number": { "type": "string" }, "exp_year": { "type": "string" }, "exp_month": { "type": "string" }, "zip": { "type": "string" }, "routing_number": { "type": "string" }, "account_number": { "type": "string" }, "account_type": { "type": "string" }, "signature": { "type": "string", "nullable": true }, "source": { "type": "string", "nullable": true }, "subsource": { "type": "string", "nullable": true }, "provider": { "type": "string", "readOnly": true }, "internal_account_id": { "type": "string", "nullable": true, "description": "Funding source account for an internal transfer.", "readOnly": true } }, "required": [ "description", "internal_account_id", "provider" ], "x-stoplight": { "id": "xo5094lt7ovyp" } }, "StateEnum": { "enum": [ "creating", "creating_preapproved", "creating_reissued", "creating_unverified_already_exists_on_core", "creating_verified_already_exists_on_core", "submitted", "submitted_failed", "submitted_pending_applicants_info", "submitted_preapproved", "reviewing", "docs_requested", "documents_requested_reissued", "docs_in_review", "review", "review_reissued", "rejected", "approved", "funding", "funded", "funding_unknown", "funding_review", "funding_failed", "max_funding_attempts_reached", "opening_paused_memo_mode", "opening", "opening_failed", "opened", "adding_beneficiaries", "beneficiaries_failed", "uploading_documents_to_core", "uploading_documents_to_core_failed", "canceled", "expired", "withdrawn", "ineligible" ], "type": "string", "description": "* `creating` - creating\n* `creating_preapproved` - creating_preapproved\n* `creating_reissued` - creating_reissued\n* `creating_unverified_already_exists_on_core` - creating_unverified_already_exists_on_core\n* `creating_verified_already_exists_on_core` - creating_verified_already_exists_on_core\n* `submitted` - submitted\n* `submitted_failed` - submitted_failed\n* `submitted_pending_applicants_info` - submitted_pending_applicants_info\n* `submitted_preapproved` - submitted_preapproved\n* `reviewing` - reviewing\n* `docs_requested` - docs_requested\n* `documents_requested_reissued` - documents_requested_reissued\n* `docs_in_review` - docs_in_review\n* `review` - review\n* `review_reissued` - review_reissued\n* `rejected` - rejected\n* `approved` - approved\n* `funding` - funding\n* `funded` - funded\n* `funding_unknown` - funding_unknown\n* `funding_review` - funding_review\n* `funding_failed` - funding_failed\n* `max_funding_attempts_reached` - max_funding_attempts_reached\n* `opening_paused_memo_mode` - opening_paused_memo_mode\n* `opening` - opening\n* `opening_failed` - opening_failed\n* `opened` - opened\n* `adding_beneficiaries` - adding_beneficiaries\n* `beneficiaries_failed` - beneficiaries_failed\n* `uploading_documents_to_core` - uploading_documents_to_core\n* `uploading_documents_to_core_failed` - uploading_documents_to_core_failed\n* `canceled` - canceled\n* `expired` - expired\n* `withdrawn` - withdrawn\n* `ineligible` - ineligible", "x-stoplight": { "id": "seu1snlflpdd4" } }, "ApplicationTypeEnum": { "enum": [ "consumer_nonpermanent_resident" ], "type": "string", "description": "* `consumer_nonpermanent_resident` - Consumer Nonpermanent Resident", "x-stoplight": { "id": "s7cikhlzu8g7z" } }, "ApplicationReferralCode": { "type": "object", "description": "For serializing \"my_code\" -> ReferralCode(id) on an application, and back to \"my_code\" for JSON", "properties": { "code": { "type": "string", "readOnly": true } }, "required": [ "code" ], "x-stoplight": { "id": "pxr6ds3pwnvsv" } }, "AccountOpeningBeneficiary": { "type": "object", "properties": { "first_name": { "type": "string", "nullable": true, "maxLength": 128 }, "last_name": { "type": "string", "nullable": true, "maxLength": 128 }, "tax_id": { "type": "string", "writeOnly": true, "nullable": true, "maxLength": 128 }, "date_of_birth": { "type": "string", "format": "date", "writeOnly": true, "nullable": true }, "has_tax_id": { "type": "boolean", "readOnly": true }, "has_date_of_birth": { "type": "boolean", "readOnly": true }, "phone": { "type": "string", "nullable": true, "maxLength": 30 }, "email": { "nullable": true, "oneOf": [ { "type": "string", "format": "email", "maxLength": 254 }, { "type": "string", "maxLength": 0 } ] }, "selected_products": { "type": "array", "items": { "type": "string", "maxLength": 64 }, "nullable": true }, "relationship": { "type": "string", "nullable": true, "maxLength": 128 }, "address": { "allOf": [ { "$ref": "#/components/schemas/Address" } ], "nullable": true } }, "required": [ "has_date_of_birth", "has_tax_id" ], "x-stoplight": { "id": "d7bso5lthhjx4" } }, "AccountApplicationSpecialtyOwnershipStructure": { "type": "object", "properties": { "type": { "type": "string", "nullable": true, "readOnly": true } }, "required": [ "type" ], "x-stoplight": { "id": "nkd2bb8epknys" } }, "Phone": { "type": "object", "properties": { "number": { "type": "string" }, "device_id": { "type": "string", "nullable": true }, "device_request_id": { "type": "string", "nullable": true } }, "required": [ "number" ], "x-stoplight": { "id": "ja4kla97xprag" } }, "UserCategoryEnum": { "enum": [ "personal", "business" ], "type": "string", "description": "* `personal` - Personal\n* `business` - Business", "x-stoplight": { "id": "paxwfq9nljr5g" } }, "OrgRoleEnum": { "enum": [ "Account Holder", "Admin", "No Permissions", "Viewer" ], "type": "string", "x-stoplight": { "id": "fdatxmxhvhn9h" } }, "BusinessPermissionsField": { "type": "object", "properties": { "model_str": { "type": "string" }, "operation": { "type": "string" }, "uuid": { "type": "string", "format": "uuid" } }, "required": [ "model_str", "operation", "uuid" ], "x-stoplight": { "id": "x8zpciz10p4da" } }, "ProfileAccountPermission": { "type": "object", "properties": { "account_uuid": { "type": "string", "format": "uuid" }, "access": { "$ref": "#/components/schemas/AccessEnum" }, "permissions": { "type": "array", "items": { "type": "string" } } }, "required": [ "access", "account_uuid", "permissions" ], "x-stoplight": { "id": "ksxxsamn5kduq" } }, "IncomeSource": { "type": "object", "properties": { "uuid": { "type": "string", "format": "uuid", "readOnly": true }, "income": { "type": "integer", "maximum": 2147483647, "minimum": 0 }, "income_type": { "$ref": "#/components/schemas/IncomeTypeEnum" }, "mortgage_rent": { "type": "integer", "maximum": 2147483647, "minimum": 0, "nullable": true }, "industry": { "type": "string", "maxLength": 128 }, "occupation": { "type": "string", "maxLength": 128 } }, "required": [ "income", "income_type", "uuid" ], "x-stoplight": { "id": "qulwtxtwuwhau" } }, "CardImage": { "type": "object", "properties": { "card_name": { "type": "string" }, "issue_code": { "type": "string" }, "image_url": { "type": "string", "format": "uri" }, "card_bin": { "type": "string" } }, "required": [ "card_name", "image_url", "issue_code" ], "x-stoplight": { "id": "8bmsnkuy8folg" } }, "DebitCard": { "type": "object", "properties": { "issuance_type": { "$ref": "#/components/schemas/IssuanceTypeEnum" }, "card_type": { "type": "string" }, "allow_creation": { "type": "boolean" }, "create_CardCreatableFields": { "type": "string" } }, "x-stoplight": { "id": "6wc8jiuozz1x1" } }, "ProductOptionsIraContributionsLimits": { "type": "object", "properties": { "ira_contribution_limit_standard_min": { "type": "integer", "example": 100, "maximum": 999999999999999, "minimum": -999999999999999, "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." }, "ira_contribution_limit_standard_max": { "type": "integer", "example": 100, "maximum": 999999999999999, "minimum": -999999999999999, "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." }, "ira_contribution_limit_catchup_min": { "type": "integer", "example": 100, "maximum": 999999999999999, "minimum": -999999999999999, "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." }, "ira_contribution_limit_catchup_max": { "type": "integer", "example": 100, "maximum": 999999999999999, "minimum": -999999999999999, "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": "tl2xjzjiqouon" } }, "Link": { "type": "object", "properties": { "text": { "type": "string" }, "url": { "type": "string" } }, "required": [ "text", "url" ], "x-stoplight": { "id": "pymdqwifkjmgw" } }, "AccessEnum": { "enum": [ "view_only", "move_money" ], "type": "string", "description": "* `view_only` - view_only\n* `move_money` - move_money", "x-stoplight": { "id": "girzh6fsb36hj" } }, "IncomeTypeEnum": { "enum": [ "employed", "part_time", "not_employed", "self_employed", "retirement", "other" ], "type": "string", "description": "* `employed` - Employed\n* `part_time` - Part time\n* `not_employed` - Not employed\n* `self_employed` - Self employed\n* `retirement` - Retirement\n* `other` - Other", "x-stoplight": { "id": "yrdquddqssmiw" } }, "IssuanceTypeEnum": { "enum": [ "mail", "instant" ], "type": "string", "description": "* `mail` - mail\n* `instant` - instant", "x-stoplight": { "id": "xubopadx0ew5u" } } } } } ````