CartHub
Payment infrastructure for internal apps

The Internal Payment Hub for All Your Apps

CartHub centralizes Tripay integration for every internal app: one invoice API, one place for callbacks, webhooks you can rely on.

What is CartHub?

CartHub is internal payment middleware sitting between your apps and Tripay. It's the only service that talks directly to Tripay — every source app just calls one standard invoice API. CartHub handles callbacks, tracking, notifications, logs, and PDF invoices/receipts, then dispatches payment status back to source apps via secure webhooks. CartHub is not an LMS, membership system, webinar platform, license manager, CRM, or storefront — business logic stays in each source app.

How It Works

1

Source app creates an invoice via HMAC-signed API

2

CartHub receives the request and forwards it to Tripay

3

User pays via virtual account, e-wallet, QRIS, or convenience store

4

Tripay sends a callback to CartHub

5

CartHub validates the signature and updates status

6

CartHub dispatches a webhook back to the source app

Features

Headless Invoice API

HMAC-signed, idempotent, JSON. Create, read, and cancel invoices programmatically.

Tripay Integration

Virtual accounts, e-wallets, QRIS, and convenience stores through a single integration point.

Callback Handling

Signature, merchant code, and reference validation; idempotent with fast ack.

Webhook Dispatcher

5 events (created/pending/paid/failed/expired), HMAC-signed, BullMQ retry with dead-letter.

Notifications

Email (Resend/Mailketing/SMTP) and WhatsApp (WAHA), templated and queued.

PDF Invoices & Receipts

Generated on-demand, stored in R2, presigned download.

Manual Transfer Review

Proof upload, admin approve/reject, full audit trail.

Tracking Engine

UTM, Meta (fbclid/fbc/fbp), Google (gclid/gbraid/wbraid), TikTok (ttclid).

Audit Log

Every admin action and API-key operation recorded.

Hosted Checkout

Branded checkout pages ready to go if you don't want headless.

Admin Dashboard

Invoices, payments, webhooks, notifications, documents, tracking, audit logs, and settings.

Tech Stack

Ready to get started?

Sign in to CartHub