Skip to content
Help › Stripe

Connect Stripe Coming soon

2 min read

Make a restricted key for Duks in Stripe. Here you can also see what the AI can see and do, and what it never does.

The account at Duks is in Danish. Where this page names a button or a page in the account, the Danish name is in quotes, with what it means after it.

Stripe cannot be chosen at Duks yet. This page shows how it will work.

What you get

With the role "Bogholder" (Bookkeeper), the AI can see customers, payments, invoices, credit notes, subscriptions, the balance and the payouts, and create and send invoices, cancel subscriptions and respond to disputes. "Indblik" (Insight) sees everything and changes nothing.

Stripe in your AI: what you can ask

What you need

  • You are an administrator at Duks.
  • One person gives access for the whole company.
  • The key must be a restricted key with read access to balance and payouts and write access to what the roles at Duks use: customers, payments and refunds, invoices and credit notes, subscriptions, products and prices, payment links and disputes.

Step by step

The key belongs to the company's account with Stripe and applies to everyone you give a role at Duks. Make a restricted key, so it can only do what Duks uses. We test it with Stripe before we save it, and it is never shown again. Stripe's own words are written here the way Stripe writes them.

  1. Open the keysLog in to Stripe, and go to "Developers" and "API keys". Choose "Create restricted key".
  2. Give the key accessGive "Write" to "Customers", "Charges and Refunds", "PaymentIntents", "Invoices", "Credit notes", "Subscriptions", "Products", "Prices", "Payment Links" and "Disputes", and "Read" to "Balance" and "Payouts". Leave the rest on "None".
  3. Paste it in at DuksCopy the key that starts with rk_live_, and paste it in under "Tilføj system" (Add system) at Duks.

The Stripe app, so you can connect Stripe in one click without a key, is coming later. Until then, the key is the way.

What each role may do in Stripe

Each colleague gets a role in Stripe. The AI only sees and changes what the role allows, and every change is in your log. What a role is, is explained under roles.

The roles in Stripe, as the account names them:

  • "Indblik"
  • "Kundeservice"
  • "Bogholder"

What the AI can do

What the person's role allows happens straight away and is written in your log at Duks before it is sent to Stripe. What moves money or starts a payment is done in Stripe itself: refunding a payment, capturing or cancelling a payment, finalising or charging an invoice, making a credit note, accepting a dispute, changing a subscription and making payment links. If many changes are asked for in a row, Duks pauses until the person says continue at Duks themselves.

What Duks does not do

  • Create, change or cancel payouts and transfers, or choose who gets money
  • Change bank accounts, cards or payment methods
  • Change the customer's balance directly, only through an invoice or a credit note
  • Change the account's settings, keys or messages to other systems
  • Delete a finalised invoice, a customer or anything else with history

Remove the access again

Log in to Stripe, find the key for Duks under "Developers" and "API keys", and delete it. If you also remove Stripe under "Systemer" (Systems) at Duks, the access is closed in both places. See stop or remove access.