{
  "opencollection": "1.0.0",
  "info": {
    "name": "ProcessOut Balances Invoices API",
    "version": "1.0.3"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Invoices",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Authorizing an invoice",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.processout.com/invoices/:invoice_id/authorize",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "invoice_id",
                "value": "",
                "type": "path",
                "description": "The invoice ID generated by ProcessOut during the invoice creation"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Authorizing an invoice"
        },
        {
          "info": {
            "name": "Capture an invoice",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.processout.com/invoices/:invoice_id/capture",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "invoice_id",
                "value": "",
                "type": "path",
                "description": "The invoice ID generated by ProcessOut during the invoice creation"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Capture an invoice"
        },
        {
          "info": {
            "name": "Create an invoice",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.processout.com/invoices",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create an invoice"
        },
        {
          "info": {
            "name": "Fetch an invoice",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.processout.com/invoices/:invoice_id",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "invoice_id",
                "value": "",
                "type": "path",
                "description": "The invoice ID generated by ProcessOut during the invoice creation"
              }
            ]
          },
          "docs": "Fetch an invoice"
        },
        {
          "info": {
            "name": "Delete an invoice",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.processout.com/invoices/:invoice_id",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "invoice_id",
                "value": "",
                "type": "path",
                "description": "The invoice ID generated by ProcessOut during the invoice creation"
              }
            ]
          },
          "docs": "Delete invoices that have not had a payment started yet."
        },
        {
          "info": {
            "name": "Increment an authorization on an invoice",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.processout.com/invoices/:invoice_id/increment_authorization",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "invoice_id",
                "value": "",
                "type": "path",
                "description": "The invoice ID generated by ProcessOut during the invoice creation"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Increment an authorization on an invoice"
        },
        {
          "info": {
            "name": "Refund an invoice",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.processout.com/invoices/:invoice_id/refunds",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "invoice_id",
                "value": "",
                "type": "path",
                "description": "The invoice ID generated by ProcessOut during the invoice creation"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Refund an invoice"
        }
      ]
    }
  ],
  "bundled": true
}