Create a new charge for a specific customer and amount through the OPN platform. See the documentation
Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.
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
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: ``,
},
})
},
})
Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.
This includes installing PyPI packages, within your code without having to manage a requirements.txt
file or running pip
.
Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:
def handler(pd: "pipedream"):
# Reference data from previous steps
print(pd.steps["trigger"]["context"]["id"])
# Return data for use in future steps
return {"foo": {"test":True}}