{
  "opencollection": "1.0.0",
  "info": {
    "name": "NOWPayments Authentication Payments API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-api-key",
      "value": "{{x-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Payments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List payments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.nowpayments.io/v1/payment",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of records per page (default 10)"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number (0-indexed)"
              },
              {
                "name": "sortBy",
                "value": "",
                "type": "query",
                "description": "Field to sort by"
              },
              {
                "name": "orderBy",
                "value": "",
                "type": "query",
                "description": "Sort direction"
              },
              {
                "name": "dateFrom",
                "value": "",
                "type": "query",
                "description": "Filter payments from this date (ISO 8601)"
              },
              {
                "name": "dateTo",
                "value": "",
                "type": "query",
                "description": "Filter payments up to this date (ISO 8601)"
              }
            ]
          },
          "docs": "Returns a paginated list of all payments for the merchant account."
        },
        {
          "info": {
            "name": "Create a payment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.nowpayments.io/v1/payment",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new cryptocurrency payment. The customer will send crypto to the returned pay_address. Supports automatic coin conversion and IPN webhook notifications.\n"
        },
        {
          "info": {
            "name": "Get payment status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.nowpayments.io/v1/payment/:payment_id",
            "params": [
              {
                "name": "payment_id",
                "value": "",
                "type": "path",
                "description": "Unique payment identifier"
              }
            ]
          },
          "docs": "Returns the current status and details of a specific payment."
        }
      ]
    }
  ],
  "bundled": true
}