Skip to content
FlatCryptoPay
Solutions · SaaS and software

Crypto payments for SaaS

SaaS companies use FlatCryptoPay to bill customers in USDT, USDC or Bitcoin through a small REST API, with each payment going directly to the company's own wallet. Create an invoice per billing period, send the hosted link, and provision access when the signed invoice.paid webhook arrives.

Last verified

The problems we solve

  • Global customers on prepaid or regional cards that fail recurring charges.
  • Friendly-fraud chargebacks on digital subscriptions.
  • Developer-hostile crypto APIs built around custodial balances and payouts.
  • Percentage fees that scale with revenue rather than cost.

Invoice per period

Create one invoice per billing cycle with your customer ID in metadata and send the hosted link by email.

Webhook-driven provisioning

Grant or extend access on invoice.paid; downgrade on invoice.expired. Deduplicate on the event ID.

Idempotent API

Idempotency-Key headers make retries from your billing job safe.

Test mode

Simulate payments end to end with fcp_test_ keys and livemode=false events before touching real funds.

Recurring billing with push payments

Card subscriptions work by pulling money from the customer. Crypto is push-only: nobody can debit a wallet automatically. The practical pattern is an invoice for each renewal. A few days before the period ends, your billing job calls POST /invoices with the plan price, the customer ID and period in metadata, and an expires_in that covers your grace period. You email the hosted_url, and when invoice.paid arrives you extend the subscription.

Many SaaS teams offer a discount for annual prepayment in stablecoins, which reduces renewal friction to once a year and suits customers who prefer not to keep a card on file.

Mapping invoice events to subscription states

EventSuggested action
invoice.processingShow payment detected in the customer portal
invoice.paidExtend the period, send receipt
invoice.expiredSend a reminder or start the grace period
invoice.canceledClose the renewal attempt, for example after a plan change

A minimal integration in four pieces

Most SaaS teams ship crypto billing in a day because the surface is small. You need a billing job that creates invoices, a page or email that shows the hosted link, a webhook endpoint that verifies signatures, and a mapping from invoice events to your subscription table. Everything else, from network selection and QR codes to price quotes, confirmation counting and card checkout, happens on the hosted page.

  • Billing job: POST /invoices with amount, currency, order_id and metadata such as account_id and period.
  • Delivery: email the hosted_url or show it in your customer portal.
  • Webhook: verify X-FCP-Signature over the raw body, reject stale timestamps, deduplicate on X-FCP-Event-Id.
  • State: update the subscription inside the same transaction that records the event ID.

Why stablecoins suit software revenue

Your costs, salaries and cloud bills, are mostly in dollars or euros. USDT and USDC keep revenue in a dollar-pegged asset, so a $49 plan is still worth about $49 when you reconcile at month end. With 0% per transaction and a flat plan price, the cost of collecting revenue stays fixed as you grow.

Frequently asked questions

Can SaaS companies accept crypto subscriptions?

Yes, by invoicing each billing period. Crypto cannot be debited automatically, so you send a pay link for each renewal and extend access when the invoice is paid.

How do I integrate crypto payments into my SaaS app?

Create invoices with POST /invoices from your backend, redirect or email the hosted_url, and handle invoice.paid in a webhook endpoint that verifies the HMAC signature.

Can I attach my own customer IDs to payments?

Yes. Use order_id and up to 20 metadata keys on each invoice; they are returned in webhooks and API responses.

What happens if a customer pays late?

If the invoice expired, the funds still reach your wallet, but the invoice will not complete automatically. Create a new invoice or reconcile manually.

Is there a sandbox?

Test keys give you a full sandbox with simulated payments and test webhooks on every plan, including the free one.

Can I offer crypto billing alongside Stripe or another card processor?

Yes. FlatCryptoPay runs independently of your card billing. Many SaaS teams keep card subscriptions as the default and offer stablecoin invoices for annual plans or for customers whose cards fail, using the same account ID in metadata to link both.

Related

Start accepting crypto in minutes

Create a free account, add your wallet addresses and send your first invoice. No business documents, no percentage fees, no custody.

Start free: no fees, no documents