PPay
Sandbox mode only โ€” no real payment processing today

A payment gateway for Pakistan

PPay is a full-featured payment gateway platform โ€” checkout sessions, payment links, invoicing, subscriptions, refunds, and webhooks โ€” built to demo to banks, investors, and regulators ahead of pursuing an actual State Bank of Pakistan license.

Never touches real PAN data by designDocumented test cards & wallets
100%
Sandbox โ€” deterministic, no real money moves
HMAC
Signed webhooks with retry backoff
1
Dashboard for checkout, invoices & subscriptions
Sandbox Checkout
// mode: sandbox · no real PAN data
$ ppay create-session --amount 2500
> session sk_test_... created
> simulate: test card 4242...
> payment_succeeded (simulated)
> webhook sent, HMAC-signed
FastAPI
PostgreSQL
Webhooks
Overview

Everything a gateway needs โ€” running safely in sandbox

PPay covers checkout sessions, hosted checkout pages, payment links, invoicing, subscriptions, refunds, and webhooks โ€” modeled closely on Stripe. Every authorization is deterministically simulated. This is a deliberate go-to-market strategy: prove the product end-to-end before pursuing a real State Bank of Pakistan PSO/PSP license.

Checkout Sessions API

Idempotent checkout sessions plus a hosted checkout page โ€” integrate once, avoid duplicate charges on retries.

Payment Links & Invoices

Get paid without building your own checkout โ€” generate a link or a hosted invoice and send it.

Subscriptions

Recurring billing, products & pricing, coupons, and ledger entries.

A real "Go Live" flow

Merchants submit business/bank/KYC details for manual review โ€” no auto-approval for real money, ever.

Key Features

A merchant dashboard that's actually complete

๐Ÿงพ

Checkout Sessions

Idempotent sessions and a hosted checkout page, mirroring Stripe's integration model.

๐Ÿ”—

Payment Links & Invoices

No-code ways to get paid โ€” a link or a hosted invoice, sent directly to a customer.

๐Ÿ”

Subscriptions

Recurring billing plans, products & pricing, coupons, and ledger entries.

๐Ÿช

Webhooks

HMAC-signed webhooks with retry backoff, so your systems stay in sync with payment events.

๐Ÿ’ณ

Sandbox Simulation Engine

Deterministic payment simulation with documented test cards and wallets โ€” never touches real PAN data.

๐Ÿ“Š

Merchant Dashboard

Balances, customers, events, API docs, and a help center โ€” the full operating picture.

See all features โ†’
How It Works

Sandbox today, licensed tomorrow

STEP 01

Integrate in sandbox

Issue sandbox API keys and integrate the Checkout Sessions API or payment links โ€” fully functional, deterministic, safe.

STEP 02

Test the full flow

Simulate successful and failed payments with documented test cards, refunds, and webhook delivery.

STEP 03

Submit for Go Live review

When SBP licensing is in place, submit business/bank/KYC details for manual review before any real money moves.

Who It's For

Pakistani merchants who need a local alternative

Solo merchants

Using payment links and invoices to get paid without building a checkout of their own.

Developers

Integrating the Checkout Sessions API with idempotency keys so retried requests never duplicate a charge.

Subscription businesses

Setting up recurring billing plans ahead of go-live.

Banks, investors & regulators

Evaluating a demo-able, feature-complete gateway before a licensing conversation.

Why Sandbox First
We'd rather show you a complete, working product in sandbox than a half-built one processing real money. PPay proves the entire merchant experience โ€” checkout to settlement โ€” before asking for a license, not instead of one.
Resources

Get started in the sandbox

Try PPay in sandbox

Full checkout, invoicing, and subscriptions โ€” safe to test end to end.

Request beta access Explore features