{ "opencollection": "1.0.0", "info": { "name": "Paypal Subscriptions Authorizations Webhooks API", "version": "1.6" }, "items": [ { "info": { "name": "Webhooks", "type": "folder" }, "items": [ { "info": { "name": "Paypal List webhooks", "type": "http" }, "http": { "method": "GET", "url": "https://api-m.sandbox.paypal.com/v1/notifications/webhooks", "params": [ { "name": "anchor_type", "value": "", "type": "query", "description": "Filters the webhooks in the response by an `anchor_id` entity type." } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/v1/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Lists webhooks for an app." }, { "info": { "name": "Paypal Create webhook", "type": "http" }, "http": { "method": "POST", "url": "https://api-m.sandbox.paypal.com/v1/notifications/webhooks", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/v1/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Subscribes your webhook listener to events." }, { "info": { "name": "Paypal Show webhook details", "type": "http" }, "http": { "method": "GET", "url": "https://api-m.sandbox.paypal.com/v1/notifications/webhooks/:webhook_id", "params": [ { "name": "webhook_id", "value": "", "type": "path", "description": "The ID of the webhook for which to list subscriptions." } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/v1/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Shows details for a webhook, by ID." }, { "info": { "name": "Paypal Update webhook", "type": "http" }, "http": { "method": "PATCH", "url": "https://api-m.sandbox.paypal.com/v1/notifications/webhooks/:webhook_id", "params": [ { "name": "webhook_id", "value": "", "type": "path", "description": "The ID of the webhook for which to list subscriptions." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/v1/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Updates a webhook to replace webhook fields with new values. Supports only the `replace` operation. Pass a `json_patch` object with `replace` operation and `path`, which is `/url` for a URL or `/event_types` for events. The `value` is either the URL or a list of events." }, { "info": { "name": "Paypal Delete webhook", "type": "http" }, "http": { "method": "DELETE", "url": "https://api-m.sandbox.paypal.com/v1/notifications/webhooks/:webhook_id", "params": [ { "name": "webhook_id", "value": "", "type": "path", "description": "The ID of the webhook for which to list subscriptions." } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/v1/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Deletes a webhook, by ID." }, { "info": { "name": "Paypal List event subscriptions for webhook", "type": "http" }, "http": { "method": "GET", "url": "https://api-m.sandbox.paypal.com/v1/notifications/webhooks/:webhook_id/event-types", "params": [ { "name": "webhook_id", "value": "", "type": "path", "description": "The ID of the webhook for which to list subscriptions." } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/v1/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Lists event subscriptions for a webhook, by ID." } ] } ], "bundled": true }