Skip to content

Instantly share code, notes, and snippets.

Last active Aug 29, 2015
What would you like to do?
How to get the total amount refunded in Stripe using Keen IO
Keen.onChartsReady(function() {
var metric = new Keen.Metric("Stripe_Events", {
analysisType: "sum",
targetProperty: "data.object.amount_refunded",
filters: [{"property_name":"type","operator":"eq","property_value":"charge.refunded"}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment