with Escrow.com and Formatting?
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 Escrow.com API provides programmatic access to escrow services, allowing secure transactions where funds are held until predetermined conditions are met. By integrating with Pipedream, you can streamline the process of managing escrow transactions, automate updates to all parties involved, and link Escrow.com with other business tools for seamless financial operations. The API can trigger actions like creating transactions, checking status updates, and automating payments, ensuring a secure and efficient transaction environment.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
escrow: {
type: "app",
app: "escrow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.escrow.com/2017-09-01/customer/me`,
auth: {
username: `${this.escrow.$auth.email}`,
password: `${this.escrow.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})