PayunitWallet &
payment gateway
Payment gateway

Your website.
Taking payments.

A ready checkout, plugins with no code, and a signed alert with every payment.

  1. 1Your customer opens checkoutWith your business name, the amount and your badge.
  2. 2They pick how to payA wallet, a card or cryptocurrency.
  3. 3They confirmWith their fingerprint in the Payunit app, or the way they chose.
  4. 4The payment is inAnd your system gets a signed alert.

Features

  • Ready plugins

    WooCommerce, WHMCS and more, with no code.

  • A clear API

    Docs in Arabic and English, with examples to copy.

  • A signed alert

    Reaches your system with every payment.

  • Test keys

    Try everything before going live.

The API

Accept payments on your website, or with no website at all.

A REST API for your website, ready plugins for popular platforms, payment links and invoices you share as a link, and a QR code for your shop.

  1. Create an invoiceOne POST request with the amount and your order number.
  2. Send the customer to the payment pageThe payment page link comes back in checkout_url: a ready page with the Payunit wallet, USDT and cards, as you enable them.
  3. Receive the invoice.paid eventA webhook signed in the Payunit-Signature header. Verify it, then fulfil the order.

A test mode before you go live. Try everything with pay_test_ keys before going live with pay_live_ keys.

curl -X POST https://payunit.co/api/v1/invoices \
  -H "Authorization: Bearer pay_live_••••.••••" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": "25.00",
    "currency": "USD",
    "external_ref": "ORDER-1001",
    "description": "Order #1001",
    "expires_in": 3600,
    "success_url": "https://yourstore.com/thanks",
    "cancel_url": "https://yourstore.com/cart",
    "metadata": { "customer_id": "4821" }
  }'
// 201 Created
{
  "id": "inv_8F2kQ…",
  "status": "pending",
  "amount": "25.00",
  "currency": "USD",
  "fee": "…",
  "net": "…",
  "external_ref": "ORDER-1001",
  "checkout_url": "https://payunit.co/invoice/inv_8F2kQ…"
}
POST /webhooks/payunit
Payunit-Event-Id: evt_3Hq9…
Payunit-Timestamp: 1761300000
Payunit-Signature: v1=5f1c9a…

{
  "id": "evt_3Hq9…",
  "event": "invoice.paid",
  "created_at": "2025-10-24T10:00:00+00:00",
  "data": {
    "invoice_id": "inv_8F2kQ…",
    "status": "paid",
    "amount": "25.00",
    "currency": "USD",
    "external_ref": "ORDER-1001",
    "metadata": { "customer_id": "4821" }
  }
}

The fee and net amounts depend on the payment method and show before every payment. Other events: payment.refunded · refund.review · invoice.reversed · invoice.captured · invoice.voided

Ready plugins

Connect your existing store without writing code.

  • WooCommerce
  • WHMCS
  • OpenCart 3
  • OpenCart 4
  • PrestaShop
  • Magento 2
  • Easy Digital Downloads
  • FOSSBilling
  • PHP SDK
API examples

For shops: a QR code

A fixed code at the till, or an invoice for an exact amount. With daily, weekly and monthly reports.

Business fees

These are the current fees. Full details are on the fees page.

Accepting payments

  • Payunit walletper payment 1.25%
  • Bank cardper payment 8%
  • Cryptocurrencyper payment 2.8%

Withdrawals

  • USDT BEP20 0.50 USD

Free

  • Opening a business account Free
  • Monthly business account subscription Free
  • Creating invoices and payment links Free

Start today. For free.

A personal or a business account, with every fee in sight before you confirm.