ballerine-io / ballerine

Open-source infrastructure and data orchestration platform for risk decisioning
https://www.ballerine.com
Other
2.05k stars 186 forks source link
back-office case-management compliance dashboard flow fraud id-card-camera identity-verification idv know-your-customer kyb kyc liveliness ocr onboarding orchestration risk-management rule-engine sdk svelte
Alt Text
Ballerine's website ## Open-Source Risk Management Infrastructure
Documentation · Slack · Website · Contact · Issues [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com) [![GitHub release](https://img.shields.io/github/v/release/ballerine-io/ballerine?label=last-release&style=flat-square)](https://github.com/ballerine-io/ballerine/releases) [![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/ballerine-io/ballerine/ci.yml?label=CI&style=flat-square)](https://github.com/ballerine-io/ballerine/actions/workflows/ci.yml) [![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/ballerine-io/ballerine/release.yml?label=Release&style=flat-square)](https://github.com/ballerine-io/ballerine/actions/workflows/release.yml)

Ballerine is an Open-Source Risk Management Infrastructure that helps global payment companies, marketplaces and Fintechs to automate their decisions for merchant, sellers and users throughout the customer lifecycle. From account-opening (KYC, KYB), underwriting, and transaction monitoring, using a flexible rules & workflow engine, 3rd party plugin system, manual review back office, and document & information collection frontend flows.


Modules

Why Open Source?

We believe in enabling companies to manage user identity and risk according to their unique and evolving requirements. Ballerine empowers you to create decisioning processes that are right for you. It is flexible, future-proof, easy to implement, secure, and supported by a robust community.

Explore What You Can Do With Ballerine

Try Ballerine Now

In the following example you can test a simple form of the following infrastructure capabilities

  1. Document collection flow.
  2. A manual review case management Back Office.
  3. Live communication between the parts using a Workflow Engine, that also defines the process steps.
  4. A simple JSON containing Risk Rules that are checked during the flow.

Parts of the system you might look for but are not in THIS demo:

Getting started To set up a local environment, follow these steps:

  1. Install prerequisites:

  2. Clone and install the project:

    1. Clone the project:
      git clone https://github.com/ballerine-io/ballerine.git
    2. Install npm dependencies:
      pnpm install
    3. Initialize monorepo:
      pnpm monorepo:init
  3. Run an example

    • KYB
      pnpm kyb-manual-review-example
    • KYC
      pnpm kyc-manual-review-example

      Once the process is complete, 2 tabs will open in your browser:

  4. http://localhost:5201/ - for the KYB document collection flow OR http://localhost:5202 - for the KYC document collection flow

  5. http://localhost:5137/ - for the backoffice (See username/password below, It's recommended to have them positioned side-by-side).

    If the required tabs have not opened automatically, please use the links we have provided above.

    Steps to go over the flow:

  6. Go to the Backoffice tab to review the new user that was created 1.1. Sign-in with the following credentials:

    • Email: admin@admin.com
    • Password: admin 1.2. Under the business menu, choose "KYB with UBOs" to view the list of cases currently undergoing.
  7. On the Collection flow, fill in the required fields on each step.

  8. Go through and complete the flow. As you go through the collection flow, you should see the progress in the Backoffice case.

  9. Once the collection flow is finished, you can see the new state is "manual review," Assign the case to yourself, and then you will be able to choose to Approve, Reject, or Ask to Resubmit.

  10. Ask to resubmit a document, go back to the collection flow to re-upload, then go back to the Backoffice to see the updated information.

Contributing

We appreciate all types of contributions and believe that an active community is the secret to a rich and stable product. Here are some of the ways you can contribute:

Contact Ballerine

To start using the paid version or if you need any assistance, reach out to us at oss@ballerine.com. Join our Discord Channel and Slack Channel to stay updated and engage with our community.