fahmi hidayatulloh
all work
liveJul 2026 – nowJago Codeapi

JagoPay

The payment layer behind my own products: one order API over Xendit and PayPal, a checkout that confirms in real time, and a double-entry ledger.

my part · Built solo, in my own time. Rebuilt from scratch; i design, review and ship it; a lot of the code is written with an AI pair.

  • Rebuilt from scratch in 2026; replaces Jago Pay v1

The problem

Every product I ship needs to take payments. Wiring a payment provider into each one separately duplicates the work, and the risk.

What I built

An order API with hashed API keys and an OpenAPI spec, sitting on Xendit (virtual accounts, QRIS, e-wallets, retail outlets) and PayPal. Fee rules and currency conversion are configurable, and money is stored as integers so nothing rounds away.

A popup checkout, loaded by a small SDK, that updates live over websockets and falls back to polling. Underneath it, a double-entry ledger: refunds reverse entries, payouts re-check the balance under a lock, and every gateway webhook is verified before it's trusted. Live, test and sandbox modes, with simulated payments.

Subscriptions with an invoice per cycle, a permanent invoice link, past-due handling, and cancellation now or at period end, so nobody gets billed after they asked to stop.

Where it is now

In production since July 2026, and the payment layer my newer products bill through.

the owner dashboard: revenue, gateway balances, subscriptions
the checkout popup, opened by the sdk over a merchant's page
a double-entry journal, with fx legs for a paypal payment
subscriptions across products: active, past due, canceled
the checkout on a phone: pick a method, see the fee and total
one permanent link per invoice: pay it, then it's a receipt

this replaces Jago Pay v1, which taught me most of what this one does right.

next up

EV charging aggregator

A microservices platform for EV charging I designed and partly built: one sign-in and one wallet, with a charging aggregator on top.

got something in mind?

email works best. dms are fine too.

fahmi@jagocode.id