You can use certain webhooks with PayWhirl to receive push notifications. Here is a complete list of webhook events.

Certain third party applications will ask you to register your webhooks on PayWhirl. In order to do this, simply paste the webhook URL into the field provided.

Processing Webhooks

Note: You may need a developer's help to integrate your services with Paywhirl's webhooks.

Webhooks can be setup in the Developer section of your Paywhirl dashboard. You may include multiple webhooks under one account if you need to send them to multiple processing scripts or applications. Paywhirl's webhooks can be processed by your server-side scripting language of choice and can be used to interact with any 3rd party service via their API.

Common uses for webooks include processing orders with a fulfillment service, adding customer records to your website, or sending automated emails when an action occurs in your Paywhirl widget. Webhooks give you the flexibility to integrate Paywhirl with any other web service, including, but not limited to, your own website.

Receiving a Webhook

Configuring your server to receive a new webhook is no different from creating any page on your website. With PHP, you might create a new .php file on your server; with a framework like Sinatra, you would add a new route with the desired URL. Remember, with webhooks, your server is the server receiving the request.

Webhook data is sent as JSON in the request's body. The full event details are included and can be used directly. We also advise you to guard against replay-attacks by recording which events you receive, and never processing events twice.

Related Articles:

Where can I find the API documentation?

How to integrate with Zapier and hundreds of other apps using webhooks

PayWhirl developers & experts

Did this answer your question?