with ifthenpay and Shipengine?
Emit new event when a new label is shipped. See the docs
Emit new event when a payment is successfully completed through Ifthenpay. See the documentation
Emit new event when a new event is tracked. See the docs
Generates a Multibanco or MB WAY payment reference with a specified amount, entity code, and deadline. See the documentation
Issue a full or partial refund for a previously completed payment via Ifthenpay. See the documentation
By default, all labels are returned, 25 at a time, starting with the most recently created ones. You can combine multiple filter options to narrow-down the results. See the docs
Allows you to subscribe to tracking updates for a package. See the docs
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ifthenpay: {
type: "app",
app: "ifthenpay",
}
},
async run({steps, $}) {
const data = {
"boKey": `${this.ifthenpay.$auth.backoffice_key}`,
"dateStart": `21-10-2024 00:00:00`,
"dateEnd": `30-04-2025 00:00:00`,
}
return await axios($, {
method: "post",
url: `https://api.ifthenpay.com/v2/payments/read`,
headers: {
"accept": `application/json`,
},
data,
})
},
})
The Shipengine API enables robust automation possibilities for shipping logistics. From label creation, rate comparison, to tracking shipments, the API provides the tools to streamline e-commerce and shipping workflows. By harnessing Shipengine's capabilities through Pipedream, you can build seamless integrations that connect your shipping operations with other business processes, enhancing efficiency and reducing manual overhead.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
shipengine: {
type: "app",
app: "shipengine",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api.shipengine.com/v1/addresses/validate`,
headers: {
"API-Key": `${this.shipengine.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})