Stripe refactor: API