Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

NOWPayments Invoices API

Invoice creation for crypto payments

NOWPayments Invoices API is one of 10 APIs that NOWPayments publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Invoices. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 1 operation across 1 path, and defines 3 schemas. It is described by OpenAPI 3.0.3, at version 1.0.0.

Requests are made against 2 base URLs: https://api.nowpayments.io/v1, https://api.sandbox.nowpayments.io/v1.

1 operations 1 paths 3 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.0
Base URL
https://api.nowpayments.io/v1
Authentication
API Key, HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 2

NOWPayments Invoices API declares 2 security schemes for authenticating requests. An API key is passed in the header as x-api-key (ApiKeyAuth). It accepts HTTP bearer tokens (JWT) (BearerAuth). By default, every request must be authenticated.

  • ApiKeyAuth — NOWPayments API key obtained from your merchant dashboard
  • BearerAuth — JWT token obtained from the /auth endpoint (required for mass payout operations)

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Invoices 1

Invoice creation for crypto payments

POST
/invoice
Create an invoice
createInvoice body → 201400401

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are InvoiceResponse (12 properties), CreateInvoiceRequest (8 properties), ErrorResponse (2 properties). Each schema is shown below with its type and property counts.

InvoiceResponse
object
12 properties
CreateInvoiceRequest
object
8 properties 2 required
ErrorResponse
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

now-payments-invoices-api-openapi.yml Raw ↑

Other APIs NOWPayments publishes across the network.

NOWPayments Mass Payouts API
NOWPayments Recurring Payments API
NOWPayments Custody API
NOWPayments Authentication API
NOWPayments Currencies API
NOWPayments Estimates API
NOWPayments Payments API
NOWPayments Payouts API
NOWPayments Status API