The Privy integration with Recharge allows you to use subscription commerce data in Privy, including: Import Recharge customers and sync customer-level subscription properties into Privy. Segment contacts by Recharge properties, such as Active Subscriptions or Has Valid Payment Method. Personalize emails and SMS with Recharge properties, such as subscription counts. Trigger Flows based on Recharge events, such as Upcoming Charge or Subscription Cancelled.Documentation Index
Fetch the complete documentation index at: https://help.privy.com/llms.txt
Use this file to discover all available pages before exploring further.
Setting up the integration
Before connecting Recharge to Privy, create an Admin API token in Recharge. You can learn more about Recharge API keys in the Recharge API key documentation. Give the token the following permissions:- Read and Write Customer
- Read Orders
- Store Info
- Read Subscriptions

- Navigate to your Settings in the lower left corner of your dashboard.
- Head to your Integrations page, which can be found near the bottom of the left side menu.
- Locate the Recharge integration and click Connect.
- Enter your Recharge Admin API token to establish the connection, then click Connect again.

Recharge Properties
The following customer-level properties sync from Recharge to Privy. You can use these properties to create segments and personalize email and text message content.- Active Subscriptions
- Total Subscriptions
- Inactive Subscriptions
- Subscription Charge Streak
- First Charge Processed At
- Has Valid Payment Method
- Payment Method In Dunning
- Tax Exempt
Create a Custom Segment Using Recharge Properties
You can use Recharge properties to create Custom Segments of your mailable and textable contacts in Privy. You can target these segments in your Email + SMS campaigns and Flows. To create a Custom Segment using Recharge properties:- Navigate to Contacts > Segments from the left side of your dashboard.
- Click Create Segment in the upper right corner.
- Name your segment.
- Click the Choose category dropdown and select one of the properties under the Recharge category.
- Qualify your selection as needed.
Personalize Emails and SMS with Recharge Properties
To inject personalized data from Recharge into a message, use the Merge Tag function when writing email or SMS content. Use the{{ contact.recharge.* }} fields where contact merge tags are supported. For example, use {{ contact.recharge.subscriptions_active_count }} to show a contact’s active subscription count.
Recharge Events
The following events sync from Recharge to Privy in real time. You can use these events to trigger automated Email + SMS Flows and react to your customers’ subscription activity.- Customer Created
- Customer Updated
- Upcoming Charge
- Upcoming Order
- Subscription Cancelled
- Subscription Activated
- Subscription Paused
Trigger Flows by a Recharge Event
Building a Flow that triggers after a Recharge event is a great way to automate subscription lifecycle messaging. For example, you could send an upcoming charge reminder or follow up when a subscription is cancelled. To build this Flow:- Navigate to Flows from your dashboard.
- Click Create Flow in the upper right corner.
- Select the Integration Event option from the following menu.
- Click Customize Flow to continue.
- Click the dropdown menu under Integration Event on the right side of the builder.
- Select Recharge and then choose your event.
Use Recharge data in trigger filters and split nodes
You can use Recharge data in trigger filters and Split nodes to branch Flow logic based on subscription or customer details. For example, you could send different messages based on whether the customer has a valid payment method or whether their subscription is paused.- Add a Trigger Filter or Split node to your Flow.
- Select a Recharge property such as Has Valid Payment Method or Active Subscriptions.
- Set your condition.
Disconnecting the integration
To disconnect your Privy and Recharge integration:- Navigate to your Settings in the lower left corner of your dashboard.
- Head to your Integrations page, which can be found near the bottom of the left side menu.
- Locate the Recharge integration and click Edit Integration.
- Click Disconnect to confirm your decision.