Merchant360 · Invoices

Invoice demo

Create an itemized invoice with one API call and open the branded, hosted page your customer receives. Test mode, no email is sent, no money moves.

Build an invoice

Line items
$
$

The whole integration

// One call creates an itemized invoice + a hosted pay page:
const res = await fetch("https://cygma.cloud/api/m360/v1/invoices", {
  method: "POST",
  headers: { Authorization: "Bearer " + SECRET_KEY, "Content-Type": "application/json" },
  body: JSON.stringify({
    customer: { name: "Acme Corp", email: "ap@acme.com" },
    line_items: [
      { description: "Design retainer",   quantity: 1, unit_price: 50000 },
      { description: "Hosting (monthly)", quantity: 1, unit_price:  2900 },
    ],
    tax_rate_bps: 0,
    send: true,   // email it, or omit and share invoice.hosted_url yourself
  }),
});
const invoice = await res.json();
// invoice.hosted_url  ->  https://cygma.cloud/mi/…

Full reference at the Invoices docs. See every tool on the examples page.

© 1998–2026 Electronic Payments, Inc. Test mode.