Xendit helps businesses accept payments and send money - simply, at speed, with great customer service.
The Xendit API is a powerful suite of APIs and SDKs that enable businesses,
developers, and individuals to make and receive secure payments across hundreds
of countries, currencies, and payment methods. From collecting payment for
ecommerce sites to processing donations for nonprofits and making mass
payments, the Xendit API can help users easily achieve these goals with its
robust tools and secure processes.
Whether you're an experienced developer or just getting started, with the
Xendit API you can build a variety of payment solutions:
By taking advantage of the Xendit API and its secure payment solutions,
businesses, developers, and individuals have the potential to reduce costs and
build efficient, comprehensive payment solutions quickly and securely.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
xendit: {
type: "app",
app: "xendit",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.xendit.co/balance`,
auth: {
username: `${this.xendit.$auth.secret_key}`,
password: ``,
},
})
},
})
The Pipedream Discord app enables you to build event-driven workflows that interact with the Discord API. When you authorize the Pipedream app's access to your guilds, you can use Pipedream workflows to perform common Discord actions, or write your own code against the Discord API.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
discord: {
type: "app",
app: "discord",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://discord.com/api/users/@me`,
headers: {
Authorization: `Bearer ${this.discord.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})