What do you want to automate

with Spotify and ifthenpay?

Prompt, edit and deploy AI agents that connect to Spotify, 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
Add Items to a Playlist with Spotify API on New Payment Completed from ifthenpay API
ifthenpay + Spotify
 
Try it
Create a Playlist with Spotify API on New Payment Completed from ifthenpay API
ifthenpay + Spotify
 
Try it
Create Payment Reference with ifthenpay API on New Playlist from Spotify API
Spotify + ifthenpay
 
Try it
Create Payment Reference with ifthenpay API on New Saved Track from Spotify API
Spotify + ifthenpay
 
Try it
Create Payment Reference with ifthenpay API on New Track by Artist from Spotify API
Spotify + ifthenpay
 
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 Playlist from the Spotify API

Emit new event when a new playlist is created or followed by the current Spotify user.

 
Try it
New Saved Track from the Spotify API

Emit new event for each new track saved to the current Spotify user's Music Library.

 
Try it
New Track by Artist from the Spotify API

Emit new event for each new Spotify track related with an artist. see docs here

 
Try it
New Track in Playlist from the Spotify API

Emit new event for each new Spotify track added to a playlist

 
Try it
Add Items to a Playlist with the Spotify API

Add one or more items to a user’s playlist. See the docs here

 
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 a Playlist with the Spotify API

Create a playlist for a Spotify user. The playlist will be empty until you add tracks. See the docs here

 
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
Get a Category's Playlists with the Spotify API

Get a list of Spotify playlists tagged with a particular category. See the docs here

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

Overview of Spotify

The Spotify API on Pipedream offers a creative playground for music lovers and developers alike. With it, you can manage playlists, search for music, get recently played tracks, and manipulate playback among other features. It's a gateway to a rich dataset of music and user information, enabling the creation of personalized and dynamic music experiences.

Connect Spotify

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: {
    spotify: {
      type: "app",
      app: "spotify",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.spotify.com/v1/me`,
      headers: {
        Authorization: `Bearer ${this.spotify.$auth.oauth_access_token}`,
      },
    })
  },
})

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