← Back to all docs

LawPay API

LawPay is a payments platform built for law firms. It lets firms accept credit cards and ACH online, request retainers, keep trust and operating funds strictly separated, and reconcile deposits—without running a

By Alex KlarfeldFebruary 20, 2026
LawPay API

What is LawPay?

LawPay is a legal payments and billing solution from AffiniPay designed to meet bar association rules and trust accounting requirements. It powers online card and eCheck/ACH acceptance, payment pages/links, recurring schedules and payment plans, client-friendly financing (ClientCredit), and detailed reporting with separate trust and operating accounts.

Core product areas include:

  • Payment Acceptance (card, ACH, payment pages/links, QR codes)
  • Trust Accounting Compliance (IOLTA-safe deposits, separate ledgers, trust-to-operating transfers)
  • Client Experience (email/text requests, payment plans, BNPL/ClientCredit)
  • Reporting & Reconciliation (transaction details, fees, net payouts, dispute/return handling)
  • Integrations (practice management, accounting like QuickBooks, and document workflows)

Common data entities:

  • Clients/Contacts (name, email, firm identifiers)
  • Matters (client/matter number, descriptions, billing contacts)
  • Accounts (trust vs. operating, bank accounts, ledger balances)
  • Payment Requests (links with amount, due date, methods, matter tags)
  • Transactions (charges, refunds, ACH returns, fees, status lifecycle)
  • Trust Transfers (authorized movement from trust to operating for invoiced work)
  • Payouts/Settlements (bank deposits with gross, fees, net, transaction breakdown)
  • Payment Methods (stored cards, eCheck authorizations)
  • Refunds/Chargebacks (amounts, reasons, case tracking)
  • Users/Roles & Audit (permissions, who did what and when)

The LawPay Integration Challenge

Legal teams and finance ops rely on LawPay every day, but turning portal workflows into API-driven automations that respect trust accounting rules and matter-centric organization can be difficult:

  • Trust/IOLTA constraints: Transfers must be authorized and tied to specific invoices and matters with a clear audit trail
  • Matter alignment: Every payment needs accurate client/matter tagging for filing in iManage and downstream accounting
  • Asynchronous settlement: Card batches, ACH clearing, returns/NACHA codes, and disputes arrive on different timelines
  • Authentication realities: MFA and session lifecycles complicate headless access
  • Data reconciliation: Mapping transactions to payouts and GL accounts while separating fees and net amounts
  • Client experience options: Surcharging policies, ACH enablement, and ClientCredit/BNPL need consistent parameterization

How Supergood Creates LawPay APIs

Supergood reverse-engineers authenticated browser flows and network traffic to deliver a resilient REST layer for your LawPay tenant.

  • Handles username/password and MFA (SMS, email, TOTP) securely
  • Maintains session continuity with automated refresh and change detection
  • Normalizes clients, matters, payment requests, transactions, transfers, and payouts to consistent schemas
  • Enforces customer entitlements and role permissions for compliant access
  • Supports high-volume operations (bulk requests, reconciliation) with polling and optional webhooks for long-running workflows (e.g., ACH settlement, returns)

Getting Started

  • Schedule Integration Assessment

Book a 30-minute session to confirm your modules, licensing, and authentication model.

  • Supergood Builds and Validates Your API

We deliver a hardened LawPay adapter tailored to your workflows and entitlements.

  • Deploy with Monitoring

Go live with continuous monitoring and automatic adjustments as LawPay evolves.

lawpaypicture-update

Use Cases

iManage-Centric Payments & Filing

- Generate matter-tagged payment links and embed them in iManage workspaces or engagement letters - Automatically store paid receipts, ACH authorization PDFs, and transfer memos into the correct iManage folders - Sync payment status back to iManage profile fields (e.g., Retainer Balance, Last Payment Date)

Retainers, Invoices, and Trust Compliance

- Request retainers against trust with designated matter numbers - Initiate compliant trust-to-operating transfers when invoices are approved, with itemized references - Preserve a complete authorization and audit trail per matter

Settlement & Reconciliation

- Pull daily payouts and tie them to underlying transactions and fees - Reconcile by matter, client, and bank account; export to accounting (e.g., QuickBooks) - Detect ACH returns and disputes and route them to your case/ticketing systems

Client Payments and Reminders

- Offer card/ACH/ClientCredit options via branded links - Schedule payment plans and send reminders; notify your app on success/failure - Trigger retainer replenishment when balances fall below thresholds

Technical Specifications

Authentication

Username/password with MFA (SMS, email, TOTP); supports service accounts or customer-managed credentials

Response format

JSON with consistent resource schemas and pagination across modules

Rate limits

Tuned for billing operations and reconciliation workloads while honoring entitlements and usage controls

Session management

Automatic reauth and cookie/session rotation with health checks

Data freshness

Near real-time retrieval of payment requests, transactions, transfers, and payouts; settlement/returns reflect network timelines

Security

Encrypted transport, scoped tokens, and audit logging; respects LawPay/firm role permissions and trust accounting constraints

Webhooks

Optional delivery for events (payment.succeeded, ach.returned, refund.processed, trust.transfer.completed, payout.paid)

Latency

Sub-second responses for list/detail queries under normal load; settlement/return availability depends on card/ACH networks

Throughput

Designed for bulk payment link generation and high-volume reconciliation

Reliability

Retry logic, backoff, and idempotency keys minimize duplicates and support at-least-once processing

Adaptation

Continuous monitoring for UI/API changes with rapid adapter updates

Frequently asked questions

Supergood supports workflows commonly used for legal billing and trust accounting, including Payment Requests (links, email delivery), Transactions (card/ACH, refunds, returns), Trust Transfers (IOLTA-compliant movements), and Payouts/Reporting (deposits, fees, net amounts), subject to your licensing and entitlements. Scope is finalized during assessment.

We support username/password + MFA (SMS, email, TOTP). Sessions are refreshed automatically with secure challenge handling and monitoring for expiry.

Yes. We can deliver webhooks for settlement, ACH returns (with NACHA codes), disputes, refunds, and trust transfer completion—or you can poll endpoints with incremental filters.

We separate trust and operating contexts, require explicit invoice/matter references for transfers, capture authorization details, and maintain immutable audit records. We also ensure request parameters align with allowed methods and firm policies.

Yes. Include iManage metadata (workspace/folder) when creating requests or transfers, and we will attach generated receipts/authorizations and post them to the specified iManage location with consistent filenames and profile fields.

Ready to get a real API?