Make money programmable: Fidel API enables developers to build transformative experiences on top of payment cards.
Creates a new card-linked program in the Fidel API. See the documentation
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
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}`,
},
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})