{
  "opencollection": "1.0.0",
  "info": {
    "name": "Getpaid Accounts Queries API",
    "version": "v2"
  },
  "items": [
    {
      "info": {
        "name": "Queries",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Query resources",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.getpaid.io/v2/:resource_type/query",
            "params": [
              {
                "name": "resource_type",
                "value": "",
                "type": "path",
                "description": "The type of the resources to query."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://auth.getpaid.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Query Getpaid solution resources obtaining specific data by filtering and retrieving each resource type:\n\n- `checkouts` - [Query checkouts](#tag/Checkouts/operation/query_checkouts)\n- `payments` - [Query payments](#tag/Payments/operation/query_payments)\n"
        }
      ]
    }
  ],
  "bundled": true
}