stripe_create_refund: Create a Refund

Description Usage Arguments Value

Description

Create a new refund on a charge.

Usage

1
stripe_create_refund(api_key, charge_id, args = NULL)

Arguments

api_key

Your Stripe API Key

charge_id

The id of the charge to refund.

args

A list can contain amount,

amount

required An amount in cents to refund up to remaining charge.

refund_application_fee

required true/false if fee should be refunded. If true, proportional amount of refund is refunded.

metadata

required Any metadata to include on the refund.

Value

A data frame with the new refund info if successful.


Gastrograph/RStripe documentation built on May 6, 2019, 5:33 p.m.