Learn R Programming

RStripe (version 0.1)

stripe_capture_charge: Capture a charge.

Description

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

Usage

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.