stripe_create_customer: Create a Customer.
Description
Create a new customer and add information to them.
Usage
stripe_create_customer(api_key, args = NULL)
Arguments
api_key
Your Stripe API Key
args
an optional list which can contain
- account_balance
- optional In cents starting account balance. Positive means
amount to be paid off. Negative is credit used towards charge.
- card
- optional Either token from Stripe.js or card details.
- description
- optional The description of the transfer.
- metadata
- optional A list which can contain anything to further describe.
- coupon
- optional A coupon code for a discount applied on all charges.
- email
- optional Customer's email address.
- plan
- optional A plan id to subscribe the customer to.
- quantity
- optional The amount of plans to subscribe them to.
- trial_end
- optional Timestamp for end of trial period. Overrides plan trial.
Value
A data frame with the new Customer info if successful.