stripe_capture_charge: Capture a charge.

Description Usage Arguments Value

View source: R/charges.R

Description

As part of the two step charge workflow, capture a charge. Read more about the workflow on the stripe website.

Usage

1
stripe_capture_charge(api_key, charge_id, args = NULL)

Arguments

api_key

Your Stripe API Key

charge_id

The identifier of the charge to be captured

args

an optional list that can include amount,

application_fee

optional A fee to add on to a charge. Only Stripe Connect

receipt_email

optional The email to send receipt to.

Value

Returns a charge data frame if the capture succeeded.


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