Payment Completion
For payment completion events, we promptly trigger the "Payment Completion Webhook" as soon as the user completes the payment. Below is an example curl for each webhook, called at the offering level.
Groups/Channels
New Subscription Purchased or Renewal Payment done
curl --location `${WEBHOOK_URL}` \
--header 'apikey: ${YOUR_API_KEY}' \
--header 'Content-Type: application/json' \
--data-raw '{
"Name": "Abhishek",
"Amount": 2, // In INR
"offer_code": "Republic30",
"offer_id": "65aa4e1327f9931ac61d9fef",
"offer_discount": null,
"Email": "[email protected]",
"Phone": "+91123456789",
"Product": "How To Crack Your First Five Clients",
"Link of Product": "https://rpy.club/jcp/example-1",
"Time": "Jan 19, 2024 10:36 AM",
"ref_id": "order_NQRMSFjAj4kCm6",
"event_type": "payment_success"
}'Course/Cohort
Webinar
Locked Message
Package
Cart payment
Last updated