{
  "opencollection": "1.0.0",
  "info": {
    "name": "Lago API documentation Add_ons Payment_requests API",
    "version": "1.15.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Payment_requests",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Lago List all payment requests",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.getlago.com/api/v1/payment_requests",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Number of records per page."
              },
              {
                "name": "external_customer_id",
                "value": "",
                "type": "query",
                "description": "Unique identifier assigned to the customer in your application."
              }
            ]
          },
          "docs": "This endpoint is used to list all existing payment requests."
        },
        {
          "info": {
            "name": "Lago Create a payment request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.getlago.com/api/v1/payment_requests",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint is used to create a payment request to collect payments of overdue invoices of a given customer"
        }
      ]
    }
  ],
  "bundled": true
}