get_stripe | R Documentation |
This is a helper API wrapper for internal use in Polished Payments Shiny apps. It is not intended to be used outside of Shiny.
get_stripe(user_uid, app_uid = polished::.polished$app_uid)
user_uid |
the customer's 'polished' user uid |
app_uid |
the 'polished' app uid; defaults to the current app
(e.g. |
a list with the following elements: - polished_customer_uid - stripe_customer_id - default_payment_method - trial_days_remaining - subscription: either NA if no subscription in Stripe, or a list of with the following elements retrieved from the Stripe API: - stripe_subscription_id - item_id - plan_id - nickname - amount - interval - trial_end - created_at
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.