Skip to content
Create account
or
Sign in
The Stripe Docs logo
/
Ask AI
Create account
Sign in
Get started
Payments
Finance automation
Platforms and marketplaces
Money management
Developer tools
Get started
Payments
Finance automation
Get started
Payments
Finance automation
Platforms and marketplaces
Money management
Overview
Start an integration
    Sample app
    Onboarding overview
    Integration guides
Products
Global Payouts
Capital
Issuing cards
Treasury
Manage money
HomeMoney managementStart an integration

Issuing and Treasury sample app

Learn how to onboard customers, issue cards, and make outbound payments.

Copy page

GitHub

You can find the app’s complete source code on GitHub.

To see how you can use Issuing and Treasury APIs in your integration, try our sample app. It lets you onboard as a customer, create cards, test authorizations, and make outbound payments from a financial account.

Without writing any code, you can also copy the sample app to use with your platform, following the API logs generated by your actions.

Try our sample app

The Issuing and Treasury demo app's Card details page

The Issuing and Treasury sample app’s card details page

This app is for platforms onboarding business customers. If you only need cards for yourself or your own employees, use Issuing in the Dashboard instead.

Create an account with the platform

To use the sample app, first create an account to onboard as a customer of the platform.

After you provide an email and password, the app’s backend creates a connected account and requests the card_issuing and treasury capabilities.

(Optional) Simulate hosted onboarding to provide full account details

See the code and API logs for these steps

Add funds to the financial account

  1. On the Overview page, click Generate test data, and then click Simulate received credit in the drawer.

  2. The transaction appears as a received credit (an incoming ACH) for 500 USD, and appears in the transaction receipt.

  3. Go to the Financial account page to view your account number.

See the code and API logs for these steps

Make an outbound ACH payment

You can enter any routing and account number, but the app processes the test payment using Stripe’s test numbers for outbound payments

  1. On the Financial account page, click Send money.
  2. Select ACH, then enter the recipient’s information and the amount to send.
  3. Select POSTED as the transaction result to simulate a completed payment.
  4. The transaction appears as an outbound payment.

See the code and API logs for these steps

Create a cardholder, card, and make a test purchase

  1. On the Cardholder page, click Create a new cardholder.
  2. Enter the cardholder’s information, then click Issue card to create a virtual card.
  3. You’re redirected to the Cards page. Click Details on the card row to view the new virtual card.
  4. Click Generate test data, then Simulate test purchase.

See the code and API logs for these steps

OptionalTemporarily pause spending on a card

OptionalPay out from the account's payments balance into the financial account

Was this page helpful?
YesNo
Need help? Contact Support.
Join our early access program.
Check out our changelog.
Questions? Contact Sales.
LLM? Read llms.txt.
Powered by Markdoc