Run your clinic
Patient payments
Connect Stripe, save cards with the patient's consent, charge copays at check-in, send pay links, and give patients statements and superbills.
Patients pay through your clinic's own Stripe account: a card they save once, the copay charged when they check in, and a private link to their statement where they pay any balance and download receipts and superbills. Money goes straight to your Stripe account. Card numbers go to Stripe and never to Balm.
Connect Stripe
- In the Stripe Dashboard, open Developers → API keys and copy a secret key. A test-mode key (
sk_test_…) lets you try everything with Stripe's test cards, such as4242 4242 4242 4242. - In Balm, the owner opens Clinic → Online payments, pastes the key and selects Connect Stripe.
Balm checks the key with Stripe and keeps it sealed. On an install with a public https address, Balm also creates the webhook through which Stripe reports each payment and saved card. A copy running on your own computer has no public address, so Balm reads each outcome back from Stripe when the patient returns to their link.
Online payment is not available yet on RER Managed hosting: it has no route out to Stripe until RER adds a provider relay. Run Balm yourself (on your own computer or your own Cloudflare account) to take payments. Check-in, statements, superbills and payments you record at the desk work everywhere.
Superbill details
In Clinic → Billing identifiers, enter each practitioner's 10-digit NPI. Balm checks its check digit. The clinic's Tax ID comes from Clinic details; enter it before you approve invoices, because an invoice keeps the clinic details it was approved with.
A card on file
Patients can choose Card on file directly in intake or in the signed-in portal’s Statements and payments. Card authorization is separate from treatment consent. Each entry retains the exact authorization, acceptance time and whether it came from intake, the portal or a private payment link. Stripe Checkout uses a SetupIntent and hosts every card field.
In the patient's file, under Card on file and copay:
- Email a card form sends the patient a private link, or
- Open the card form here opens it on the front desk's screen for the patient to fill in.
The patient reads the clinic's authorization, which lets the clinic charge copays at check-in and balances on visits they attended, checks it, and enters their card on Stripe's page. Balm keeps the card's brand, last four digits and expiry, plus the exact authorization and the time the patient accepted it. A patient has one card on file, and a new card replaces the old one. Remove card takes it off Balm and out of your Stripe account.
Set the patient's Copay per visit in the same panel.
Copay at check-in
On the Schedule, a visit booked for today shows Check in and charge $30.00 copay to Visa ending 4242 when the patient has a copay and a card on file. One select checks the patient in and charges the card. The visit then shows Copay $30.00 paid and its receipt (R-000001), which is also emailed to the patient. If the bank declines the card, or asks the patient to confirm the charge, the patient is still checked in, the reason is shown, and you can try again or send a pay link. Check in without charging checks the patient in only, and a visit can be charged once.
The copay waits on the visit until its invoice is approved, and then counts toward that invoice.
Coinsurance and patient responsibility at check-in
After checking the patient in, expand Collect patient responsibility for the chosen invoice. Choose Adjudicated coinsurance or Outstanding patient responsibility, enter the exact dollar amount, confirm it with the patient separately from the configured copay, then choose Collect on saved card or Collect on terminal. Only approved invoices for attended visits appear. Coinsurance comes from the final recorded payer adjudication; a payer hold makes that invoice unavailable.
The available amount deducts posted payments, adjustments, patient credit and pending collections, including collections started from another screen. A competing request cannot reserve the same remaining amount twice. The original payment retains its selected purpose, invoice, visit and Stripe identity. These check-in payments apply only to that selected invoice; any amount no longer applicable after a later change remains patient credit for review.
A saved-card decline stays visible without another charge on replay. An uncertain saved-card or Terminal send stays reserved: Check Stripe status reads the original payment, including recovery of a lost intent response. It never starts another charge. Terminal cancellation explicitly cancels the original Stripe intent before releasing its reservation. The patient’s signed-in portal provides each fixed original receipt, and the ledger and financial report include the same cents.
The software paths have network-edge proof. Live qualification of these additions and physical paired-reader operation remain outstanding.
Approved Stripe refunds
In the patient’s file, open Stripe refunds, choose the original succeeded payment, enter the exact refund amount and reason, and select Prepare refund for approval. Preparation moves no money. The owner or an assigned biller reviews the original Stripe charge and current patient and practice account, then confirms Approve and refund. Balm checks the original processor facts again before sending and retains the approver and exact approved action.
A refund goes only to the original payment method. Its provider refund ID, amount and original charge must match before Balm records it. The ledger and invoice allocations show the reversal, while the original payment receipt keeps its issued bytes. The portal keeps both payment and refund receipts and the updated statement and superbill.
If a response is lost or Stripe reports a pending outcome, select Read original Stripe outcome. Repeated approval never sends another refund. A changed patient, account, amount, original allocation or provider state requires a fresh preparation. For an older payment, Balm retrieves the actual original intent and charge in the connected Stripe account and checks the original patient and payment references, amount, currency and mode. Only the exact owner or biller approval records the verified original account and customer binding; a mismatched or unavailable original is refused.
Stripe Terminal
The owner configures a smart reader in Clinic → Card terminal, either using its registered Stripe reader ID or registering it with an existing Terminal location and the reader’s code. At check-in, reception can select Check in and collect $30.00 on terminal. The patient taps or inserts on the reader; Balm accepts no card fields. Check Stripe status reads the original intent before posting one receipt and copay. An uncertain or declined collection stays reserved until the original intent succeeds or is explicitly canceled.
In test mode, Create a Stripe test reader and Present test card in Stripe use Stripe’s real simulated-reader API. This demonstrates the server-driven integration, not operation of a physical paired clinic reader. That physical-device proof remains outstanding.
Pay links and statements
When a patient owes a balance, their file shows Email a $65.00 pay link, or Open the pay page here. The link works for 30 days and opens the patient's statement: every approved invoice and every payment across their visits, with a running balance and the balance due. From it the patient can:
- pay any amount up to the balance by card, on Stripe's page
- save a card for copays
- download the statement, each receipt and each visit's superbill as PDF files.
The email names your clinic and the amount only, never a service or diagnosis.
Texting pay links waits on your US A2P 10DLC registration, which carriers require before a business texts patients. Once it is approved, give your deploy the Twilio settings in RUN-LOCALLY.md, and the file also shows Text a pay link. Until then, send links by email.
How payments are matched
A card payment is matched to invoices once: to the invoice it was charged for (or the visit's own invoice, for a copay) and then to the oldest open invoices. A patient who pays more than an invoice has left keeps the rest as credit, which is applied when their next invoice is approved. Stripe may report one payment several times: when the patient returns to their link, by webhook, or by a webhook repeated after a delay. Balm posts it once whichever comes first. Each card payment appears in the patient's file with its status and receipt, and the patient's audit records every check-in, saved card, charge, link and download.
Superbills
Each approved invoice has a Superbill (PDF) under Superbills in the patient's file, and on the patient's link. A superbill lists:
- the clinic, its address and tax ID
- the rendering practitioner and their NPI
- the patient's name and date of birth
- the date of service
- the ICD-10 diagnoses
- the CPT codes with modifiers and units
- the charges, the amount paid and the balance.
Record the codes in the patient's file under Visit codes, for example 97161 GP, 97110 GP x2 and M25.561, M54.50. When the visit's signed treatment note billed CPT units, the superbill uses those instead. Until the NPI, the tax ID, a diagnosis and a CPT code are all present, the file names what is missing instead of offering the PDF.
Good Faith Estimates
At scheduling, ask whether the patient is insured and will submit a claim. An explicit uninsured or self-pay answer opens an estimate request; the owner sees its federal due date on the schedule until the estimate is issued. Unknown coverage stays unknown. Existing API callers that omit coverage also remain unknown.
In the patient file’s Good Faith Estimates, the owner records the patient’s requested written delivery method, chooses a plan or referral containing diagnosis codes and lists each expected service’s CPT or HCPCS code and quantity. Current cash fees supply the amounts. Preparation and issuance refuse missing codes, and the exact reviewed digest must still match the source records and fees.
Choose the patient portal, or paper. For paper, download and print the fixed original PDF, hand it over or mail it as the patient requested, then record the actual date and method. Balm sends nothing automatically and never treats issuing a paper original as completed delivery. The signed-in portal keeps the same original in either case.
This is still a partial GFE workflow: availability notices, biller/reception preparation, superseding estimates, a six-year destruction floor, and co-provider estimates/AEOBs remain unimplemented. Retain issued estimates outside any earlier destruction approval until the six-year protection ships. Email delivery stays PAY-009 and needs consent.