Skip to content

Open a bank account

Say "open a bank account" and get a verified Stripe account, operating and reserve accounts with routing numbers, a card balance and daily payouts.

For developers

A Startup's accounts open when its owner verifies and claims it: an operating and a reserve account with their own routing numbers, held on Stripe.

For developers

Needs Startup

What you get

  • 1payment account, verified onceCompany
  • 2operating and reserve accounts with routing numbersAccount
  • 1card balance, held apart for company cardsCard
  • 1daily payout of available cash to your bankTransaction
  • 1feed of every money movement, matched to your booksTransaction
  • 1Treasurer agent that keeps a minimum cash balanceRole

Your agent does

Startup.claim
You, to your agent

Open a bank account for the business.

Give Leaseline an account to hold the money.

Set up an operating account and a reserve account.

# Look up the Startup: Startup.list
STARTUP=$(curl "https://api.sb/leaseline.app/startups?limit=1" \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" | jq -r '.startups[0]["$id"] | split("/") | last')

# Startup.claim
curl -X POST https://api.sb/leaseline.app/startups/$STARTUP/claim \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"claimToken":"claim_7hq2x"}'
import { $ } from 'startup-builder'

const [startup] = await $.Startup.list({ limit: 1 })
await $.Startup.claim({ startup: startup.$id, claimToken: 'claim_7hq2x' })
STARTUP=$(npx startup-builder do Startup.list --json '{"limit":1}' | jq -r '.startups[0]["$id"] | split("/") | last')
npx startup-builder do Startup.claim --json '{"startup":"'"$STARTUP"'","claimToken":"claim_7hq2x"}'
{
  "name": "do",
  "arguments": {
    "code": "const [startup] = await $.Startup.list({ limit: 1 })\nreturn await $.Startup.claim({ startup: startup.$id, claimToken: 'claim_7hq2x' })"
  }
}

Change it

  • Keep three months of spend in operating and sweep the rest to reserve.
  • Pay out weekly instead of daily.
  • Connect the bank account we already have.

Under the hood

Systems
Treasury, Ledger
Nouns
Startup, Company, Transaction, Entry
Events
Startup.claimed, Transaction.reconciled
Stripe objects
Account, Person, Treasury Financial Account, Issuing Balance, Payout

Every Startup is one Stripe connected account. Its cash sits in four places: the payments balance, the card balance, the operating and reserve accounts, and your bank. Each move between them is a Transaction that Treasury reconciles to the Ledger within a day.