Merchant360 · Subscriptions

Subscription demo

Configure a recurring plan, click Create, and see the subscription plus its upcoming billing schedule. Test mode, no card is charged.

Configure a plan

The whole integration

// One call starts a recurring plan on a saved card (or ACH):
const res = await fetch("https://cygma.cloud/api/m360/v1/subscriptions", {
  method: "POST",
  headers: { Authorization: "Bearer " + SECRET_KEY, "Content-Type": "application/json" },
  body: JSON.stringify({
    plan_name: "Pro plan",
    amount: 2900,             // $29.00 / cycle, in cents
    interval: "monthly",
    trial_days: 14,
    payment_method: "card",
    vault_token: "card_…",    // from a payment with save_card=true
  }),
});
const sub = await res.json();
// sub.status = "active",  sub.next_charge_at = "2026-…"

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

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