with Documenso and OPN (formerly Omise)?
Emit new event when a document is signed by all recipients.
Emit new event for each refunded charge through the OPN platform.
Emit new event for each payment received through the OPN platform.
Add a recipient to an existing Documenso document. [See the documentation](See the documentation)
Create a new charge for a specific customer and amount through the OPN platform. See the documentation
Create a new document in Documenso from a pre-existing template. See the documentation
Registers a new customer in the OPN platform. See the documentation
Update a customer's information and payment details in the OPN system. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
documenso: {
type: "app",
app: "documenso",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.documenso.$auth.url}/api/v1/documents`,
headers: {
"Authorization": `${this.documenso.$auth.api_token}`,
},
})
},
})
The OPN API, previously known as Omise, provides a powerful suite of features for handling online payments, from processing transactions to managing payment methods. With Pipedream's integration capabilities, you can automate various aspects of payment operations, link payment events to other services, and streamline financial workflows without the need for extensive coding.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
omise: {
type: "app",
app: "omise",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.omise.co/account`,
auth: {
username: `${this.omise.$auth.secret_key}`,
password: ``,
},
})
},
})