{
  "opencollection": "1.0.0",
  "info": {
    "name": "HoneyBook API (Modeled) Clients Payments API",
    "version": "1.0-modeled"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://api.honeybook.com/oauth/authorize",
      "accessTokenUrl": "https://api.honeybook.com/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Payments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List payments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.honeybook.com/v1/payments",
            "params": [
              {
                "name": "invoice_id",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Modeled from the \"Payment Received\" Zapier trigger, which fires on any successfully paid client payment, manual or automatic."
        },
        {
          "info": {
            "name": "Retrieve a payment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.honeybook.com/v1/payments/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the resource."
              }
            ]
          },
          "docs": "Retrieve a payment"
        }
      ]
    }
  ],
  "bundled": true
}