Learn R Programming

RStripe (version 0.1)

stripe_retrieve_charge: Retrieve a charge.

Description

Retrieve all the information about a specific charge.

Usage

stripe_retrieve_charge(api_key, charge_id)

Arguments

api_key
Your Stripe API Key
charge_id
The identifier of the charge to be retrieved

Value

Returns a charge data frame if valid.

Examples

Run this code
## Not run: stripe_retrieve_charge("sk_test_BQokikJOvBiI2HlWgH4olfQ2", 
# "ch_14TLyd2eZvKYlo2CdryxwrF8")## End(Not run)

Run the code above in your browser using DataLab