Question

RevenueCat subscription via webhook

  • 24 October 2023
  • 2 replies
  • 53 views

Badge

Hi,
I want to ask is there any possibility to connect Stripe payment with RevenueCat subscription? I mean do stripe can create new user with subscription linked with stripe user base on webhook subscription?

I have configured Stripe and Revenue cat like here.
Also I want to ask where I can see request or events from `incoming-webhooks/stripe` endpoint?

Or I can create in RevenueCat subscription by send request below?

curl -X POST \
https://api.revenuecat.com/v1/receipts \
-H 'X-Platform: stripe' \
-H 'Authorization: Bearer YOUR_REVENUECAT_API_KEY' \
-d '{ "app_user_id": "my_app_user_id",
"fetch_token": "sub_xxxxxxxxxx"
}'

 


2 replies

Badge

@developer 

Userlevel 3
Badge +5

Here are the instructions for how to use Stripe and RevenueCat together. You can use this "Create a Purchase" endpoint in order to send the Stripe subscriptions to RevenueCat.

Reply