On this page
Key takeaways
- Payments are an operating commitment, not a feature: someone has to be on call after launch.
- Decide up front who holds the keys, who monitors, and who answers the first support question.
- A self-hosted gateway deployed for the client can keep you out of the path of funds.
- Write the responsibilities into the statement of work, not the launch email.
It usually arrives as a line in a brief: 'we would also like customers to be able to pay by stablecoin'. It sounds like a checkout plugin. In practice it introduces keys, uptime, reconciliation, and a support burden that lasts long after the agency invoice is paid.
This guide is for agencies and freelancers who build for clients and want to say yes to payments without accidentally becoming responsible for someone else's money.
The responsibility map
Before quoting, decide who owns each piece. The table below is the conversation to have with every client.
| Responsibility | Client | Agency | Notes |
|---|---|---|---|
| Signing keys and funds | Yes | No | Keep the agency out of the path of funds |
| Hosting and secrets | Yes | Setup only | Client operates; agency documents |
| Integration with the site or app | Review | Yes | In the statement of work |
| On-call for payment incidents | Yes | Optional, paid, bounded | Do not imply 24/7 unless contracted |
| Reconciliation | Yes | Handover and training | Give finance the routine |
| Legal, tax, and compliance | Yes | No | Client's advisers, not yours |
The line to hold
If your agency can move the client's funds, you have taken on a different kind of business. Keep keys and signing with the client.
Three ways to add payments
Hosted processor
- Fast to integrate
- Vendor holds keys and operates
- Right for low volume and card needs
Self-hosted gateway for the client
- Client owns keys, data, and deployment
- Agency integrates and documents
- Right when ownership and inspectability matter
A self-hosted product such as StablePay can be deployed for a client they already operate, with a branded checkout. The software is theirs to run; the studio and the agency are not custodians and do not process payments as a service.
Scoping the work
- 01
Ask what the payment is for
Orders, invoices, subscriptions, donations. The flow decides the integration.
- 02
Agree on networks and tokens
One of each to start. Only enable what the software implements and tests.
- 03
Write the confirmation policy with the client
When does an order count as paid? This is a business decision they must own.
- 04
Define the handover
Runbook, fire drill, and a named person on the client's side.
- 05
Price post-launch support separately
A bounded retainer for payment incidents, with response windows in writing.
Contract language worth including
- Custody exclusion. The agency does not hold, move, or have access to client funds or keys.
- Scope of support. What is covered after launch, in what hours, and at what cost.
- Third-party dependencies. Networks, RPC providers, and wallets are outside the agency's control.
- Compliance. The client is responsible for its regulatory, tax, and legal obligations.
Have a lawyer review your own contract. The list above is a prompt for that conversation, not legal advice.
A launch sequence that protects everyone
A statement of work template for payments
Put the responsibilities in the contract, not the launch email. The skeleton below is a starting point for your own lawyer to adapt; it is not legal advice.
1. SCOPE
Agency will integrate the client's website/app with the client-operated payment gateway
("Gateway"), including checkout, event handling, and order updates.
2. CLIENT RESPONSIBILITIES
Client operates the Gateway, holds all keys and credentials, and is responsible for funds,
confirmation policy, reconciliation, tax, regulatory and legal obligations.
3. CUSTODY EXCLUSION
Agency does not hold, move, or have access to Client funds, signing keys, or wallets.
4. DELIVERABLES
Integration; runbook; fire-drill session; documentation.
5. POST-LAUNCH SUPPORT
Optional, separately priced, bounded: <hours>, <response window>, <exclusions>.
6. THIRD-PARTY DEPENDENCIES
Networks, RPC providers, and wallets are outside Agency's control.Support tiers that do not overpromise
| Tier | What is included | Response window | Notes |
|---|---|---|---|
| Handover only | Documentation and a fire drill | None after handover | Cheapest; client is on their own |
| Business hours | Bounded hours for integration issues | Next business day | Excludes network or provider outages |
| Extended | Named contact and escalation path | Same business day | Priced for the availability implied |
| On-call | Defined out-of-hours cover | Defined in the contract | Only if you genuinely staff it |
Do not imply availability you do not staff
A line like "we're always here" in a launch email becomes a contractual expectation the first time a payment fails on a weekend. Say exactly what you will and will not do.
An incident communication template
When something goes wrong, clients need short, factual updates on a predictable rhythm. Prepare the template before you need it.
SUBJECT: [Payments] <short description> — update <n>
Status: Investigating | Identified | Monitoring | Resolved
Impact: <who is affected, what they see>
Funds: <confirm whether funds are affected or safe, only if known>
What we know: <facts only>
Next update: <time>
Action for you: <if any>Branding and white-label considerations
- Checkout appearance. A self-hosted gateway can present a branded checkout; confirm what the software allows and what is customised in your integration.
- Terms and receipts. Payment terms, receipts, and refunds policies belong to the client's business and should be written by them.
- Support routes. Decide who a customer contacts about a payment: the client, not the agency.
The handover meeting
- 01
Walk the architecture
Where the gateway runs, where secrets live, and where your integration sits.
- 02
Walk the runbook
Follow two entries live in staging.
- 03
Run the fire drill
The client's operator repeats a failure recovery without help.
- 04
Confirm responsibilities
Read the responsibility map aloud; correct anything that has drifted.
- 05
Schedule the review
Book the thirty-day check-in before the meeting ends.
The twelve-factor methodology [1] and the SRE practices on being on-call [2] are good shared vocabulary for this conversation, especially with a client whose team has not operated a payment system before.
Agency pre-launch checklist
- Keys and signing are in the client's environment only.
- The client's operator has completed a fire drill.
- The confirmation policy is written and approved by the client.
- Post-launch support terms are in the contract.
- The client's advisers have reviewed compliance and tax questions.
If you build for clients and want a payments component you can deploy on their infrastructure, the StablePay product page describes the licences, the event contract, and what the software deliberately does not do.
References & further reading
- 1The Twelve-Factor App — Adam Wiggins, 12factor.net
- 2Being On-Call — Betsy Beyer et al., Google SRE Book
- 3Managing Incidents — Andrew Stribblehill, Google SRE Book
The product behind this post
StablePay
Self-hosted stablecoin payment infrastructure.
From $4,800 one-time license
About the author
Product behaviour described here reflects what is implemented and tested; anything else is marked as planned. Code samples are illustrative.
All writing