Take card payments with Stripe.
Connect your own Stripe account, save a client’s card, and let Revvly charge invoices to it automatically — with retries, 3-D Secure and payment webhooks. Card numbers never reach Revvly.
01What Stripe does here
Stripe is only the card rail. Revvly stays the record of what each client owes: it raises the invoice, and Stripe moves the money. Revvly uses Stripe customers, saved cards and one-off payments; it does not use Stripe Billing, Stripe subscriptions or Stripe invoices for this. If Stripe already bills your customers and you want to move that billing to Revvly, read Move from Stripe Billing to Revvly after this guide.
Only workspace admins can connect Stripe, change the charging settings or see the Payments tab.
02Connect your Stripe account
- Org Settings
- Billing & finance
- Card payments
The tab is shown to workspace admins only.
Feature None to switch on.
Permission integrations.stripe.manage and finance.card.charge, held by admins and owners.
There are two ways to connect. Use Connect with Stripe when it is offered: you approve Revvly in Stripe and come back to the Payments tab. Revvly then acts on your account without ever holding your secret key.
If Connect is not offered, or you prefer it, paste a restricted key and the matching publishable key. The key needs write access to Customers, SetupIntents, PaymentIntents, PaymentMethods and Webhook Endpoints. Revvly stores the key encrypted and never shows it again, and registers its own webhook endpoint on your account so Stripe can tell it when a card was saved or a payment settled.
03Save a client’s card
Open the client, go to the Billing tab and use Add card in the Card on file section. The card is entered in Stripe’s own form, so the number never reaches Revvly. Replace card and Remove card are in the same place. Workspace admins, and anyone whose role allows card changes, see these buttons; others see the card but cannot change it. The section needs Stripe to be connected first. To collect a card from your own page instead, call startPaymentMethodSetup on the public GraphQL API for the client (by clientId or clientExternalId, with a key that has the WRITE capability). A customer who already has a card in Stripe keeps it: when you move a subscription from Stripe Billing, Revvly adopts that card.
Revvly keeps only Stripe’s summary — the brand, the last four digits and the expiry — and returns it as Client.paymentMethod. The card becomes the client’s default only when Stripe confirms it, which can take a moment after the form closes. Until then the client shows no card and nothing is charged.
04Which invoices are charged automatically
Turn on Charge issued invoices to the saved card on the Payments tab. An invoice is then charged to the client’s card when all of these hold:
- it is issued, still unpaid and has something due, and is not a credit note;
- it was raised by Revvly (a subscription invoice or one you created by hand), not imported from a spreadsheet, Drive or Stripe;
- it is not reconstructed history from a backfill;
- it was issued after both the Stripe connection and the card existed.
That last rule is deliberate: connecting Stripe never reaches back and collects invoices that were already out. A draft is charged when it is issued, not when it was created. An invoice outside these rules is collected the usual way — see Collect what you are owed — or through the payment webhook.
05When a payment fails
The payment is recorded on the invoice with a reference of the form stripe:<payment id>, so the invoice, the webhook and any retry always agree it is one payment.
06Follow payments with webhooks
Three events say what the card did. Subscribe an endpoint to the ones you need; an endpoint only receives the events it lists.
Each carries chargeId, invoiceId, paymentIntentId, the client (id and externalId) and the amount in major units. Nothing about the card is included. They describe the card; invoice.paid and invoice.overdue still describe the invoice, so an integration that only wants invoice state need not subscribe to these. Set up endpoints as in Outbound webhooks.
07Disconnect Stripe
Disconnect on the Payments tab stops automatic charging and removes the stored key; in restricted-key mode Revvly also asks Stripe to delete the webhook it registered. Saved customers and cards are filed under your Stripe account, so reconnecting the same account finds them again and a different account never inherits them. If you remove Revvly from inside Stripe, Revvly sees it and marks the connection disconnected.