View source: R/api_customers.R
add_customer | R Documentation |
Polished Payments API - Add a Customer
add_customer( app_uid, user_uid, stripe_customer_id, stripe_subscription_id = NULL, is_live = .pp$is_live, api_key = polished::get_api_key() )
app_uid |
the app uid. |
user_uid |
the user uid. |
stripe_customer_id |
the Stripe customer id. |
stripe_subscription_id |
the Stripe subscription id. |
is_live |
whether or not the Stripe key is live or test mode. |
api_key |
your Polished API key. Set your polished api key using |
[get_customers()] [update_customer()]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.