add_customer: Polished Payments API - Add a Customer

View source: R/api_customers.R

add_customerR Documentation

Polished Payments API - Add a Customer

Description

Polished Payments API - Add a Customer

Usage

add_customer(
  app_uid,
  user_uid,
  stripe_customer_id,
  stripe_subscription_id = NULL,
  is_live = .pp$is_live,
  api_key = polished::get_api_key()
)

Arguments

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 set_api_key() so that you do not need to supply this argument with each function call.

See Also

[get_customers()] [update_customer()]


Tychobra/polishedpayments documentation built on May 13, 2022, 7:15 p.m.