Accept Crypto on Your Website.
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
The Plisio API enables automated cryptocurrency payment processing, offering capabilities for creating and managing invoices, tracking transactions, and handling crypto payments. With Pipedream, you can leverage the Plisio API to create serverless workflows that integrate with numerous other apps and services. This empowers developers to automate payment flows, synchronize transaction data across platforms, and trigger actions based on payment statuses, without writing complex server-side code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
plisio: {
type: "app",
app: "plisio",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://plisio.net/api/v1/operations`,
params: {
api_key: `${this.plisio.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})