Introduction
Accept Telebirr, M-Pesa and CBE Birr payments in ETB from your own product.
JamiDev is the developer side of Jami. Your server asks Jami to charge a buyer, the buyer pays with Telebirr, M-Pesa or CBE Birr, and Jami records the order, emails the receipt and sends your server a signed webhook. Your earnings settle in ETB, and you withdraw them to a phone wallet, the same way every Jami creator gets paid. Payments are processed by ArifPay.
What you charge for:
| Charge an amount | Sell a product | |
|---|---|---|
| You send | amount + description | productId |
| Price set by | Your server, per checkout | The product, set when you create it |
| Setup | An API token | A product, made from code (jami.products.create) or in Store → Products |
| Also get | A public product page, checkout links, benefits such as license keys, checkout fields | |
| Read | Charge any amount | Products & Benefits |
How the buyer pays:
| Direct push | Payment link | |
|---|---|---|
| You send | gateway + the buyer's email and phone | No gateway |
| What happens | The prompt goes straight to the buyer's phone | You get a jami.bio/jamidev/pay/cs_… link to send them; they pick the method and pay there |
| Read | Collect the payment | Payment links |
Any mix works: a product by push, a custom amount by link, and so on.
To charge the same amount every week, month or year, use Subscriptions: the payer approves once on Jami and each renewal comes out of their Jami wallet.
Everything has a sandbox: test tokens, magic phone numbers, and webhooks marked
livemode: false. No real money moves until you switch the organization to production.
Quickstart
Charge a test payment from code in about five minutes. No product needed.
Charge any amount
Charge exactly what your server decides, such as 1,237 ETB for order #1042.
Sell a product
A catalog item with a hosted page, checkout links and benefits like license keys.
Build with AI
Connect Claude, Cursor, VS Code or Codex to Jami with the MCP server.
SDK
jami-sdk for Node 18+, edge runtimes and browsers. No dependencies.
REST API
The raw endpoints, if you'd rather call them yourself.
How a payment works
Your server creates a checkout. POST /checkout with either an amount and
description or a productId. You get back a sessionId.
The buyer pays. With a gateway and the buyer's phone, Jami pushes a payment prompt to
it (mode: "direct"). Without one, you get a payment link to send them
(mode: "redirect"), where they can retry until it expires. Free products skip this step.
Jami confirms. The session moves to completed and exactly one order is created, no
matter how many payment notifications arrive. If the payment fails, the session expires
with a failure.code that says why.
Your server finds out. An order.completed webhook arrives, signed with your secret.
You can also poll the session, which checks the payment provider directly.
Core concepts
| Concept | What it is |
|---|---|
| Organization | A workspace with its own products, customers, tokens, webhooks and earnings. You can own several and switch between them from the dashboard header. |
| Environment | Each organization is sandbox (simulated payments) or production (real money). Switch either way in Settings → Environment. |
| Product | Something you sell from a catalog, created from the API or the dashboard, with a public page at jami.bio/jamidev/p_…. Priced fixed, pwyw (flexible, at or above a minimum) or free. Optional: you can charge an amount without one. |
| Payment link | A jami.bio/jamidev/pay/cs_… page for one checkout: one buyer, one locked amount, retries allowed until it expires. |
| Checkout session | One payment, for a product or for a custom amount. It snapshots the price and expires after 30 minutes. |
| Order | A paid checkout. One session produces at most one order. |
| Benefit | Something granted on purchase. License keys are generated and delivered automatically. |
| Checkout link | A long-lived cl_… URL that sells one or several products and can carry metadata onto orders. |
Money
- Every amount in the API is an integer in santim (ETB minor units):
10000is 100.00 ETB. Never a float. - Buyers pay exactly the product's price, or the
amountyou sent. Nothing is added at checkout. - When you withdraw, the JamiDev fee (7% unless Jami set a custom rate on your account) and any government tax are cut from the amount. See Fees & limits.
For AI agents
/llms.txtlists every page with a one-line summary./llms-full.txtis the whole documentation in one file.- Add
.mdto any page URL to get its markdown, for examplehttps://dev.jami.bio/docs/webhooks.md. /openapi.jsondescribes the REST API.- The MCP server gives agents tools for checkouts, orders, webhooks and these docs.
