OPN (formerly Omise)

Integrate the OPN (formerly Omise) API with the Python API

Setup the OPN (formerly Omise) API trigger to run a workflow which integrates with the Python API. Pipedream's integration platform allows you to integrate OPN (formerly Omise) and Python remarkably fast. Free for developers.

Run Python Code with Python API on New Charge Refunded from OPN (formerly Omise) API
OPN (formerly Omise) + Python
 
Try it
Run Python Code with Python API on New Payment Received from OPN (formerly Omise) API
OPN (formerly Omise) + Python
 
Try it
New Charge Refunded from the OPN (formerly Omise) API

Emit new event for each refunded charge through the OPN platform.

 
Try it
New Payment Received from the OPN (formerly Omise) API

Emit new event for each payment received through the OPN platform.

 
Try it
Create a New Charge with the OPN (formerly Omise) API

Create a new charge for a specific customer and amount through the OPN platform. See the documentation

 
Try it
Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

 
Try it
Create Customer with the OPN (formerly Omise) API

Registers a new customer in the OPN platform. See the documentation

 
Try it
Update Customer with the OPN (formerly Omise) API

Update a customer's information and payment details in the OPN system. See the documentation

 
Try it

Overview of OPN (formerly Omise)

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.

Connect OPN (formerly Omise)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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: ``,
      },
    })
  },
})

Overview of Python

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:

Connect Python

1
2
3
4
5
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}}