Skip to content
New: leave QuickBooks and bring every number with you, to the cent. See how it works →
Pay by Jagby Jag Journey

Home / Developers

For builders

Signed, sealed, and idempotent.

Every request is signed with your key. Every write carries an idempotency key, so a retry never bills a customer twice. Every webhook is signed and sent again when your server does not answer. Your secrets never go near a browser.

A few lines to your first invoice

Bill a customer from any website.

Use the package for your language, from WordPress and Laravel to Node.js, Python, Ruby on Rails, Go and .NET, or call the API from anything that can sign a request. Your shoppers stay on your page with Stripe's secure card form.

POST/v1/invoices
POST/v1/invoices/{id}/intent
GET/v1/invoices/{id}
GET/v1/invoices
POST/v1/invoices/{id}/convert
GET/v1/checkout-config

Base address https://api.paybyjag.com/v1. These are the calls a Workspace key makes to sell on your website, and each one sees only your Workspace's invoices.

// Composer: jag-journey/paybyjag
$client = new PayByJag\Client(
    'https://api.paybyjag.com',
    getenv('PBJ_KEY_ID'),
    getenv('PBJ_SECRET')
);

// A retry with the same key never bills twice.
$invoice = $client->createInvoice([
    'customer_name'  => 'Rivera Plumbing',
    'customer_email' => $order->email,
    'amount_cents'   => 125000,
    'description'    => 'Water heater install',
    'site'           => 'riveraplumbing.example',
], 'order-1042');

// Show Stripe's card form on your own page.
$pay = $client->createInvoiceIntent($invoice['id'], 'order-1042-pay');

Packages

Built for your Workspace, ready to install.

Download a package already set up for your Workspace from Integrations, or paste a single checkout snippet into any page.

WordPress

One plugin for WooCommerce and Easy Digital Downloads.

Laravel

Routes and a signed pay page on your own site with Stripe's card form.

PHP

A small HMAC client that creates invoices and starts Stripe's card form from any PHP site.

Node.js

A client with no dependencies and ready webhook handlers for Express and Next.js.

Python

A client on the standard library with webhook views for Django, Flask and FastAPI.

Ruby on Rails

A gem with a Rails engine you mount once to receive every payment event.

Go

A standard library module with an http.Handler for your webhooks.

.NET

An ASP.NET Core library with a typed client and one line to map your webhook.

Embed

Your Workspace's hosted checkout, dropped into any page with one line.

Guarantees you can build on

The boring parts, done right.

Signed requests

Every call carries a timestamp, a one-time nonce and an HMAC signature. Replays are refused.

Idempotent writes

Send the same idempotency key twice and you get the first answer back, never a second charge.

Signed webhooks

Know the moment an invoice is created, paid, fails or is refunded. A failed delivery is tried again every hour, up to eight tries.

No secrets in browsers

Keys stay on your server. Shoppers only ever see Stripe's secure card form.

A developer role

Give your developer the overview and the integration pages: websites, keys, webhooks and domains. No sales, refunds or payouts.

Delivery log

Every webhook delivery is listed with its status, your server's answer and its tries, and you can send any one again.

Open your Workspace. Keep what is yours.

Pick a plan, choose your address, connect payments and send your first invoice today. Move your QuickBooks history in whenever you are ready.

“He that is faithful in that which is least is faithful also in much.”LUKE 16:10