Integrations · Payments and billing
Stripe
Lets the concierge see whether a payment succeeded, look up a customer's payments and subscriptions, issue a refund, and change or cancel a Stripe Billing subscription.
Specified, built on request. This is what the Stripe connection does, written from Stripe’s own developer documentation. We build and test it with the first customer who asks. Ask for it.
What we ask of you
You create a restricted API key in your own Stripe Dashboard with only the permissions listed below, and paste it into Usher. We never ask for your Stripe login or your secret key.
- Sign in to the Stripe Dashboard and open the API keys page (dashboard.stripe.com/apikeys). Make sure you are in live mode, not a sandbox.
- Click 'Create restricted key'.
- When Stripe asks what the key is for, choose 'Authorizing agent access to your account'. This makes refunds and other sensitive actions subject to Stripe's approval rules.
- Enter a name in the 'Key name' field, for example 'Usher concierge'.
- Every permission starts at 'None'. Set only these: Customers: Read; Payment Intents: Read; Charges and Refunds: Read (choose Write only if you want the concierge to issue refunds); Subscriptions: Read (choose Write only if you want the concierge to change or cancel subscriptions). Leave everything else on 'None'.
- Click 'Create key' and complete the two-factor verification Stripe sends you.
- Click the key value to copy it (it starts with rk_live_) and paste it into Usher straight away. Stripe will not show it again.
- In the 'Add a note' field, write 'Stored in Usher', then click 'Done'.
We never ask for a password or an owner’s login.
The permissions it needs
| Permission | What it is for | Access |
|---|---|---|
Customers: Read (customer_read) | Find a customer by email address so their payments and subscriptions can be looked up | Read only |
Payment Intents: Read (payment_intent_read) | See whether a payment succeeded, failed or is still processing | Read only |
Charges and Refunds: Read (charge_read) | List a customer's charges and see existing refunds | Read only |
Charges and Refunds: Write (charge_write) | Issue a full or partial refund. Only if refunds are switched on | Can change |
Subscriptions: Read (subscription_read) | See a customer's subscriptions, their status and renewal date | Read only |
Subscriptions: Write (subscription_write) | Change, pause or cancel a subscription. Only if subscription changes are switched on | Can change |
What it can do
- Look up a customer by emailSearch results can lag by up to a minute (up to an hour during outages) and Search is not available to merchants in India; the list endpoint with the email filter avoids this.Reads
- See whether a payment succeededThe status field shows the outcome (for example succeeded, processing, requires_payment_method).Reads
- Look up a customer's paymentsReads
- See existing refundsReads
- Look up a customer's subscriptionsReads
- Issue a refundPartial refunds are allowed, repeatedly, up to the unrefunded amount. Refunds go back to the original payment method. With an agent-tagged key, Stripe's approval rules can hold a refund until a designated reviewer approves it.Changes something
- Cancel a subscription at the end of the paid periodChanges something
- Cancel a subscription immediatelyImmediate and largely irreversible; by default no prorated credit is created.Changes something
- Change a subscriptionChanging plan needs the price IDs; reading the price list needs an extra permission (Prices: Read, plan_read).Changes something
Anything that changes something is off until you switch it on, and stays inside the limits you set.
What it cannot do
- A restricted key cannot be limited to refunds only: Stripe groups charges and refunds under one permission, and its Write level also allows creating, updating and capturing charges.
- Stripe Connect OAuth is not the route for this. Stripe states that read-only Connect OAuth is only for applications registered as extensions and that a Stripe App replaces Connect extensions for access to another account's data.
- Refunding to a different card or account than the one originally charged.
- Refunding a charge that is already fully refunded, or more than the remaining amount.
- Customer search (the /search endpoints) for merchants in India.
Limits and requirements
- Rate limit: 100 requests per second in live mode and 25 per second in a sandbox, per Stripe account; 25 requests per second per individual endpoint; Search API 20 read requests per second.
- Read allocation: read requests must not exceed an average of 500 per transaction over a rolling 30 days, with a minimum allocation of 10,000 read requests per month.
- Subscriptions: at most 200 quantity updates per subscription per hour; 10 new invoices per subscription per minute and 20 per day.
- Live-mode restricted keys are shown once at creation and cannot be revealed again; a lost key must be rotated.
- Live and sandbox keys are separate (rk_live_ and rk_test_); data in one mode is not visible to the other.
- Platform route (many businesses): a Stripe App using OAuth must be a public app, which goes through Stripe's app review and is published on the Stripe App Marketplace before the public install links work. OAuth access tokens expire after 1 hour; refresh tokens expire after 1 year and are replaced on every exchange. Alternatively a Stripe App can use restricted-key authentication, where installing the app generates a key with exactly the app's permissions for the business to copy to us.
- Stripe recommends attaching an access policy (for example our server IP addresses) to live keys; the business can do this under 'Manage access policy' on the key.
Your customers’ data
Customer name, email address, phone, billing and shipping address; payment amounts, dates and status; card brand and last four digits (never the full card number); subscription plan, status and renewal dates; refund records.
Stripe is a trademark of its owner. Usher is not affiliated with or endorsed by Stripe. Details are taken from its public developer documentation and may change; we confirm them when we build the connection.