API v1

The first NoncePay API: GET routes with query parameters and callbacks acknowledged with *ok*. Deprecated: use API v2 for new integrations.

Deprecated

API v1 keeps working for existing integrations and the plugins, but new integrations should use API v2: JSON bodies, typed errors and webhook events signed over a timestamp.

API v1 follows the CryptAPI interface, so a CryptAPI SDK or plugin works by changing its base URL. Its integration prompt for AI coding agents is /prompt-v1.md.

How it works

  1. Your server creates an address with /{ticker}/create/, passing your callback URL and your wallet.
  2. Your customer pays it. If you asked for it, we call your URL with pending=1 as soon as the payment is seen.
  3. We forward it. Once the payment has the confirmations its network needs, the amount minus our fee and the network cost is sent to your wallet.
  4. You get a signed callback with pending=0, the transaction ids and the amounts. Answer *ok*.

Conventions

  • Base URL: https://api.noncepay.app
  • Every endpoint is a GET with query parameters, and every path ends with /.
  • No API key. The callback URL is the identity of a payment address: the same callback always returns the same address.
  • Success answers 200 with "status": "success". Errors answer 400 (or 404) with {"status":"error","error":"…"}.
  • Amounts are strings, so no precision is lost.

On this page