Get main profile data by UserName

Get Main Profile Data by UserName

The GET /netevia/profileByUserName endpoint retrieves the complete primary profile for a user based on their username. It returns essential account holder details including name, contact information, application status, financial account identifiers, and associated settings. Both personal and business profile data are included where applicable.

Endpoint

GET /netevia/profileByUserName

Authentication

Bearer token required. Obtain via:

POST https://api.banking.netevia.dev/api/auth/v2

Include in header: Authorization: Bearer {token}
Token lifetime: 10 minutes. Refresh via POST /api/auth/refresh.

When to use

Use this endpoint to look up a user's full profile when you have their username but need their internal profile IDs, application status, or account holder details. It is commonly used during onboarding flows to check whether a user has already submitted an application, and during support or administrative workflows where a username is the only known identifier.

Query Parameters

ParameterTypeRequiredDescription
userNamestringNoThe username of the profile to retrieve

Response

200 OK

FieldTypeDescription
idinteger (int32)Internal record ID
createdDatestring (date-time)Date the profile record was created
updatedDatestring (date-time) | nullDate the profile record was last updated
userProfileIdinteger (int32)ID of the associated user profile
stepinteger (int32)Onboarding step status (0–4)
accountHolderInformationobjectPersonal account holder details (see below)
accountHolderInformation.idinteger (int32)Internal ID
accountHolderInformation.createdDatestring (date-time)Record creation timestamp
accountHolderInformation.updatedDatestring (date-time) | nullRecord last updated timestamp
accountHolderInformation.emailstring | nullAccount holder email address
accountHolderInformation.givenNamestring | nullFirst name
accountHolderInformation.familyNamestring | nullLast name
accountHolderInformation.middleNamestring | nullMiddle name
accountHolderInformation.phonestring | nullPhone number
accountHolderInformation.ssnstring | nullSocial Security Number (masked as XXX-XX-XXXX)
accountHolderInformation.dateOfBirthstring (date-time) | nullDate of birth
accountHolderInformation.streetAddressstring | nullStreet address (read-only)
accountHolderInformation.extendedAddressstring | nullExtended address line (read-only)
accountHolderInformation.postalCodestring | nullZIP/postal code (read-only)
accountHolderInformation.localitystring | nullCity (read-only)
accountHolderInformation.stateinteger (int32)US state enum value (1–53)
accountHolderInformation.countryCodeAlpha3string | nullISO 3166-1 alpha-3 country code (read-only)
businessAccountHolderobject | nullBusiness account holder details (business profiles only; see below)
businessAccountHolder.emailstring | nullPrimary authorized person email
businessAccountHolder.givenNamestring | nullPrimary authorized person first name
businessAccountHolder.familyNamestring | nullPrimary authorized person last name
businessAccountHolder.middleNamestring | nullPrimary authorized person middle name
businessAccountHolder.phonestring | nullPrimary authorized person phone
businessAccountHolder.ssnstring | nullPrimary authorized person SSN (masked as XXX-XX-XXXX)
businessAccountHolder.dateOfBirthstring (date-time) | nullPrimary authorized person date of birth
businessAccountHolder.streetAddressstring | nullBusiness street address (read-only)
businessAccountHolder.extendedAddressstring | nullBusiness extended address (read-only)
businessAccountHolder.postalCodestring | nullBusiness ZIP/postal code (read-only)
businessAccountHolder.localitystring | nullBusiness city (read-only)
businessAccountHolder.stateinteger (int32)Business state enum value (1–53)
businessAccountHolder.countryCodeAlpha3string | nullBusiness country code (read-only)
businessAccountHolder.percentageOwnershipinteger (int32)Ownership percentage of primary authorized person
businessAccountHolder.authorizingPersonTitleinteger (int32)Title of authorizing person (0–6)
businessAccountHolder.legalBusinessNamestring | nullLegal business name
businessAccountHolder.doingBusinessAsNamestring | nullDBA name
businessAccountHolder.websitestring | nullBusiness website URL
businessAccountHolder.businessTypeinteger (int32)Business entity type (0–4)
businessAccountHolder.businessPhonestring | nullBusiness phone number
businessAccountHolder.employerIdentificationNumberstring | nullEIN
businessAccountHolder.primaryAuthorizedPersonIdstring | nullID of the primary authorized person
businessAccountHolder.businessStartDatestring (date-time) | nullBusiness establishment date
businessAccountHolder.annualBusinessRevenueinteger (int64) | nullAnnual business revenue in cents
businessAccountHolder.payrollCustomerboolean | nullWhether the business is a payroll customer
businessAccountHolder.ownersarray | nullList of business owners (see owner object below)
businessAccountHolder.merchantProfileIdinteger (int32) | nullAssociated merchant profile ID
isSubmittedboolean | nullWhether the application has been submitted
accountHolderIdstring | nullExternal account holder identifier
nickNamestring | nullProfile nickname
cardProductIdstring | nullAssociated card product ID
openApplicationIdstring | nullOpen application ID
financialAccountIdstring | nullPrimary financial account ID
applicationStatusinteger (int32)Application status enum (0–4)
bankingStatusstringBanking application status (New, Submitted, PendingUW, ApprovedUW, Closed, Cancelled, Pending_Review, Denied, Approved, Pending, InReview, AutoApprovedUW)
applicationDatestring (date-time) | nullDate application was submitted
approvalDatestring (date-time) | nullDate application was approved
isDeletedbooleanWhether the profile is soft-deleted
isLockedbooleanWhether the profile is locked
isAccessLockedbooleanWhether login access is locked due to multiple failed attempts
isMfaEnabledbooleanWhether multi-factor authentication is enabled
isOtpEnabledbooleanWhether one-time password is enabled
agentPayoutProfileIdinteger (int32) | nullAgent payout profile reference
salesRepresentativeIdinteger (int32) | nullSales representative reference
rewordTypeinteger (int32)Reward program type (1, 2, or 4)
isNewboolean | nullWhether this is a newly created profile
isExceptionalboolean | nullWhether the profile has an exceptional template applied
profileSettingsobject | nullProfile-level settings and limits
profileSettings.financialAccountsPermissions.financialAccountsMaxNumberinteger (int32)Maximum number of financial accounts allowed
profileSettings.financialAccountsPermissions.externalAccountsMaxNumberinteger (int32)Maximum number of external accounts allowed
profileSettings.transferAmountLimits.achOutTransferAmountLimitinteger (int64) | nullACH outbound transfer limit in cents
profileSettings.transferAmountLimits.internalTransferAmountLimitinteger (int64) | nullInternal transfer limit in cents
profileSettings.loanOffbooleanWhether loan products are disabled for this profile
applicationCreationTypestringChannel through which the application was created (MobileApplication, OnlineBankingApplication, OnlineMerchantApplication, NeteviaBoardingApplication, BankingAPI, NeteviaAPI)
exceptionalTemplateIdinteger (int32) | nullID of the exceptional pricing template applied
profileTypeinteger (int32)Profile type enum (0–3)
accountTypeinteger (int32)Account type enum (1–5)
employerobject | nullLinked employer profile (EWA-enabled accounts)
employer.idinteger (int32)Employer record ID
employer.namestring | nullEmployer name
employer.enabledbooleanWhether the employer integration is active
employer.datestring (date-time)Date the employer was linked
lockFinancialAccountIdstring | nullFinancial account ID used for access lock enforcement
agreementsarray | nullList of accepted agreements
agreements[].namestring | nullAgreement name
agreements[].createdDatestring (date-time)Date agreement was created
agreements[].acceptanceDatestring (date-time) | nullDate user accepted the agreement
{
  "id": 1042,
  "createdDate": "2024-03-15T10:22:00Z",
  "updatedDate": "2024-11-01T14:05:00Z",
  "userProfileId": 7831,
  "step": 4,
  "accountHolderInformation": {
    "id": 9012,
    "createdDate": "2024-03-15T10:22:00Z",
    "updatedDate": "2024-11-01T14:05:00Z",
    "email": "[email protected]",
    "givenName": "Jane",
    "familyName": "Doe",
    "middleName": "A",
    "phone": "+15551234567",
    "ssn": "XXX-XX-XXXX",
    "dateOfBirth": "1985-06-20T00:00:00Z",
    "streetAddress": "123 Main St",
    "extendedAddress": "Apt 4B",
    "postalCode": "30301",
    "locality": "Atlanta",
    "state": 11,
    "countryCodeAlpha3": "USA"
  },
  "businessAccountHolder": null,
  "isSubmitted": true,
  "accountHolderId": "ah_7f3a9c1d2e",
  "nickName": "JaneDoe",
  "cardProductId": "cp_84b2c3d4e5",
  "openApplicationId": null,
  "financialAccountId": "fa_91c3d4e5f6",
  "applicationStatus": 2,
  "bankingStatus": "Approved",
  "applicationDate": "2024-03-15T10:30:00Z",
  "approvalDate": "2024-03-16T09:00:00Z",
  "isDeleted": false,
  "isLocked": false,
  "isAccessLocked": false,
  "isMfaEnabled": true,
  "isOtpEnabled": false,
  "agentPayoutProfileId": null,
  "salesRepresentativeId": null,
  "rewordType": 1,
  "isNew": false,
  "isExceptional": false,
  "profileSettings": {
    "financialAccountsPermissions": {
      "financialAccountsMaxNumber": 5,
      "externalAccountsMaxNumber": 3
    },
    "transferAmountLimits": {
      "achOutTransferAmountLimit": 500000,
      "internalTransferAmountLimit": 1000000
    },
    "loanOff": false
  },
  "applicationCreationType": "BankingAPI",
  "exceptionalTemplateId": null,
  "profileType": 1,
  "accountType": 2,
  "employer": null,
  "lockFinancialAccountId": null,
  "agreements": [
    {
      "name": "Terms of Service",
      "createdDate": "2024-01-01T00:00:00Z",
      "acceptanceDate": "2024-03-15T10:28:00Z"
    },
    {
      "name": "Privacy Policy",
      "createdDate": "2024-01-01T00:00:00Z",
      "acceptanceDate": "2024-03-15T10:28:00Z"
    }
  ]
}

Error Codes

CodeWhen it happens
400Missing or malformed userName query parameter
401Token missing, expired, or invalid
403Insufficient permissions to view this profile
404No profile found for the provided username
500Internal server error

Common Mistakes

  • Omitting the userName query parameter entirely — the endpoint may return an error or no results rather than all profiles
  • Using a display name or email address instead of the exact registered username
  • Not refreshing the Bearer token before the call, resulting in a 401 when the 10-minute lifetime has elapsed
  • Expecting business account holder data on a personal profile — businessAccountHolder will be null for personal accounts
  • Treating applicationStatus (integer enum) and bankingStatus (string enum) as the same field — they represent different status dimensions

Related Endpoints

  • POST /api/auth/v2 — Obtain a Bearer token required for all API calls
  • GET /netevia/profile — Retrieve profile data by internal profile ID
  • GET /netevia/profiles — List all profiles for the authenticated partner
  • PUT /netevia/profile — Update profile information
  • GET /netevia/profileByUserName — This endpoint (lookup by username)

Example

curl -X GET "https://api.banking.netevia.dev/netevia/profileByUserName?userName=janedoe" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json"
Query Params
string
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json