Better HN
topnewbestaskshowjobs
Log inSign up

guayosr

65 karma · joined Mar 21, 2011 (15y ago) · 8 submissions

Submissions

comment 8y ago · link · parent

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!

comment 9y ago · link · parent

Working on it!

(I work at Stripe)

comment 10y ago · link · parent

- https://stripe.com/docs/api#subscriptions

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

comment 10y ago · link · parent

(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.

comment 12y ago · link · parent

Eduardo from Stripe here - sending you an email now; I think we can help!

comment 14y ago · link · parent

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.

7.

Ask HN: How does Amazon Local fit into Amazon's strategy?

1 points · by guayosr · 14y ago · discuss

comment 15y ago · link · parent

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?