Description Usage Arguments Value Examples
Add a new credit card to a customer. Set it as default.
1 | stripe_create_card(api_key, customer_id, args)
|
api_key |
Your Stripe API Key |
customer_id |
The id for the customer you want the credit card added to. |
args |
A required list of either a token, or a card dictionary. /hrefhttps://stripe.com/docs/api#create_cardmore info here |
A data frame with card information
1 2 3 4 5 6 7 | ## Not run: stripe_create_card("sk_test_BQokikJOvBiI2HlWgH4olfQ2", "cus_4cb7HNjNSqqV2H",
list(card="tok_14SsjM2eZvKYlo2CCtdx2AvO")
## End(Not run)
## Not run: stripe_create_card("sk_test_BQokikJOvBiI2HlWgH4olfQ2", "cus_4cb7HNjNSqqV2H",
list(card=list(number="4242424242424242", exp_month="03", exp_year="2018")))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.