Skip to main content
All CollectionsIntegrationsBuilding with Recurpay
Integrate Recurpay with your Chatbot
Integrate Recurpay with your Chatbot
Sinchain avatar
Written by Sinchain
Updated over 2 months ago

Nowadays, chatbots are a key part of e-commerce websites. They make shopping smoother by offering instant, personalized help, boosting customer satisfaction. Plus, they handle routine tasks, so human agents can focus on more complex issues.

While merchants today are adding chatbots in the stores to provide a better user experience, loyal customers need to be retained and should always have a hassle-free experience for managing subscriptions. We could have chosen to build the feature ourselves but we know we couldn't have done it better than you so here is a simple process for integrating Recurpay with your chatbot app:

Prerequisite:

Register your app as a Public app on Recurpay, once the app is approved you will receive an email along with your app credentials which can be used for the next set of actions: https://docs.recurpay.com/reference/getting-started

Chatbot Flow:

Step-by-Step Guide:

  1. Do a GET request for the respective customer email by calling the list subscription API to get the respective subscriptions:

    https://docs.recurpay.com/reference/retrieve-a-list-of-subscriptions

    You can pass email as a query parameter on the above API, please ensure the email is authenticated before showing the list of subscriptions to the user.

  2. The response received from the above API call will have the subscription info which needs to be shown to the end customer which contains the status of the subscription, products, and their next order date. A customer can have multiple subscriptions as well so you will have to show the list of all subscriptions before they proceed to next step:

  3. Once the customer selects a subscription for which they want to make amendments, present them with the below options:

    - Update Next Order Date
    - Cancel Subscription
    - Pause Subscription
    - Update Payment Method
    - Update Frequency
    - Update Subscription Items

    https://docs.recurpay.com/reference/update-a-subscription

  4. Once done the customer will receive an email from Recurpay with the updated changes.


Facing any issue with integrations? Click the green chat button or write us at help@recurpay.com

Did this answer your question?