Send a webhook when you have a new PayPal sale
If you'd like to set up a webhook to automatically send when you have a new PayPal sale, Zapier can do that for you. Provide Zapier with your PayPal credentials, and you can configure a webhook to send when you have a new sale.
If you'd like to set up a webhook to automatically send when you have a new PayPal sale, Zapier can do that for you. Provide Zapier with your PayPal credentials, and you can configure a webhook to send when you have a new sale.
- Free forever for core features
- 14 day trial for premium features & apps
Successful Sale
Only successfully completed payments trigger this.
Try ItRefunded Sale
Only refunded payments trigger this.
Try ItURLRequired
This should return a list of dictionaries of content type JSON in reverse chronological order. For example:
[{"id":1234},{"id":1235}]
Key
If the returned JSON is not a list and is instead an object (maybe paginated), enter the key that contains the results. Example: "results", "items", "objects", etc... (children via dot syntax supported)
Deduplication Key
Zapier deduplicates the array we see each poll against the
id
key. If theid
key does not exist, you should specify an alternative unique key to deduplicate off of. If neither are supplied, we fallback to looking for the shortest key withid
in it otherwise we will raise an error.Xpath
If the content fetched is XML or HTML, optionally define an xpath to extract data from the content. Will trigger whenever the content at the xpath changes!
Basic Auth
A pipe (
|
) separated username, password combo for standard HTTP authentication.Headers
Key, value pairs to be added as headers in all requests.
Try ItPick off a Child Key
By default, Zapier gives you the entire payload of the webhook. If this is specified, Zapier will only grab the child key from the object(s) sent to Zapier. For example, given
{"contact": {"name": "Mike"}}
, add "contact" here to only return{"name": "Mike"}
. Traverse more deeply nested children by using dot-separated syntax. Line item payloads will run your Zap for each instance of the child key.
Try It
Successful Sale
Only successfully completed payments trigger this (with line item support).
Try ItAll Merchant Transactions
All Merchant Transactions, regardless of status, trigger this.
Try ItCatch Raw Hook
Wait for a new POST, PUT, or GET to a Zapier URL. Gives the request body unparsed (max 2 MB) and also includes headers.
Try ItMethodRequired
The HTTP method we'll use to perform the request.
URLRequired
Any URL with a querystring will be re-encoded properly.
Data Pass-Through?
If yes, request
data
below will be overridden with the raw data from the previous step (you are still responsible for headers though, likeContent-Type
). Defaults to no.Data
Place raw data for the request here. Could be JSON, XML, etc. Nothing is parsed for you here (including extra line breaks or spaces -- everything is sent verbatim). You probably need to define a header below corresponding to your data
Content-Type
. Reminder: data provided in this field is completely ignored if you chose "yes" to pass-through.Unflatten
By default we convert fields with double underscores into nested dictionaries. Select no here to turn this behavior off.
Basic Auth
A pipe (
|
) separated username, password combo for standard HTTP authentication.Headers
Key, value pairs to be added as headers in all requests.
Related categories
Related categories
Get started for free
You can't add more hours to the day. Zapier is the next best thing.