Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have a use-case in which I intend to utilize Braintree's Java API from a server-side java application. In this case there will be no customer or 3rd-paty app (i.e. merchant) - just my java application and Braintree.

Generally for this type of interaction I would expect to pass an API key to the API and be granted access, and looking at Braintree's documentation here this is possible (in the form of a client token), however it appears that to generate the client token you require a customer ID (the ID of end customer) and in my use-case there would be no customer and so no customer ID.

This leads me to believe:

  • Braintree's Java API exists to support the customer experience and Braintree's drop-in UIs
  • It is not intended to be invoked directly from another application

Is this correct? Is it possible to achieve my desired outcome with Braintree? (for example to create my own administration application to administer my customers who use Braintree?)

question from:https://stackoverflow.com/questions/65856411/authenticate-to-braintrees-java-api-from-java-application-no-ui

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
971 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share

548k questions

547k answers

4 comments

86.3k users

...