Payments
Payments let your products collect money: a paid by card on a form, an One part of a contract's premium, owed on a day. Each one shows what it is made of and where it stands.Glossary → taken by SEPA direct debit, a Money given back to a client who paid too much, approved by a second person above your organization's threshold.Glossary → after a cancellation. Products such as customer The path a person follows to buy your insurance online, made of steps, over minutes or days.Glossary →, back office collections, the Portal, the space where your clients sign in to see their contracts, send requests and follow them, in your organization's colours.Glossary → and cancellations take payments through this one module, so you connect your payment provider once, here, and every product uses it.
The provider is Stripe. You connect your Your company as the suite knows it: its people, its records and its settings. Everything you see belongs to one organization, and nobody from another organization sees it.Glossary →’s Stripe account with its keys; the secret key and the An address of another system that the suite calls when something happens, such as a contract signed, so that system knows at once.Glossary → signing secret are stored encrypted and never shown again, even to A person whose role lets them manage the organization in the console. Every organization starts with an Administrators role.Glossary →. Cards and bank details never pass through the suite: the payer types their card in Stripe’s own page element, and an IBAN goes to Stripe without being stored.
Who can do it
Section titled “Who can do it”| A thing to do, given to a person, with a due date, on a record of an app. My tasks, in the top bar, lists yours.Glossary → | What the A named set of rights, such as "Claims handlers", given to people and to API keys. People get what their roles allow, never a right on its own.Glossary → gives |
|---|---|
| See the payments, refunds, SEPA mandates and accounts (never the accounts’ secrets) | Payments: See |
| Ask for payments, record and stop SEPA mandates | Payments: Work on |
| Refund a payment | Payments: refunds: Work on |
| Connect, change, check and delete the accounts | Payments: accounts: Full |
The rights behind each level are listed in Permissions.
Administrators hold them all. An A secret that lets another system call the suite for your organization, with the roles the key holds.Glossary → or a product that asks for payments needs Payments: Work on (see Payments over the API).
Connect an account
Section titled “Connect an account”Connecting a Stripe account takes two parts: the keys, then the webhook. The Connect an account window shows the same steps under How to get these keys, and, once the account is saved, under How to set up the webhook.
Get the keys from Stripe
Section titled “Get the keys from Stripe”Do this for one mode at a time. Test keys come from a sandbox and move no money; live keys take real payments. The names in bold are those of Stripe’s English Dashboard: in another language, Stripe translates them.
- Sign in to the Stripe Dashboard with the account that will take the payments. Every key must come from this one account.
- Choose the mode:
- Test: open the account picker, choose Switch to sandbox, then open a sandbox (choose Create sandbox if you have none). A banner at the top of the Dashboard says that you are in a sandbox.
- Live: make sure no sandbox banner shows. If one does, use the account picker to go back to your account, or switch from sandbox mode to live mode on the API keys page.
- Open the API keys page. It lists the keys of the account and the mode you are in, under Standard keys.
- Copy the Publishable key. It starts with
pk_test_in a sandbox andpk_live_in live mode. It is not a secret. - Copy the Secret key. It starts with
sk_test_orsk_live_.- In a sandbox, Stripe always shows its keys, so you can come back for them. If the list has none, choose Create secret key, enter the code Stripe sends you, name the key and choose Create.
- In live mode, choose Reveal live key next to the secret key, click the value to copy it, then choose Hide live key. If Stripe has nothing to reveal, create a key with Create secret key, as above. Stripe shows a key you created yourself only once: copy it before you close the box.
- Leave the webhook signing secret (
whsec_...) for later. It is not an API key, and it does not exist until you add the webhook (see below).
Connect the account in the console
Section titled “Connect the account in the console”-
In the organization The administration app of the suite, where your administrators manage its people, roles, connections and settings. It is also where everyone signs in.Glossary →, open Payments, then Connect an account.
-
Give it a Name people recognise, for example “Stripe France”. Bysur makes the account’s Key from it: products and integrations name the account by this key, so it cannot change later. The key sits under Advanced, at the end of the form, for who needs to see it.
-
Choose the Mode:
- Test moves no money: Stripe’s test cards and test IBANs only;
- Live takes real payments.
The mode cannot change later: to go live, connect a second account in Live mode.
-
Choose the Default currency from the list, by its name (type a few letters of its name or its code to find it): Euro unless you collect in another currency. A payment that names no currency uses it.
-
How to get these keys, folded at the top of the form, repeats the steps above. Paste the Publishable key (
pk_test_...in Test mode,pk_live_...in Live mode). -
Paste the Secret key (
sk_test_...orsk_live_...; a restricted key,rk_test_...orrk_live_..., works too). It is stored encrypted and never shown again, not even to administrators. -
Leave the Webhook signing secret empty for now: Stripe gives it when you add the webhook, and you bring it back with Change the account.
-
Tick Use as the default account if products should use this one when they name none. Your first account is always the default.
-
Choose Connect.
The keys must match the mode: a test key on a Live account, or a live key on a Test account, is refused.
Give Stripe the webhook address
Section titled “Give Stripe the webhook address”Stripe tells the suite what happens after a payment is asked for: the card was confirmed, the bank accepted the debit, a refund went through. Without this, payments stay in the status they had when they were asked for.
Once the account is connected, the window shows these steps with the account’s own webhook address and the list of events, each with a copy button. You can open them again at any time: choose Change the account and open How to set up the webhook.
Work in Stripe in the same mode as the account: in the sandbox that holds its keys for a Test account, in live mode for a Live one.
-
Copy the account’s webhook address. It looks like
https://<api>/api/v1/payments/webhooks/stripe/<organization>/<account>. Use it exactly as it is: it is the only address that works for this account. -
In the Stripe Dashboard, open the Webhooks tab of Workbench (Developers menu, then Workbench) and choose Create an event destination. Depending on your Dashboard, the button may read Add destination or Create new destination. Select Your account.
-
For the payload, choose Snapshot, not Thin. The platform reads the full event, which only snapshot events carry. If Stripe asks for an API version, keep the one it proposes.
-
Select only these events, and no others:
payment_intent.succeededpayment_intent.payment_failedpayment_intent.processingpayment_intent.canceledsetup_intent.succeededsetup_intent.canceledcheckout.session.completedcheckout.session.expiredcheckout.session.async_payment_succeededcheckout.session.async_payment_failedmandate.updatedrefund.updatedrefund.failedcharge.dispute.created
Search for each name and tick it. The page of the account has the same list with a copy button.
-
Choose Continue, then Webhook endpoint as the destination type, and Continue again. Paste the address from the first step in Endpoint URL and create the destination.
-
On the page of the new destination, choose Reveal secret and copy the signing secret. It starts with
whsec_. Each destination has its own, and a sandbox’s secret does not work for a live account. -
Back in the console, choose Change the account in the account’s menu (close the window shown after connecting first), paste the secret in Webhook signing secret, and save.
-
Choose Check the keys with Stripe in the account’s menu.
Every message Stripe sends is checked against this secret before it is read, and each one is handled once, even when Stripe sends it again. Messages are received even while payments are switched off for your organization, so no money movement is lost.
How to know the webhook works
Section titled “How to know the webhook works”Check the keys with Stripe asks Stripe whether the keys work. It does not test the webhook. To see events arrive, open the destination in Stripe and look at its Event deliveries tab: each event is listed as delivered, pending or failed, and opening one shows the answer of the platform. A 200 means the platform received it. In Test mode, make a test payment and watch its status change.
Mistakes to avoid
Section titled “Mistakes to avoid”- Keys from another account, or another mode. The check fails, or the console refuses the key. Take the publishable key, the secret key and the signing secret from the same Stripe account and the same sandbox or live mode.
- An endpoint that points anywhere else than the account’s webhook address. The console’s home page, the API’s root, or an address copied from another account never reaches the platform: payments stay in the status they had. Paste the address exactly as copied.
- Sending every event type. Stripe has more than two hundred event types and the platform acts on fourteen; the others are received and ignored, and Stripe advises against listening to all of them. Select only the events listed.
- A thin destination. The platform reads full events. Choose Snapshot, not Thin.
- The signing secret of another destination or mode. Each destination has its own secret. A secret that does not match makes every event fail with a
400.
Check an account
Section titled “Check an account”Check the keys with Stripe, in the account’s menu, asks Stripe, now, whether the stored secret key works. The result is kept with the account, with the time it was made: it passed, or it failed with the reason. Check an account after connecting it, after changing its secret key, and when payments start failing. It checks the keys, not the webhook: see “How to know the webhook works” above.
Edit an account
Section titled “Edit an account”Change the account opens the same form, with How to get these keys, Advanced and How to set up the webhook folded in it. You can change the Name, the Default currency, the Publishable key, the Secret key and the Webhook signing secret, or make the account the default. Leave a secret field empty to keep what is stored. The Key and the Mode never change. A right click on the account’s row opens the same menu.
If someone saved the account while you were editing it, your save is refused and says so: open the account again and redo your change.
The default account
Section titled “The default account”One account of your organization is the default. A product or an integration that names no account uses it. To change it, choose Change the account on another account and tick Use as the default account: the previous default stops being one.
Delete an account
Section titled “Delete an account”Delete asks you to confirm, then removes the account and its secrets. An account that took payments or holds SEPA mandates cannot be deleted, so that their history stays readable: stop using it instead by making another account the default.
Your organization can hold up to 20 accounts.
Test and live
Section titled “Test and live”- An account in Test mode moves no money. Use Stripe’s test cards (such as
4242 4242 4242 4242) and test IBANs to try a whole flow, webhook included. - Local and test environments of the platform accept test keys only. Live keys are accepted only where the platform allows them: elsewhere, a Live account is refused.
- Keep your test account after going live: it is the safe place to try a new product or a change.
When something goes wrong
Section titled “When something goes wrong”| What you see | What it means, and what to do |
|---|---|
| The check failed: the key was refused | Stripe does not accept the secret key: it was rolled, deleted, or belongs to another account. Copy a valid key from Stripe and paste it with Change the account. |
| The check failed: Stripe did not answer | Stripe could not be reached in time. Try Check the keys with Stripe again in a moment. |
| The check failed: the stored key cannot be read | The platform can no longer read the stored secret. Paste the secret key again with Edit. |
| The keys do not fit the mode | A test key on a Live account, or the reverse. Paste the keys of the account’s mode. |
| A live account is refused | This platform accepts test keys only. Use Test mode, or ask your platform administrator. |
Payments stay processing or requires_action | Stripe’s messages do not arrive: the account has no Webhook signing secret, the address in Stripe is wrong, the destination sends Thin events, or the events are not selected. Check each of them, then see “How to know the webhook works”. |
Stripe lists the events as failed, with a 404 | The account has no Webhook signing secret yet, or the address in Stripe is not the account’s webhook address. Add the secret with Change the account, and paste the address exactly as copied. |
Stripe lists the events as failed, with a 400 | The signing secret in the account is not the one of this destination, or of this mode. Reveal the secret of the destination in Stripe and paste it with Change the account. |
| The account cannot be deleted | It took payments or holds mandates. Make another account the default instead. |
A SEPA debit stays processing for some days in any case, until the bank confirms it: that is normal.
The assistant
Section titled “The assistant”The console The chat at the bottom of every app that answers questions about your work, with your permissions. It never changes anything until you approve.Glossary →, and agents connected through MCP, can work with payments while they are switched on, each tool under its One thing a role lets a person do in one area, such as seeing the users or approving a payment. On a role's page, each area takes a level: None, See, Work on or Full.Glossary →: read payments, saved methods, One collection day: the installments owed by that day are collected at once from each client's saved mandate or card.Glossary → and A link you send a client so they pay what they owe on the payment provider's page, without an account.Glossary → (Payments: See), and, once you approve each call, ask for a payment, record a The client's signed permission to collect from their bank account in euros. The payments module keeps it; Ops shows only its last characters.Glossary →, start saving a card, make a payment link (Payments: Work on) or refund (Payments: refunds: Work on). Amounts always come from a server, never from a payer, and a mandate’s IBAN never reaches the audit trail (see MCP tools).