{
  "opencollection": "1.0.0",
  "info": {
    "name": "REST api to TON blockchain explorer Accounts Purchases API",
    "version": "2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Purchases",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "getPurchaseHistory",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://tonapi.io/v2/purchases/:account_id/history",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "account ID"
              },
              {
                "name": "before_lt",
                "value": "",
                "type": "query",
                "description": "omit this parameter to get last invoices"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Get history of purchases"
        }
      ]
    }
  ],
  "bundled": true
}