stripe-java icon indicating copy to clipboard operation
stripe-java copied to clipboard

Documentation

Open EdwardFinegan opened this issue 12 years ago • 2 comments

I'm trying to implement the Stripe API into a java system. However I can't seem to find any solid documentation on how to do it. I have been to this URL:

https://stripe.com/docs/api?lang=java

But it is very general. Is there a javadoc set available for this? Are there any examples? I'm trying to integrate tightly to the Stripe service and seem to be spending most of my time on trial and error testing to figure out the API.

EdwardFinegan avatar May 08 '14 14:05 EdwardFinegan

@edfinegan , the API docs that you've linked to are the source of truth for stripe-java. They include full examples for each API call (customized per language in the right hand pane) as well as a description of all paremeters and response formats. For instance for charge create: screen shot 2014-05-08 at 4 20 34 pm

I apologize that we don't have Javadoc set up, but at present the nervousness that we have about supporting 2 competing types of documentation outweighs the perceived benefit of having Javadoc.

If there's anything that isn't clear in https://stripe.com/docs/api?lang=java, we'd be more than happy to answer questions, either on this ticket or via [email protected].

jimdanz avatar May 08 '14 23:05 jimdanz

Thanks for the reply. The problem is that the documentation is very sparse. For example I'm trying to get info on a subscription that a customer has. The example in the docs show how to get it using the subscription ID. However it is not clear how to get that. I have been working through issues like this one by one mostly through trial and error. I know that this ID is in the customer object, but pulling it out is not straight forward, it requires more experimentation then should be needed.

screen shot 2014-05-09 at 9 19 57 pm

EdwardFinegan avatar May 10 '14 01:05 EdwardFinegan