Skip to content
Recharge logo

Connectors / Finance · HTTP Connector

Recharge integration and API

Create a subscription, create a customer and update an order in Recharge, and start a workflow when Recharge sends “Subscription created”.

What can you do with Recharge on Tray.ai?

Recharge is a subscription billing platform for ecommerce stores, managing recurring orders, customer subscriptions, charges, discounts and checkout for brands selling on Shopify and other storefronts. Tray.ai connects to Recharge through the HTTP Connector, so your workflows can call the Recharge API alongside the rest of your stack.

  • When Recharge sends “Charge failed”, email the customer and alert your support team in team chat.
  • When Recharge sends “Subscription cancelled”, start a win-back sequence in your email marketing tool.
  • Skip a charge when a customer asks through your help desk to pause next month's box.
  • Record the revenue in your accounting system when Recharge sends “Charge paid”.
Connects through
HTTP Connector
Authentication
An API key in a request header
Base URL
https://api.rechargeapps.com

Set it up

Connect Recharge to Tray.ai

Each step uses Recharge's own API details, from its documentation.

Save Recharge's API key

Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.rechargeapps.com as the base URL. Or paste a cURL example from Recharge's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List subscriptions”

It's one of 28 documented actions, under Subscriptions. The response comes back as data the next step can map into your other apps.

Start workflows from Recharge events

Give Recharge the URL of a Tray.ai webhook trigger. “Subscription created” can then start a workflow, and so can 10 other events.

Workflows to build with Recharge

Connect Recharge with NetSuite, Zendesk and HubSpot

Each one uses actions and events from Recharge's own API documentation.

Record paid Recharge charges in NetSuite

When

Charge paid

Then

  1. List orders for the charge
  2. Record the sale and payment in NetSuite

With NetSuite

Open Zendesk tickets for failed Recharge charges

When

Charge failed

Then

  1. List customers to find the subscriber
  2. Create a ticket in Zendesk so the team can reach out

With Zendesk

Update HubSpot contacts when Recharge subscriptions cancel

When

Subscription cancelled

Then

  1. List customers to find the subscriber
  2. Update the matching contact in HubSpot to show the cancelled subscription

With HubSpot

Apps you can build on Recharge data

Internal tools your team can build with an AI assistant, each one using Recharge calls from its API documentation.

Subscription support desk

Looks up a customer's subscriptions and upcoming charges and lets support skip a charge or cancel.

Failed charge recovery list

Lists failed charges with customer details so the team can retry a charge.

Order delay board

Lists upcoming orders and lets ops delay or update orders when stock runs short.

Give your AI agents Recharge tools

Build an MCP server on Recharge in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List subscriptions
  • List customers
  • List charges
  • List orders
  • List addresses
  • List discounts
  • Create a subscription
  • Update a subscription

What the Recharge API covers

6 resources and 28 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Subscriptions

  • List subscriptions
  • Create a subscription
  • Update a subscription
  • Cancel a subscription
  • Activate a subscription
  • Delete a subscription

Customers

  • List customers
  • Create a customer
  • Update a customer
  • Delete a customer

Charges

  • List charges
  • Skip a charge
  • Refund a charge
  • Process a charge
  • Apply a discount

Orders

  • List orders
  • Update an order
  • Clone an order
  • Delay an order
  • Delete an order

Addresses

  • List addresses
  • Create an address
  • Update an address
  • Delete an address

Discounts

  • List discounts
  • Create a discount
  • Update a discount
  • Delete a discount

Events Recharge can send to a Tray.ai webhook trigger

  • Subscription created
  • Subscription cancelled
  • Subscription skipped
  • Charge paid
  • Charge failed
  • Charge refunded
  • Order created
  • Order processed
  • Customer created
  • Customer deactivated
  • Address created

Checked against Recharge's own documentation on 2026-10-22

developer.rechargepayments.com/2021-11

Frequently asked questions

What can a Tray.ai workflow do in Recharge?

The Recharge API documents 28 actions across 6 resources (Subscriptions, Customers, Charges, Orders, Addresses, Discounts). For example: List subscriptions; List customers; List charges. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Recharge?

The Recharge API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Recharge events can start a Tray.ai workflow?

Recharge sends 11 events to a webhook URL, for example: Subscription created; Subscription cancelled; Subscription skipped; Charge paid; Charge failed; Charge refunded; Order created; Order processed. A Tray.ai webhook trigger receives them and starts a workflow.

See Recharge working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.