List event subscriptions for webhook
GET/webhooks/:webhook_id/event-types
Lists event subscriptions for a webhook, by ID.
Request
Path Parameters
webhook_id stringrequired
The ID of the webhook for which to list subscriptions.
Responses
- 200
- default
A successful request returns the HTTP 200 OK
status code and a JSON response body that lists event subscriptions for a webhook.
- application/json
- Schema
- Example (from schema)
Schema
event_types object[]
An array of webhook events.
{
"event_types": [
{
"name": "string",
"description": "string",
"status": "string",
"resource_versions": [
"string"
]
}
]
}
The error response.
- application/json
- Schema
- Example (from schema)
Schema
name stringrequired
The human-readable, unique name of the error.
message stringrequired
The message that describes the error.
debug_id stringrequired
The PayPal internal ID. Used for correlation purposes.
information_link string
The information link, or URI, that shows detailed information about this error for the developer.
details object[]
An array of additional details about the error.
links object[]
An array of request-related HATEOAS links.
{
"name": "string",
"message": "string",
"debug_id": "string",
"information_link": "string",
"details": [
{
"field": "string",
"value": "string",
"location": "body",
"issue": "string",
"description": "string"
}
],
"links": [
{
"href": "string",
"rel": "string",
"method": "GET"
}
]
}
Loading...