Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fincura_api

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fincura_api

This__REST_API_https__en_wikipedia_org_wiki_Representational_state_transfer_allows_you_to_interact_with_the_Fincura_processing_and_insights_engine___AuthenticationThis_API_uses_API_keys_generated_from_a_Fincura_User_account__To_get_access_to_your_User_acc

  • 1.3.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

fincura_api

FincuraApi - JavaScript client for fincura_api This REST API allows you to interact with the Fincura processing and insights engine.

Authentication

This API uses API keys generated from a Fincura User account. To get access to your User account, speak with you Fincura account manager.

Accepted Media Types

File Type     Extension(s)Content-Type(s)
PDF File.pdfapplication/pdf , application/x-pdf
Excel File.xlsapplication/vnd.ms-excel
Excel File.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Excel File.xlsmapplication/vnd.ms-excel.sheet.macroEnabled.12
PNG Image.pngimage/png
GIF Image.gifimage/gif
JPG Image.jpg, .jpegimage/jpeg
GIF Image.gifimage/gif

Getting Started

  1. Create a Borrower
  2. Add a file for that Borrower.
  3. Analyze in the Fincura App

This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 1.3.0
  • Package version: 1.3.0
  • Build package: org.openapitools.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install fincura_api --save

Finally, you need to build the module:

npm run build
Local development

To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing package.json (and this README). Let's call this JAVASCRIPT_CLIENT_DIR. Then run:

npm install

Next, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR:

npm link

To use the link you just defined in your project, switch to the directory you want to use your fincura_api from, and run:

npm link /path/to/<JAVASCRIPT_CLIENT_DIR>

Finally, you need to build the module:

npm run build
git

If the library is hosted at a git repository, e.g.https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:

    npm install GIT_USER_ID/GIT_REPO_ID --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var FincuraApi = require('fincura_api');

var defaultClient = FincuraApi.ApiClient.instance;
// Configure Bearer (JWT) access token for authorization: API_Key
var API_Key = defaultClient.authentications['API_Key'];
API_Key.accessToken = "YOUR ACCESS TOKEN"

var api = new FincuraApi.ApiKeyApi()
var opts = {
  'apiKey': new FincuraApi.ApiKey() // {ApiKey} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.refreshApiKey(opts, callback);

Documentation for API Endpoints

All URIs are relative to http://localhost

ClassMethodHTTP requestDescription
FincuraApi.ApiKeyApirefreshApiKeyPOST /v1/api-key/refreshRefresh Api Key
FincuraApi.BorrowersApicreateBorrowerPOST /v1/borrowerCreate a new Borrower
FincuraApi.BorrowersApilistBorrowersGET /v1/borrowerList Borrowers
FincuraApi.BorrowersApipartialUpdateBorrowerPATCH /v1/borrower/{uuid}Update a Borrower
FincuraApi.BorrowersApiportalLinkBorrowerPOST /v1/borrower/{uuid}/portal_linkGenerate a Borrower portal link
FincuraApi.BorrowersApiretrieveBorrowerGET /v1/borrower/{uuid}Retrieve a Borrower
FincuraApi.CustomAttributesApicreateCustomAttributeDefinitionPOST /v1/custom-attribute-definitionCreate a CustomAttributeDefinition
FincuraApi.CustomAttributesApidestroyCustomAttributeDefinitionDELETE /v1/custom-attribute-definition/{uuid}Delete a CustomAttributeDefinition
FincuraApi.CustomAttributesApilistCustomAttributeDefinitionsGET /v1/custom-attribute-definitionList CustomAttributeDefinitions
FincuraApi.CustomAttributesApiretrieveCustomAttributeDefinitionGET /v1/custom-attribute-definition/{uuid}Get CustomAttributeDefinition info
FincuraApi.DataViewsApiretrieveDataViewFromDocumentFileGET /v1/data-view/from_document_file/{document_file_uuid}Get DataView from a DocumentFile
FincuraApi.DataViewsApiretrieveMostRecentDataViewGET /v1/data-view/most_recent/{borrower_uuid}Get the most recent period of data for a Borrower
FincuraApi.EmbeddedWorkflowsApicreateEmbeddedWorkflowPOST /v1/embedded-workflow
FincuraApi.EmbeddedWorkflowsApiretrieveEmbeddedWorkflowGET /v1/embedded-workflow/{uuid}
FincuraApi.FilesApicreateBulkFilePOST /v1/bulk-fileSubmit a new BulkFile
FincuraApi.FilesApicreateDocumentFilePOST /v1/document-fileSubmit a new DocumentFile
FincuraApi.FilesApidestroyDocumentFileDELETE /v1/document-file/{uuid}Delete a DocumentFile
FincuraApi.FilesApilistDocumentFilesGET /v1/document-fileList DocumentFile records
FincuraApi.FilesApiretrieveBulkFileGET /v1/bulk-file/{uuid}Retrieve a BulkFile
FincuraApi.FilesApiretrieveDocumentFileGET /v1/document-file/{uuid}Get a DocumentFile
FincuraApi.LoansApicreateLoanPOST /v1/loanCreate a new Loan
FincuraApi.LoansApidestroyLoanDELETE /v1/loan/{uuid}Delete a Loan
FincuraApi.LoansApilistLoansGET /v1/loanList Loans
FincuraApi.LoansApipartialUpdateLoanPATCH /v1/loan/{uuid}Update a Loan
FincuraApi.LoansApiretrieveLoanGET /v1/loan/{uuid}Retrieve a Loan
FincuraApi.PortfoliosApicreatePortfolioPOST /v1/portfolioCreate a new Portfolio
FincuraApi.PortfoliosApilistPortfoliosGET /v1/portfolioList Portfolios
FincuraApi.PortfoliosApipartialUpdatePortfolioPATCH /v1/portfolio/{uuid}Update a Portfolio
FincuraApi.RequirementsApicreateFinancialRequirementPOST /v1/financial-requirementCreate a new FinancialRequirement
FincuraApi.RequirementsApilistFinancialRequirementsGET /v1/financial-requirementList FinancialRequirements
FincuraApi.RequirementsApipartialUpdateFinancialRequirementPATCH /v1/financial-requirement/{uuid}Update a FinancialRequirement
FincuraApi.RequirementsApiretrieveFinancialRequirementGET /v1/financial-requirement/{uuid}Retrieve a FinancialRequirement
FincuraApi.TenantSettingsApireadTenantSettingsGET /v1/tenant-settings/readGet Tenant Settings
FincuraApi.WebhooksApicreateWebhookPOST /v1/webhookCreate a webhook
FincuraApi.WebhooksApidestroyWebhookDELETE /v1/webhook/{uuid}Delete a webhook
FincuraApi.WebhooksApilistWebhooksGET /v1/webhookList webhooks
FincuraApi.WebhooksApiretrieveWebhookGET /v1/webhook/{uuid}Get webhook info

Documentation for Models

Documentation for Authorization

API_Key

  • Type: Bearer authentication (JWT)

FAQs

Package last updated on 18 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc