with Railsr and WalleTap?
The Railsr API provides robust tools for building and managing financial services within applications. It offers features like creating and managing accounts, transferring money, and handling different currencies, making it a powerful ally for fintech developers. Integrating the Railsr API with Pipedream allows you to automate these financial operations and connect them with hundreds of other services to create dynamic, cross-functional workflows that enhance productivity and streamline financial processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
railsr: {
type: "app",
app: "railsr",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://play.railsbank.com/v1/customer/me`,
headers: {
"Authorization": `API-Key ${this.railsr.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
walletap: {
type: "app",
app: "walletap",
}
},
async run({steps, $}) {
const data = {
"title": `Flash offer!`,
"content": `Get 70% discount now`,
}
return await axios($, {
method: "post",
url: `https://api.walletap.io/template/${this.walletap.$auth.template_id}/notification`,
headers: {
"x-api-key": `${this.walletap.$auth.api_key}`,
},
data,
})
},
})