{ "opencollection": "1.0.0", "info": { "name": "Paigo Customers Webhooks API", "version": "v1.10" }, "items": [ { "info": { "name": "Webhooks", "type": "folder" }, "items": [ { "info": { "name": "Test Webhook Connection", "type": "http" }, "http": { "method": "GET", "url": "https://api.prod.paigo.tech/webhooks/test", "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://auth.paigo.tech/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } } }, { "info": { "name": "Test Webhook Invoices", "type": "http" }, "http": { "method": "GET", "url": "https://api.prod.paigo.tech/webhooks/invoice", "params": [ { "name": "status", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://auth.paigo.tech/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } } }, { "info": { "name": "Test Webhook Invoices", "type": "http" }, "http": { "method": "GET", "url": "https://api.prod.paigo.tech/webhooks/customer", "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://auth.paigo.tech/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } } }, { "info": { "name": "Test Webhook Entitlement Breached", "type": "http" }, "http": { "method": "GET", "url": "https://api.prod.paigo.tech/webhooks/entitlement", "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://auth.paigo.tech/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } } }, { "info": { "name": "Find All Webhooks", "type": "http" }, "http": { "method": "GET", "url": "https://api.prod.paigo.tech/webhooks", "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://auth.paigo.tech/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } } }, { "info": { "name": "Find One Webhook", "type": "http" }, "http": { "method": "GET", "url": "https://api.prod.paigo.tech/webhooks/:webhookId", "params": [ { "name": "webhookId", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://auth.paigo.tech/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } } }, { "info": { "name": "Unsubscribe a Webhook", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.prod.paigo.tech/webhooks/:webhookId", "params": [ { "name": "webhookId", "value": "", "type": "path" }, { "name": "environment", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://auth.paigo.tech/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } } }, { "info": { "name": "Subscribe a Webhook", "type": "http" }, "http": { "method": "POST", "url": "https://api.prod.paigo.tech/webhooks/subscribe", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://auth.paigo.tech/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } } } ] } ], "bundled": true }