Giter Club home page Giter Club logo

stripe-treasury-nextjs's Introduction

Example Stripe Treasury integration showing Embedded Finance

This demo is an application that allows you to quickly experiment with an Embedded Finance experience.

With this application, you can:

  • Sign up for a Stripe Custom connect Account and for a Stripe Treasury Financial Account.

  • Onboard using Connect Onboarding for Custom accounts.

  • Display the Financial Account Balance.

  • Display a chart to quickly visualize funds coming in and coming out.

  • Display a transaction report.

  • Create a cardholder and issue a card, using the Financial Account as the source of funds.

  • Display the issued card information leveraging Stripe Elements.

  • Display the Financial Account's Routing and Account numbers.

  • Send money from the Financial Account, either using ACH or Wire Transfers.

In addition to these functions, there is also a Test Mode only section that will help platforms understanding the different mechanisms to fund Financial Accounts by:

  • Simulating receiving a Transfer from an external account to a Financial Account.

  • Creating a PaymentLink and then, paying out funds from the Connected Account balance to the Financial Account Balance.

You can watch a recorded live stream about this demo here.

Requirements

A Stripe account: You can sign up for a Stripe account here: https://dashboard.stripe.com/register

Onboard to Treasury and Issuing: Please contact sales.

Stripe API Keys: Available in your Stripe dashboard here: https://dashboard.stripe.com/test/apikeys

Installation instructions

Installing the dependencies

After cloning this repo, install the dependencies.

npm install

Populating the .env file

Rename the .env.example file on the root of your project to .env

Edit your new .env file and add:

  • STRIPE_SECRET_KEY: Your Stripe private key.
  • PUBLISHABLE_KEY: Your Stripe publishable key.
  • SESSION_SECRET_KEY: A string of at least 32 characters long.
  • DEMO_HOST: The host where your application will run (if local you can use http://localhost:3000 )

Running the application

In order to run the application, after you installed the dependencies and created the .env file run the following command:

npm run dev

Notice: This application is intended to be an example, and it should not be run in production as is.

stripe-treasury-nextjs's People

Contributors

jpb-stripe avatar dependabot[bot] avatar charliegerard-stripe avatar cjavilla-stripe avatar github-actions[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.