Skip to main content
Docs

Connect your Stripe account

Holdyn Business runs on your own Stripe account. You create a restricted key in Stripe and paste it in Settings, then Stripe. Money is collected into your Stripe balance and paid to payees from it. Holdyn never receives the money.

Each mode has its own connection: a test key for test mode and a live key for live mode. A key must match its mode.

The restricted key#

Create a restricted key in your Stripe dashboard with these permissions. The Settings page shows the same checklist with a status for each line.

PermissionLevelWhy
CustomersWriteA customer record for each payer.
PaymentIntentsWriteCollections.
SetupIntentsWriteSaving a payer's bank account for later debits.
PaymentMethodsWriteAttaching bank accounts and backup cards.
MandatesReadReading the bank-debit authorisation that backs each debit.
Charges and RefundsWriteRefunds that the terms allow.
DisputesReadNoticing a card or bank dispute and freezing the affected money.
BalanceReadComparing your available balance with the money held.
EventsReadCatching up on missed webhook events.
Webhook EndpointsWriteCreating the two webhook endpoints Holdyn needs on your account.
Connect, AccountsWriteCreating and reading payees' connected accounts.
Account LinksWriteSending payees to Stripe's own onboarding.
Transfers, including reversalsWriteReleases to payees.
AccountReadProving the account id and reading your payout schedule. Needed to go live.
Login linksWriteRecommended: lets payees open their Stripe dashboard from the portal.
Application feesNoneNot used.
PayoutsNone or ReadNot used.

A secret key (sk_…) also works, with a warning that a restricted key is safer. Either way the key is stored encrypted, only its last four characters are ever shown, and rotating it is a guarded action.

What happens when you connect#

  1. Holdyn checks the shapes of the three values you paste (secret key, publishable key and account id) and that they match the mode.
  2. The connection is created and checked in the background. You see progress in the dashboard and GET /connections returns the state.
  3. Holdyn checks the permissions with harmless calls, reads the account to prove its id and your payout schedule, and creates two webhook endpoints on your account (one for your account, one for connected accounts).
  4. The dashboard confirms that the publishable key belongs to the same account. Payment setup in the portal stays blocked until it does.

Holdyn also runs a Connect readiness check in test mode and tells you if your Stripe Connect platform profile is incomplete.

Payout protection#

Held money is only held if your own Stripe payouts cannot sweep it out. Holdyn reads your payout settings:

  • Manual payouts in Stripe: protected.
  • Automatic payouts with a minimum balance that covers held money: an owner records the minimum in Settings, with a note saying where and when it was set. Holdyn can't verify this setting itself, so it records who attested it.
  • Neither: every label says the balance is not locked. Live hold_and_transfer mandates are not available.

Holdyn checks your available balance against the money held every hour in live mode and alerts you when it runs low. If protection is lost while mandates are active, both parties get a notice that where their money is held has changed.

Things to keep in Stripe#

  • Fees. Stripe's processing fees come out of your balance, as usual. Keep a float to cover fees on refunded charges and failed debits.
  • Bank debits. ACH Direct Debit must be enabled on your account.
  • Limited access. Stripe can limit a key that has not been used for 180 days. Restore access if that happens.
  • On behalf of. Mandates that use a payee as the business of record need extra capabilities on the payee's connected account.
  • Two people. If your controls ask for second approvals, you need a second member with the Owner, Admin or Finance role.

Disconnecting and changing accounts#

Disconnecting stops money actions at once. Collections are skipped and the gate reports the connection as unhealthy. Your webhook endpoints stay until late bank returns and refunds have been reported. Reconnecting the same Stripe account restores open mandates. A different account is refused unless an owner forces it; the mandates that were sent on the old account stay blocked.

Connect your Stripe account · Holdyn Business docs