NOWPayments · Schema

Invoice

Schema for a NOWPayments payment invoice object

Crypto PaymentsCryptocurrencyPayment GatewayInvoicingSubscriptionMass PayoutsBitcoinEthereum

Properties

Name Type Description
id integer Unique invoice identifier
order_id string Merchant-defined order identifier
order_description string Human-readable order description
price_amount number Invoice amount in fiat currency
price_currency string Fiat currency code (e.g. usd, eur)
pay_currency stringnull Preferred payment cryptocurrency, null if not specified
ipn_callback_url string URL for IPN callback notifications
invoice_url string Hosted payment page URL for the customer
success_url string URL to redirect customer after successful payment
cancel_url string URL to redirect customer if payment is cancelled
created_at string Invoice creation timestamp
updated_at string Invoice last update timestamp
View JSON Schema on GitHub

JSON Schema

invoice.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/now-payments/refs/heads/main/json-schema/invoice.json",
  "title": "Invoice",
  "description": "Schema for a NOWPayments payment invoice object",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Unique invoice identifier"
    },
    "order_id": {
      "type": "string",
      "description": "Merchant-defined order identifier"
    },
    "order_description": {
      "type": "string",
      "description": "Human-readable order description"
    },
    "price_amount": {
      "type": "number",
      "description": "Invoice amount in fiat currency"
    },
    "price_currency": {
      "type": "string",
      "description": "Fiat currency code (e.g. usd, eur)"
    },
    "pay_currency": {
      "type": ["string", "null"],
      "description": "Preferred payment cryptocurrency, null if not specified"
    },
    "ipn_callback_url": {
      "type": "string",
      "format": "uri",
      "description": "URL for IPN callback notifications"
    },
    "invoice_url": {
      "type": "string",
      "format": "uri",
      "description": "Hosted payment page URL for the customer"
    },
    "success_url": {
      "type": "string",
      "format": "uri",
      "description": "URL to redirect customer after successful payment"
    },
    "cancel_url": {
      "type": "string",
      "format": "uri",
      "description": "URL to redirect customer if payment is cancelled"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Invoice creation timestamp"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "Invoice last update timestamp"
    }
  },
  "required": ["id", "price_amount", "price_currency", "invoice_url"]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/invoice"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.