Endpoint
Authentication
Path Parameters
Body Parameters
One of:
"subscription.created": first successful purchase"subscription.updated": plan change or renewal"subscription.canceled": the customer canceled"payment.failed": a payment failed (the subscriber is markedpast_due)
The subscription or order ID in your provider. Later events with the same ID update the same record.
Cuprice’s numeric plan ID (
cuprice_plan_id from the checkout link). The plan has to belong to this project. Custom plans have no Cuprice plan (cuprice_plan_id=0), so they cannot be reported.The customer’s email. Cuprice matches an existing subscriber by this email or by
externalId.Must be the project currency (USD, EUR, GBP or JPY, whichever the project uses). Any other code is rejected. Leave it out to use the project currency.
Your provider’s status, for example
"active" or "trialing". Defaults to "active" for created and updated events.