JamiDev

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 amountSell a product
You sendamount + descriptionproductId
Price set byYour server, per checkoutThe product, set when you create it
SetupAn API tokenA product, made from code (jami.products.create) or in Store → Products
Also getA public product page, checkout links, benefits such as license keys, checkout fields
ReadCharge any amountProducts & Benefits

How the buyer pays:

Direct pushPayment link
You sendgateway + the buyer's email and phoneNo gateway
What happensThe prompt goes straight to the buyer's phoneYou get a jami.bio/jamidev/pay/cs_… link to send them; they pick the method and pay there
ReadCollect the paymentPayment 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.

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

ConceptWhat it is
OrganizationA workspace with its own products, customers, tokens, webhooks and earnings. You can own several and switch between them from the dashboard header.
EnvironmentEach organization is sandbox (simulated payments) or production (real money). Switch either way in Settings → Environment.
ProductSomething 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 linkA jami.bio/jamidev/pay/cs_… page for one checkout: one buyer, one locked amount, retries allowed until it expires.
Checkout sessionOne payment, for a product or for a custom amount. It snapshots the price and expires after 30 minutes.
OrderA paid checkout. One session produces at most one order.
BenefitSomething granted on purchase. License keys are generated and delivered automatically.
Checkout linkA 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): 10000 is 100.00 ETB. Never a float.
  • Buyers pay exactly the product's price, or the amount you 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.txt lists every page with a one-line summary.
  • /llms-full.txt is the whole documentation in one file.
  • Add .md to any page URL to get its markdown, for example https://dev.jami.bio/docs/webhooks.md.
  • /openapi.json describes the REST API.
  • The MCP server gives agents tools for checkouts, orders, webhooks and these docs.

On this page