Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.

stripe-archive/identity-verification

Repository files navigation

This project is deprecated and is no longer being actively maintained. See our new stripe-samples/identity sample.

Stripe Identity sample app

Identity is a prebuilt, hosted identity verification flow that can help you capture signals about individuals to make sure that they are who they claim to be. Identity can help you increase the trust and safety of your community, streamline risk operations to reduce losses, or launch verification as a new feature within your product.

Demo

See a hosted version of the sample app.

How to run locally

This sample includes a Node server implementation.

Follow the steps below to run locally.

1. Clone the repository:

git clone https://github.com/stripe-samples/identity-verification

2. Copy the env.example to a .env file:

Copy the env.example file into a file named .env in the project root folder. For example:

cp env.example .env

You will need a Stripe account in order to run the demo. Additionally, you will need to setup your account to use Identity, which you can do so here. Once you set up your account, go to the Stripe developer dashboard to find your API keys.

  • Edit .env file with your text editor and update your .env file with the keys.
STRIPE_SECRET_KEY=<replace-with-your-test-secret-key>
STRIPE_PUBLISHABLE_KEY=<replace-with-your-test-publishable-key>

STATIC_DIR tells the server where to the client files are located and does not need to be modified unless you move the server files.

3. Install and run:

cd src/
npm install
npm start

FAQ

Q: Why did you pick these frameworks?

A: We chose the most minimal framework to convey the key Stripe calls and concepts you need to understand. These demos are meant as an educational tool that helps you roadmap how to integrate Stripe within your own system independent of the framework.

Get support

If you found a bug or want to suggest a new [feature/use case/sample], please file an issue.

If you have questions, comments, or need help with code, we're here to help:

Sign up to stay updated with developer news.

Author(s)

@bz-stripe

About

Securely collect and verify identity documents

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published