Written for whoever has to sign off on it.
PayGate COI sits between your QuickBooks file and your check run, so it touches exactly two things: who your subcontractors are, and what you owe them. This page describes the whole path, including the parts that are deliberately not built.
What the connection reads
- Vendor records
- Display name, email, phone, 1099 flag, active status. Read from QuickBooks, stored per organization.
- Open bills
- Bill number, vendor, amount, balance, due date, status. Amounts stored as integer cents.
- Certificates
- The PDF the subcontractor uploads, plus doc type, carrier, policy number and expiry typed by the uploader.
- Not sent to us
- Bank feeds, payroll, customer records, journal entries, card numbers or QuickBooks credentials.
The OAuth grant is the QuickBooks accounting scope limited to read operations on vendors and bills. PayGate does not create, edit or void transactions in your books, and the connect screen at Intuit states the access it is granting.
Tokens are sealed before they are stored
QuickBooks access and refresh tokens are encrypted with AES-256-GCM using a 32-byte key held outside the database, in the Vercel environment. Each value carries its own random IV and authentication tag, so a row read from a database backup is useless on its own.
Refresh tokens rotate on every refresh and the new value is written immediately. A revoked or expired refresh token marks the connection disconnected and prompts a reconnect instead of failing silently in a cron job.
- Cipher
- AES-256-GCM, authenticated
- Key handling
- Environment secret, never in the database or logs
- Password storage
- Sign-in is OAuth or magic link. No passwords to hash
- Upload links
- SHA-256 hashes stored, never the raw token
- Session
- Signed, http-only cookie
Certificates
PDFs live in a private Cloudflare R2 bucket. There is no public object URL and no bucket listing. The browser uploads straight to R2 with a presigned PUT that expires in minutes and is scoped to one object key, and the dashboard reads them through equally short-lived signed GETs.
Object keys are namespaced by organization, vendor and a random UUID, so one tenant's path cannot address another tenant's file. Uploads are limited to PDF and 10 MB, validated on the server as well as at the presign step, and the upload link is single-use per document with a 14-day expiry.
Tenancy and access
Every query is scoped through the signed-in user's organization membership. There is no shared dashboard, no global vendor list and no support login that bypasses the check. Cross-organization access is covered by an automated test rather than a promise.
Sub-processors
| Provider | Purpose | Region |
|---|---|---|
| Vercel | Application hosting and cron scheduling | United States |
| Supabase | PostgreSQL database, us-east-1 | United States |
| Cloudflare R2 | Private certificate PDF storage | United States |
| Resend | Transactional email and reminders | United States |
| Stripe | Subscriptions, invoices and the billing portal | United States |
| Intuit | QuickBooks Online API, OAuth and app listing | United States |
Retention, disconnect and deletion
- While the account is active
- Vendor, bill and certificate data is kept so the audit export covers the periods your auditor asks about.
- Disconnecting QuickBooks
- Revokes the tokens at Intuit and deletes the stored encrypted tokens. Synced vendors and bills stay readable until you delete the workspace.
- Deleting the workspace
- Removes the organization row, its members, vendors, bills and certificates from the database, and purges the certificate objects from R2.
- Backups
- Encrypted database backups roll off on the provider's retention schedule, after which deleted rows are unrecoverable.
- Email logs
- Notification records (who was emailed, when) are kept for duplicate suppression and audit evidence, and are purged with the organization.
Reporting a problem
Email support@paygatecoi.com with the subject line SECURITY. Reports are acknowledged within two business days. If a vulnerability affects stored data, affected organizations are emailed directly with what was exposed and what was rotated.
PayGate COI is operated by Dominic Williams (sole proprietor), PO Box 570136, Tarzana, CA 91356. The data handling commitments are also in the Privacy Policy.