Loading

PayPal + Webhooks by Zapier

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.

  1. When this happens...
    PayPalPayPal
    Successful Sale

    Only successfully completed payments trigger this (with line item support).

    TriggerInstant
  2. automatically do this!
    Webhooks by ZapierWebhooks by Zapier
    POST

    Fire off a single POST request as a form or JSON.

    ActionWrite
Try this template
  • Free forever for core features
  • 14 day trial for premium features & apps

Supported triggers and actions

What does this mean?
  • PayPal triggers, actions, and search

    Successful Sale

    Only successfully completed payments trigger this.

    Trigger
    Instant
    Try It
    • URLRequired

      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 the id 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 with id 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.

    Trigger
    Scheduled
    Try It
    • Pick 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.

    Trigger
    Instant
    Try It
  • PayPal triggers, actions, and search

    Successful Sale

    Only successfully completed payments trigger this (with line item support).

    Trigger
    Instant
    Try It
  • PayPal triggers, actions, and search

    All Merchant Transactions

    All Merchant Transactions, regardless of status, trigger this.

    Trigger
    Instant
    Try It
  • Webhooks by Zapier triggers, actions, and search

    Catch 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.

    Trigger
    Instant
    Try It
    • MethodRequired

      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, like Content-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.

    Action
    Write
paypal logo
paypal logo

About PayPal

PayPal is a fast, safe way to send money, make an online payment, receive money or set up a merchant account. With over 150 million active registered accounts, PayPal helps people and businesses receive and make payments in more than 100 currencies in 203 markets.
Learn more

Related categories

  • Payment Processing
webhook logo
webhook logo

About Webhooks by Zapier

Webhooks simply POST data (or JSON) to a specific URL every time we see something new. Webhooks can also accept data (or JSON) to kick off a workflow in Zapier.

Related categories

Get started for free

You can't add more hours to the day. Zapier is the next best thing.


OR

By signing up, you agree to Zapier's terms of service and privacy policy.