What do you want to automate

with Whop and ifthenpay?

Prompt, edit and deploy AI agents that connect to Whop, ifthenpay and 2,500+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Create Checkout Session with Whop API on New Payment Completed from ifthenpay API
ifthenpay + Whop
 
Try it
Create Payment Reference with ifthenpay API on New Membership Validated (Instant) from Whop API
Whop + ifthenpay
 
Try it
Create Payment Reference with ifthenpay API on New Payment Failed (Instant) from Whop API
Whop + ifthenpay
 
Try it
Create Payment Reference with ifthenpay API on New Payment Succeeded (Instant) from Whop API
Whop + ifthenpay
 
Try it
Create Promo Code with Whop API on New Payment Completed from ifthenpay API
ifthenpay + Whop
 
Try it
New Membership Validated (Instant) from the Whop API

Emit new event when a membership goes valid. See the documentation

 
Try it
New Payment Completed from the ifthenpay API

Emit new event when a payment is successfully completed through Ifthenpay. See the documentation

 
Try it
New Payment Failed (Instant) from the Whop API

Emit new event when a payment attempt fails.

 
Try it
New Payment Succeeded (Instant) from the Whop API

Emit new event when your company receives a successful payment. See the documentation

 
Try it
Create Checkout Session with the Whop API

Creates a new checkout session in Whop. See the documentation

 
Try it
Create Payment Reference with the ifthenpay API

Generates a Multibanco or MB WAY payment reference with a specified amount, entity code, and deadline. See the documentation

 
Try it
Create Promo Code with the Whop API

Creates a new promo code with the given parameters in Whop. See the documentation

 
Try it
Issue Refund with the ifthenpay API

Issue a full or partial refund for a previously completed payment via Ifthenpay. See the documentation

 
Try it
Terminate Membership with the Whop API

Permanently invalidates a specified membership using its unique ID, effectively unfulfilling the user's product experiences. Termination is irreversible. See the documentation

 
Try it
Integrate the Whop API with the ifthenpay API
Setup the Whop API trigger to run a workflow which integrates with the ifthenpay API. Pipedream's integration platform allows you to integrate Whop and ifthenpay remarkably fast. Free for developers.

Overview of Whop

The Whop API provides access to a marketplace for buying and selling software companies. On Pipedream, you can leverage the Whop API to craft serverless workflows that automate tasks like tracking sales, managing memberships, and integrating with other services for a comprehensive business management solution. It’s great for creating custom alerts, syncing data across platforms, and much more, all without writing a line of server-side code.

Connect Whop

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    whop: {
      type: "app",
      app: "whop",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.whop.com/api/v2/memberships`,
      headers: {
        Authorization: `Bearer ${this.whop.$auth.api_key}`,
      },
    })
  },
})

Connect ifthenpay

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    ifthenpay: {
      type: "app",
      app: "ifthenpay",
    }
  },
  async run({steps, $}) {
    const data = {
      "boKey": `${this.ifthenpay.$auth.backoffice_key}`,
      "dateStart": `21-10-2024 00:00:00`,
      "dateEnd": `30-04-2025 00:00:00`,
    }
    return await axios($, {
      method: "post",
      url: `https://api.ifthenpay.com/v2/payments/read`,
      headers: {
        "accept": `application/json`,
      },
      data,
    })
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo