PayPal Payouts allows users to make payments to multiple Paypal accounts with a single click, significantly decreasing time spent on processing payments. This convenience is enhanced even further with the much anticipated addition of Webhooks support. A Webhook, in simple terms, is a user-defined HTTP callback. It is a mechanism for the system to notify you about an event. Now users can receive notifications for their Payout transactions.
By subscribing to the current payment payoutsbatch processing, payment payoutsbatch success and payment payoutsbatch denied events, merchants and developers can receive notifications whenever a Payouts transaction is initiated and a payouts batch is in progress, is successful or is denied. Only PayPal authorizations are supported at the moment, but the company suggests that things like direct credit card transactions may be supported in the future and that they are actively working on adding more event types.
To use Webhooks in the sandbox or live environment, users will need to go to the My Apps page on the PayPal developer site, create an app, add a webhook URL and subscribe to their chosen event types. Here users will find the Webhook URL, Webhook ID and events tracked. Using this Webhook ID in the Webhooks API, users can do things like update a webhook, delete a webhook, get a webhook, and list subscribed Webhook event types.
Users can also create, manage and simulate Webhooks for their applications by using:
- the Webhooks Dashboard, which makes it possible to manage and view all Webhook events for each application from a single interface; and
- the Webhooks Simulator, which sends test events and makes it possible to verify Webhook URLs.
Further information on the Payouts API is available in the API documentation.