View source: R/api_customers.R
get_customers | R Documentation |
Polished Payments API - Get Customer(s)
get_customers( app_uid = NULL, user_uid = NULL, is_live = .pp$is_live, api_key = polished::get_api_key() )
app_uid |
an optional app uid. |
user_uid |
an optional user uid. |
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 |
If both the app_uid
and user_uid
are NULL
, then all the
customers in your account will be returned. If only app_uid
is not NULL
,
then all customers for a single app will be returned. If only user_uid
is not
NULL
then all customers for that user will be returned (a user can have multiple
customers for multiple apps). If app_uid
and user_uid
are provided, then
one customer will be returned (assuming that customer exists). If the customer does not
exists, a zero row tibble will be returned.
an object of class polished_api_res
. The "content" of the object is a
tibble of app(s) with the following columns:
- uid
- app_name
- app_url
- created_at
- modified_at
[add_customer()] [update_customer()]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.