Skip to main content
GET
/
v1
/
notifications
/
webhooks
/
{webhook_id}
Show webhook details
curl --request GET \
  --url https://api-m.sandbox.paypal.com/v1/notifications/webhooks/{webhook_id} \
  --header 'Authorization: Bearer <token>'
{
  "url": "<string>",
  "event_types": [
    {
      "name": "<string>",
      "description": "<string>",
      "status": "<string>",
      "resource_versions": [
        "<string>"
      ]
    }
  ],
  "id": "<string>",
  "links": [
    {
      "href": "<string>",
      "rel": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.paypal.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Oauth 2.0 authentication

Path Parameters

webhook_id
string
required

The ID of the webhook for which to list subscriptions.

Response

A successful request returns the HTTP 200 OK status code and a JSON response body that shows webhook details.

One or more webhook objects.

url
string<uri>
required

The URL that is configured to listen on localhost for incoming POST notification messages that contain event information.

Maximum string length: 2048
event_types
Event Type · object[]
required

An array of events to which to subscribe your webhook. To subscribe to all events, including events as they are added, specify the asterisk wild card. To replace the event_types array, specify the asterisk wild card. To list all supported events, list available events.

Maximum array length: 500
id
string
read-only

The ID of the webhook.

An array of request-related HATEOAS links.