stripe_update_card: Update a credit card on Stripe.

Description Usage Arguments Value Examples

View source: R/cards.R

Description

Update infomration about the billing address for a credit card as well as other fields.

Usage

1
stripe_update_card(api_key, customer_id, card_id, args)

Arguments

api_key

Your Stripe API Key

customer_id

The id for the customer you want the credit card added to.

card_id

The id for the card you want to update

args

A list that can contain the following

address_city

optional

address_country

optional

address_line1

optional

address_line2

optional

address_state

optional

address_zip

optional

exp_month

optional

exp_year

optional

name

optional

Value

A data frame with card information

Examples

1
2
3
## Not run: stripe_update_card("sk_test_BQokikJOvBiI2HlWgH4olfQ2", "cus_4cb7HNjNSqqV2H",
"card_14TLyd2eZvKYloc2C9PXnfFmi", list(exp_year="04"))
## End(Not run)

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