{
  "opencollection": "1.0.0",
  "info": {
    "name": "Docupilot accounts APIs ai subscription API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "subscription",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "addon_pricing_info",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/dashboard/accounts/v2/subscription/addon_pricing_info/",
            "headers": [
              {
                "name": "X-Workspace",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "ordering",
                "value": "",
                "type": "query",
                "description": "Which field to use when ordering the results."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "A search term."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "sessionid",
              "value": "{{sessionid}}",
              "placement": "query"
            }
          }
        },
        {
          "info": {
            "name": "purchase_addon",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/dashboard/accounts/v2/subscription/buy_addon/",
            "headers": [
              {
                "name": "X-Workspace",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "sessionid",
              "value": "{{sessionid}}",
              "placement": "query"
            }
          }
        },
        {
          "info": {
            "name": "get_subscription_details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/dashboard/accounts/v2/subscription/details/",
            "headers": [
              {
                "name": "X-Workspace",
                "value": ""
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "sessionid",
              "value": "{{sessionid}}",
              "placement": "query"
            }
          }
        },
        {
          "info": {
            "name": "Extend trial",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/dashboard/accounts/v2/subscription/extend_trial/",
            "headers": [
              {
                "name": "X-Workspace",
                "value": ""
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "sessionid",
              "value": "{{sessionid}}",
              "placement": "query"
            }
          },
          "docs": "Extend trial"
        },
        {
          "info": {
            "name": "get_chargebee_hosted_page",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/dashboard/accounts/v2/subscription/hosted_page/",
            "headers": [
              {
                "name": "X-Workspace",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "plan_id",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "sessionid",
              "value": "{{sessionid}}",
              "placement": "query"
            }
          }
        },
        {
          "info": {
            "name": "get_chargebee_portal_session",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/dashboard/accounts/v2/subscription/portal_session/",
            "headers": [
              {
                "name": "X-Workspace",
                "value": ""
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "sessionid",
              "value": "{{sessionid}}",
              "placement": "query"
            }
          }
        },
        {
          "info": {
            "name": "get_subscription_remaining_months",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/dashboard/accounts/v2/subscription/remaining_months/",
            "headers": [
              {
                "name": "X-Workspace",
                "value": ""
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "sessionid",
              "value": "{{sessionid}}",
              "placement": "query"
            }
          }
        },
        {
          "info": {
            "name": "subscription_renew_request_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/dashboard/accounts/v2/subscription/renew_request/",
            "headers": [
              {
                "name": "X-Workspace",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "sessionid",
              "value": "{{sessionid}}",
              "placement": "query"
            }
          }
        },
        {
          "info": {
            "name": "resume_subscription",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/dashboard/accounts/v2/subscription/resume/",
            "headers": [
              {
                "name": "X-Workspace",
                "value": ""
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "sessionid",
              "value": "{{sessionid}}",
              "placement": "query"
            }
          }
        },
        {
          "info": {
            "name": "get_chargebee_unpaid_invoices",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/dashboard/accounts/v2/subscription/unpaid_invoices/",
            "headers": [
              {
                "name": "X-Workspace",
                "value": ""
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "sessionid",
              "value": "{{sessionid}}",
              "placement": "query"
            }
          }
        }
      ]
    }
  ],
  "bundled": true
}