stripe_create_invoice: Create an Invoice.
Description
Create a new invoice for a customer.
Usage
stripe_create_invoice(api_key, args)
Arguments
api_key
Your Stripe API Key
args
A list which must contain
- customer
- required customer id for the invoice.
- description
- optional description of invoice.
- application_fee
- optional fee in cents to apply to invoice.
- metadata
- optional A list which can contain anything to further describe.
- subscription
- optional id of the subscription to invoice.
- statement_description
- optional Goes on credit card statement of customer.
Value
A data frame with the new invoice if successful.