{
  "opencollection": "1.0.0",
  "info": {
    "name": "Azupay Reports & Balance API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Current Balances",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get current balance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-uat.azupay.com.au/v1/balance",
            "params": [
              {
                "name": "timestamp",
                "value": "2024-11-04T03:16:53.350Z",
                "type": "query",
                "description": "An optional parameter can be supplied to retrieve the account balance at a specified point in time. \nIn ISO date/time string format in UTC.\n"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Returns balance of your Azupay account.\n"
        }
      ]
    },
    {
      "info": {
        "name": "Billing and Transaction Reports",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Reports",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-uat.azupay.com.au/v1/report",
            "params": [
              {
                "name": "clientId",
                "value": "",
                "type": "query",
                "description": "Your clientId\n"
              },
              {
                "name": "month",
                "value": "",
                "type": "query",
                "description": "The year and month\n"
              },
              {
                "name": "fromDate",
                "value": "",
                "type": "query",
                "description": "The fromDate in ISO8601 and encoded.\n\ne.g. `2022-06-02T12%3A11%3A00.999%2B0530` instead of `2022-06-02T12:11:00.999+0530`\n"
              },
              {
                "name": "toDate",
                "value": "",
                "type": "query",
                "description": "The toDate in ISO8601 and encoded.\n\ne.g. `2022-07-02T12%3A11%3A00.999%2B0530` instead of `2022-07-02T12:11:00.999+0530`\n"
              },
              {
                "name": "timezone",
                "value": "",
                "type": "query",
                "description": "The timezone to apply on date/time stamps. Currently only `Australia/Sydney` supported.\n"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Provides a list of reports that can be passed onto GET /report/download API endpoint. You can supply \n`month + timezone` query parameters OR you can supply `fromDate + toDate`. The former provides you a list of all \nreports automatically generated by azupay whilst the latter provides you with a report for the date range \nspecified.\n\nBecause `fromDate` and `toDate` contain special HTML entities (i.e. `:` and `+`), they must be encoded.\nExample: `2022-06-02T12:11:00.999+0530` must be supplied as `"
        },
        {
          "info": {
            "name": "Get Report download Url",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-uat.azupay.com.au/v1/report/download",
            "params": [
              {
                "name": "clientId",
                "value": "",
                "type": "query",
                "description": "Your clientId\n"
              },
              {
                "name": "reportId",
                "value": "",
                "type": "query",
                "description": "The reportId returned from the call to `/report` operation\n"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Gets a time limited link to download the specified report"
        }
      ]
    }
  ],
  "bundled": true
}