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.
| Permission | Level | Why |
|---|---|---|
| Customers | Write | A customer record for each payer. |
| PaymentIntents | Write | Collections. |
| SetupIntents | Write | Saving a payer's bank account for later debits. |
| PaymentMethods | Write | Attaching bank accounts and backup cards. |
| Mandates | Read | Reading the bank-debit authorisation that backs each debit. |
| Charges and Refunds | Write | Refunds that the terms allow. |
| Disputes | Read | Noticing a card or bank dispute and freezing the affected money. |
| Balance | Read | Comparing your available balance with the money held. |
| Events | Read | Catching up on missed webhook events. |
| Webhook Endpoints | Write | Creating the two webhook endpoints Holdyn needs on your account. |
| Connect, Accounts | Write | Creating and reading payees' connected accounts. |
| Account Links | Write | Sending payees to Stripe's own onboarding. |
| Transfers, including reversals | Write | Releases to payees. |
| Account | Read | Proving the account id and reading your payout schedule. Needed to go live. |
| Login links | Write | Recommended: lets payees open their Stripe dashboard from the portal. |
| Application fees | None | Not used. |
| Payouts | None or Read | Not 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#
- Holdyn checks the shapes of the three values you paste (secret key, publishable key and account id) and that they match the mode.
- The connection is created and checked in the background. You see progress in the dashboard and
GET /connectionsreturns the state. - 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).
- 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_transfermandates 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.
