set_stripe_payment_method: Set the Default Payment Method for a Customer

View source: R/api_stripe_payment_method.R

set_stripe_payment_methodR Documentation

Set the Default Payment Method for a Customer

Description

Set the Default Payment Method for a Customer

Usage

set_stripe_payment_method(
  customer_id,
  payment_method_id,
  stripe_secret_key = .pp$keys$secret
)

Arguments

customer_id

the Stripe customer id

payment_method_id

the Stripe payment method id


Tychobra/polishedpayments documentation built on May 13, 2022, 7:15 p.m.