with Fidel API and Needle?
Creates a new card-linked program in the Fidel API. See the documentation
Search a collection for relevant data chunks based on a query. See the documentation
Allows for the removal of a previously linked card from the Fidel API. See the documentation
Links a new card to the Fidel API for monitoring transactions. See the documentation
The Fidel API allows you to link credit and debit cards to specific offers or programs, track transactions in real-time, and receive event-driven data. It's a powerful tool for creating loyalty and reward programs, providing insights into customer spending patterns, and automating financial operations. With Pipedream, you can craft workflows that leverage Fidel API's capabilities to trigger actions, sync data, and connect with other apps for enhanced automation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
fidel_api: {
type: "app",
app: "fidel_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.fidel.uk/v1/programs`,
headers: {
"Content-Type": `application/json`,
"Fidel-Key": `${this.fidel_api.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
needle: {
type: "app",
app: "needle",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://needle-ai.com/api/v1/collections`,
headers: {
"accept": `application/json`,
"x-api-key": `${this.needle.$auth.api_key}`,
},
})
},
})