ReCharge

Subscriptions & Recurring Payments for Ecommerce

Integrate the ReCharge API with the Python API

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

Run Python Code with Python API on New Customer Created (Instant) from ReCharge API
ReCharge + Python
 
Try it
Run Python Code with Python API on New Order Created (Instant) from ReCharge API
ReCharge + Python
 
Try it
Run Python Code with Python API on New Subscription Created (Instant) from ReCharge API
ReCharge + Python
 
Try it
New Customer Created (Instant) from the ReCharge API

Emit new event when a new customer is created.

 
Try it
New Order Created (Instant) from the ReCharge API

Emit new event when a new order is created.

 
Try it
New Subscription Created (Instant) from the ReCharge API

Emit new event when a new subscription is created.

 
Try it
Cancel Subscription with the ReCharge API

Cancels an existing subscription. 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 ReCharge API

Creates a customer. See the documentation

 
Try it
Create Subscription with the ReCharge API

Creates a new subscription allowing a customer to subscribe to a product. See the documentation

 
Try it
Update Customer with the ReCharge API

Updates an existing customer's details. See the documentation

 
Try it

Overview of ReCharge

The ReCharge API offers a programmatic entrance to the ReCharge ecosystem, a place where subscription-based e-commerce is managed with ease. Whether you're looking to synchronize customer data, manage subscriptions, or automate notifications, the API's endpoints enable you to seamlessly integrate subscription data into your business processes. With Pipedream's serverless execution model, you can craft workflows that respond to events in ReCharge, manipulate and route data, and trigger actions across your entire software stack. This opens doors to personalized customer experiences, streamlined operations, and data-driven decision-making.

Connect ReCharge

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    recharge: {
      type: "app",
      app: "recharge",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.rechargeapps.com/customers`,
      headers: {
        "X-Recharge-Access-Token": `${this.recharge.$auth.api_key}`,
      },
    })
  },
})

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}}