{
  "opencollection": "1.0.0",
  "info": {
    "name": "HitPay Account Status Invoices API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Invoices",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Update the invoice",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.hit-pay.com/v1/invoices/:invoice_id",
            "headers": [
              {
                "name": "X-BUSINESS-API-KEY",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "invoice_id",
                "value": "",
                "type": "path",
                "description": "The invoice id belongs to the business."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the invoice"
        },
        {
          "info": {
            "name": "Delete Invoice",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.hit-pay.com/v1/invoices/:invoice_id",
            "headers": [
              {
                "name": "X-BUSINESS-API-KEY",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "invoice_id",
                "value": "",
                "type": "path",
                "description": "The invoice id belongs to business."
              }
            ]
          },
          "docs": "Delete Invoice"
        },
        {
          "info": {
            "name": "Get all invoice",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.hit-pay.com/v1/invoices",
            "headers": [
              {
                "name": "X-BUSINESS-API-KEY",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "customer_email",
                "value": "",
                "type": "query"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Invoice status, options [draft, sent, pending, overdue, paid]"
              },
              {
                "name": "reference",
                "value": "",
                "type": "query"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of per page"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page index"
              }
            ]
          },
          "docs": "Get the invoice and filter"
        },
        {
          "info": {
            "name": "Create the invoice",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.hit-pay.com/v1/invoices",
            "headers": [
              {
                "name": "X-BUSINESS-API-KEY",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create the invoice"
        }
      ]
    }
  ],
  "bundled": true
}