HNHacker News
TopNewBestAskShowJobs

guayosr

65 karma · joined March 21, 2011

submissionscomments
guayosr··on Stripe Billing
You can use the sources API for both cards and SEPA: https://stripe.com/docs/sources/cards

On the UI side, mind shooting me an email at eduardo@stripe.com? I can share some stuff we're working on!

guayosr··on Stripe Elements: Pre-built UI components to help you create checkout flows
Working on it!

(I work at Stripe)

guayosr··on Ask HN: What is your go-to example for a good REST API?
- https://stripe.com/docs/api#subscriptions

- https://stripe.com/docs/subscriptions/guide

guayosr··on Ask HN: What is your go-to example for a good REST API?
(I work at Stripe.)

Although it’s kind of proving your point that the API could be easier to use/better documented, here are some simpler ways to do what you’re looking for:

* Upgrading a plan (no cancellation needed): https://stripe.com/docs/api#update_subscription-plan

  > `curl https://api.stripe.com/v1/subscriptions/sub_foo -u sk_test_bar: -d plan={new_plan}`
* Canceling a subscription at the end of the billing cycle (no need to handle on your end): https://stripe.com/docs/api#update_subscription-at_period_en...

  > `curl https://api.stripe.com/v1/subscriptions/sub_foo -u sk_test_bar: -X DELETE -d at_period_end=true`
* Anchoring subscription to a date (sorry! :( , this is undocumented but should be out soon): https://stripe.com/docs/api#create_subscription

  > `curl https://api.stripe.com/v1/subscriptions/sub_foo -u sk_test_bar: -d billing_cycle_anchor={timestamp}`
That said, agreed overall that our subscriptions support needs some love. We're starting to spend more time on exactly this, so would love any feedback you (or anyone else reading) are willing to share. I'm eduardo@stripe.com.
guayosr··on Payments Startup Stripe (YC S10) Joins the Billion Dollar Club
Eduardo from Stripe here - sending you an email now; I think we can help!
guayosr··on Startup idea list
Love this, and have been thinking about it for a while (after having moved literally 10 times in 10 years). I picture something similar to OAuth permissions, where at any point I can revoke access to all or specific pieces of information to anyone.

As an extension (and this is potentially where the money is), I can think of an intermediary service (a-la Google Voice call widgets) that allows entities to contact me without ever giving away my phone/address/etc.

guayosr··on Why Startup Hubs Work
What I'd like to explore, is if you can help catalyze the effect PG is talking about by concentrating whatever startup activity exists in a city to one central location. In other words can you fake a hub, and thereby encourage its growth, by 'artificially' concentrating this critical mass of people?