An r implementation of the stripe api