PayPal

Send Money, Pay Online or Set Up a Merchant Account

Integrate the PayPal API with the Bash API

Setup the PayPal API trigger to run a workflow which integrates with the Bash API. Pipedream's integration platform allows you to integrate PayPal and Bash remarkably fast. Free for developers.

Run Bash Code with Bash API on New Payment Event (Instant) from PayPal API
PayPal + Bash
 
Try it
New Payment Event (Instant) from the PayPal API

Emits a new event on a new payment webhook event. See webhooks docs here and Events Types docs here

 
Try it
Get User Info with the PayPal API

Shows user profile information. See docs here

 
Try it
Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it

Overview of PayPal

The PayPal API on Pipedream allows you to automate payment processing, manage transactions, and streamline financial operations within your applications. By leveraging Pipedream's serverless platform, you can craft customized workflows that trigger on specific PayPal events, such as successful payments or disputes. Harness the power of automations to synchronize transaction data across diverse systems, send notifications, or even analyze financial trends.

Connect PayPal

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    paypal: {
      type: "app",
      app: "paypal",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `${this.paypal.$auth.app_type}.paypal.com/v1/identity/oauth2/userinfo`,
      headers: {
        Authorization: `Bearer ${this.paypal.$auth.oauth_access_token}`,
      },
      params: {
        schema: `paypalv1.1`,
      },
    })
  },
})

Connect Bash

1
2
3
4
5
6
7
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id

# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS