Stripe
You connect Stripe with a restricted key that you create in Stripe with only the permissions Minerva needs. Minerva refuses secret keys, which can do anything in the account. A test key and a live key are two connections.
You choose per customer, or for every customer, what agents may do. A refund or a credit also needs its amount allowed: Up to a limit in a currency, or the whole currency. Your organization can deny amounts More than a limit for everyone.
Permissions
Section titled “Permissions”| Permission | Chosen per | What agents can do |
|---|---|---|
| Read | Customer | List and read customers, and list their payments, invoices and subscriptions. |
| Refund payments | Customer and amount | Refund part or all of a payment. |
| Credit balances | Customer and amount | Add credit to a customer’s balance. |
A customer covers their payments, invoices and subscriptions. Payments without a customer are covered only by allowing every customer. A refund or credit also needs Read on the customer.
Risks to weigh
Section titled “Risks to weigh”- Refunds and credits move real money with a live key.
- Limits apply to each refund or credit on its own. Minerva keeps no total, so many refunds within the limit add up, in one run and across runs.
Before a refund is sent, Minerva checks the payment again: the currency must match, the payment must have succeeded and not be disputed, and the amount must not exceed what is left to refund.
What agents cannot do
Section titled “What agents cannot do”Agents cannot create charges, invoices or subscriptions, cancel subscriptions, or touch disputes, payouts or Stripe Connect accounts.