API Reference

Emails after subscriptions

Here is the description of placeholders you can use in customising email

Subscription Fields

FieldDescription
{subscription.id}Unique subscription identifier
{subscription.user_id}ID of the user who owns the subscription
{subscription.user_email}Userโ€™s email address
{subscription.created_at}Date and time when the subscription was created
{subscription.updated_at}Date and time of the last update to the subscription record
{subscription.payment_system}ID of the payment system (0 = Stripe, 1 = Paddle, 3 = PayPal, 4 = Primer, 6 = Solidgate)
{subscription.payment_system_label}Name of the payment system (Stripe, PayPal, Paddle, etc.)
{subscription.real_payment}Indicates if a real payment has been made
{subscription.pay_system_id}Subscription or customer identifier in the payment system
{subscription.project_domain}The domain of the project/website where the subscription was created
{subscription.quiz_id}ID of a quiz
{subscription.quiz_name}Name of the quiz
{subscription.paywall_id}ID of the paywall
{subscription.paywall_name}Name of the paywall
{subscription.price_id}Price ID
{subscription.amount}Final amount of the Price used for this subscription * 100
{subscription.amount_real}Amount of the Price used for this subscription, including discounts
{subscription.currency}Currency
{subscription.canceled_at}Date of cancellation (if canceled)
{subscription.cancel_at_period_end}If the subscription ends at the end of the current paid period
{subscription.customer}Customer identifier in the payment system
{subscription.status}Current subscription status (active, canceled, trialing, past_due)
{subscription.next_charge_date}Date of the next scheduled charge
{subscription.last_charge_date}Date of the last charge
{subscription.charges_count}Total number of charges made for this subscription
{subscription.total_revenue}Total revenue of this subscription in subscription currency
{subscription.manage_link}Link where the user can manage their subscription
{subscription.total_revenue_usd}Total revenue of this subscription in USD
{subscription.user_visit_id}Identifier of the userโ€™s visit/session (for analytics)