Myaza
For Developers

Everything you need to build financial products.

REST API, SDKs in JavaScript, Python, Go and PHP, plus one-click plugins for Shopify and WooCommerce. Drop payments into your stack in an afternoon.

What's included

API, SDKs, and plugins — your choice.

Build from scratch with the REST API, ship faster with an official SDK, or install a plugin and be done in 20 minutes.

REST API

Full-featured, well-documented.

Every Myaza capability exposed as a clean HTTP API. Authentication, idempotency keys, and full OpenAPI spec included.

  • Payments API
  • Invoice API
  • Wallet API
  • FX conversion
  • Webhooks
SDKs

Your language, our rails.

Official client libraries that handle auth, retries and error handling so you ship faster.

  • JavaScript / TypeScript
  • Python
  • Go
  • PHP
  • Coming: Ruby, Java
Plugins

No custom code needed.

Drop-in plugins for the platforms you already use. Payments working in under 30 minutes.

  • Shopify
  • WooCommerce
  • WordPress
  • Flutterwave bridge
  • Custom webhooks

Create an invoice — three ways

API
POST /v1/invoice/create
Authorization: Bearer myaza_sk_live_...

{
  "currency": "USD",
  "amount": 2400,
  "customer_email": "client@example.com",
  "due_date": "2025-06-01"
}

// Response
{
  "id": "inv_01JR8GXWJ9",
  "status": "sent",
  "payment_url": "https://pay.myaza.co/i/01JR8GXWJ9"
}
SDK
import Myaza from "@myaza/sdk";

const myaza = new Myaza({
  secretKey: process.env.MYAZA_SECRET_KEY,
});

const invoice = await myaza.invoices.create({
  currency: "USD",
  amount: 2400,
  customerEmail: "client@example.com",
});

console.log(invoice.paymentUrl);
Webhooks
// Receive payment confirmed events
app.post("/webhooks/myaza", (req, res) => {
  const event = myaza.webhooks.verify(
    req.body,
    req.headers["myaza-signature"],
    process.env.MYAZA_WEBHOOK_SECRET
  );

  if (event.type === "invoice.paid") {
    const { invoiceId, amountPaid } = event.data;
    await fulfillOrder(invoiceId);
  }

  res.sendStatus(200);
});
REST APIWebSocketsWebhooksOAuth 2.0IdempotencyOpenAPI spec
Open a business account

Start building in minutes.

Full API access on the free tier. No credit card required to start.