This step is not necessarily required. We are creating a webhook for sample purpose only, so that we would not get an empty list at any point. In real case, you dont need to create any webhook to make this API call.
NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY
NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY
Get All Webhooks Sample
Use this call to list all the webhooks, as documented here at: https://developer.paypal.com/webapps/developer/docs/api/#list-all-webhooks API used: GET /v1/notifications/webhooks