MG Crypto API

Accept real Bitcoin payments

A simple, predictable REST API for creating invoices and payment links, reading your balance, and reconciling on-chain payments. Real BTC, settled to custody — no test-mode illusions.

Everything here is live

This reference documents only endpoints the API actually serves today. Features that are still in development are clearly marked Coming Soon and are never mixed into the live reference.

Base URL

All requests go to a single versioned base URL over HTTPS:

https://markgroup.app/api/v1

What you can build

How it works

The typical integration is three steps:

  • Create an invoice or a payment link for a USD amount. We convert it to satoshis at the live BTC rate and mint a dedicated on-chain address.
  • Send your customer to the returned pay_url (invoices) or link_url (payment links) to complete payment.
  • Poll the invoice — or list payments — until the status is paid, then fulfil the order.

Conventions

  • All requests and responses are JSON. Send Content-Type: application/json on writes.
  • Amounts you send are in USD; amounts we return are in satoshis, with a best-effort USD quote.
  • Every object includes an object field (e.g. "invoice") and lists are wrapped as { object: "list", data: [...] }.
  • Timestamps are ISO 8601 strings in UTC.