stripe_create_customer: Create a Customer.

Description Usage Arguments Value

View source: R/customers.R

Description

Create a new customer and add information to them.

Usage

1

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.


RStripe documentation built on May 2, 2019, 7:45 a.m.