{
  "opencollection": "1.0.0",
  "info": {
    "name": "Wingspan Payments 1099 Operations Invoice Management API",
    "version": "1.0.0-oas3.1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Invoice Management",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve All Member Invoices",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.wingspan.app/payments/invoice"
          },
          "docs": "Fetch a complete list of invoices associated with members, providing a comprehensive overview of all member-related billing details."
        },
        {
          "info": {
            "name": "Initiate New Invoice for a Member",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.wingspan.app/payments/invoice",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Facilitates the creation of a new invoice for a member using the provided invoice details. Useful for adding new billing records."
        },
        {
          "info": {
            "name": "Fetch Invoice by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.wingspan.app/payments/invoice/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier"
              }
            ]
          },
          "docs": "Retrieve the specifics of an individual invoice associated with a member using its unique ID. Ideal for diving into invoice details."
        },
        {
          "info": {
            "name": "Modify Existing Invoice Details",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.wingspan.app/payments/invoice/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Allows updates to the details of an existing member invoice using its unique ID. Useful for making corrections or updates to billing records."
        },
        {
          "info": {
            "name": "Remove Invoice Record by ID",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.wingspan.app/payments/invoice/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier"
              }
            ]
          },
          "docs": "Enables the deletion of a specific member's invoice using its unique ID, helping in maintaining accurate billing records."
        },
        {
          "info": {
            "name": "Retrieve All Invoices Generated by a Client",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.wingspan.app/payments/client/invoice"
          },
          "docs": "Fetch a comprehensive list of invoices that have been generated by a client, offering an overview of all client-related billing records."
        },
        {
          "info": {
            "name": "Generate a New Invoice on Behalf of the Client",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.wingspan.app/payments/client/invoice",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Enables the creation of a new invoice on behalf of a client using the provided details, facilitating new billing records."
        },
        {
          "info": {
            "name": "Fetch Specific Client-Generated Invoice by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.wingspan.app/payments/client/invoice/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier"
              }
            ]
          },
          "docs": "Retrieve detailed information of an individual invoice created by a client using its unique ID for in-depth billing analysis."
        },
        {
          "info": {
            "name": "Modify an Existing Client-Generated Invoice",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.wingspan.app/payments/client/invoice/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Allows for modifications to a client-generated invoice using its unique ID, ensuring billing details remain current and accurate."
        },
        {
          "info": {
            "name": "Execute Payment for a Client-Generated Invoice",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.wingspan.app/payments/client/invoice/:invoice_id/pay",
            "params": [
              {
                "name": "invoice_id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of an invoice"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Process a payment for a specific client-generated invoice using the provided details, ensuring the invoice is marked as settled."
        },
        {
          "info": {
            "name": "Retrieve all available invoice templates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.wingspan.app/payments/invoice-template"
          },
          "docs": "Fetches a comprehensive list of all invoice templates in the system."
        },
        {
          "info": {
            "name": "Create a new invoice template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.wingspan.app/payments/invoice-template",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new invoice template based on the provided details."
        },
        {
          "info": {
            "name": "Retrieve a specific invoice template by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.wingspan.app/payments/invoice-template/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier"
              }
            ]
          },
          "docs": "Fetches details of the invoice template corresponding to the provided unique identifier."
        },
        {
          "info": {
            "name": "Modify details of an existing invoice template",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.wingspan.app/payments/invoice-template/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates details of the specified invoice template based on the provided information."
        },
        {
          "info": {
            "name": "Remove a specific invoice template",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.wingspan.app/payments/invoice-template/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier"
              }
            ]
          },
          "docs": "Deletes the invoice template associated with the provided unique identifier."
        },
        {
          "info": {
            "name": "Retrieve all client-generated invoice templates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.wingspan.app/payments/client/invoice-template"
          },
          "docs": "Fetches a comprehensive list of all invoice templates created by clients in the system."
        },
        {
          "info": {
            "name": "Create a new client-generated invoice template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.wingspan.app/payments/client/invoice-template",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Allows clients to create a new invoice template based on the provided details."
        },
        {
          "info": {
            "name": "Fetch a specific client-generated invoice template by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.wingspan.app/payments/client/invoice-template/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier"
              }
            ]
          },
          "docs": "Provides details of the client-generated invoice template associated with the provided unique identifier."
        },
        {
          "info": {
            "name": "Modify a client-generated invoice template",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.wingspan.app/payments/client/invoice-template/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the specified client-generated invoice template with the provided modifications."
        },
        {
          "info": {
            "name": "Generate a PDF for a specific invoice",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.wingspan.app/payments/invoice/:invoice_id/generate",
            "params": [
              {
                "name": "invoice_id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of an invoice"
              }
            ]
          },
          "docs": "This endpoint allows for the dynamic generation of a PDF document for a given invoice, identified by its unique ID."
        },
        {
          "info": {
            "name": "Send an invoice by email",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.wingspan.app/payments/invoice/:invoice_id/send",
            "params": [
              {
                "name": "invoice_id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of an invoice"
              }
            ]
          },
          "docs": "Use this endpoint to send an invoice by email using its unique ID for identification."
        },
        {
          "info": {
            "name": "Refund a deposited invoice",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.wingspan.app/payments/invoice/:invoice_id/refund",
            "params": [
              {
                "name": "invoice_id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of an invoice"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Use this endpoint to refund a specific amount of a deposited invoice."
        },
        {
          "info": {
            "name": "Retrieve Fees Associated with a Client's Invoice",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.wingspan.app/payments/client/invoice/:invoice_id/fees",
            "params": [
              {
                "name": "invoice_id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of an invoice"
              }
            ]
          },
          "docs": "Obtain a detailed breakdown of all the fees associated with a specific client's invoice, identified by its unique ID."
        },
        {
          "info": {
            "name": "Generate Test Invoice for a Client",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.wingspan.app/payments/invoice/test/create",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Use this endpoint to create a test invoice for testing and validation purposes. This invoice will mimic a client's real invoice."
        }
      ]
    }
  ],
  "bundled": true
}