- jmesa6962Asked on February 17, 2016 at 12:49 PM
API Call for Braintree
Great talking with you today! Here is an overview of how transactions are handled via our API. You will still need to get a developer to implement the proper handling, as the actual usage really depends on your business needs.
The first thing you will need is your API keys. You can find all of the API credentials to your account by logging into the Control Panel. Click on Account > My User > API Keys.
You’ll need to generate a client token, including an optional customer ID that identifies your customer. Your server is responsible for creating this client token, which contains all authorization and configuration information your client needs to initialize a Braintree Client SDK to communicate with Braintree.
Braintree on the client side, accepts customer payment information and communicates directly with Braintree. Its configuration is provided via a server-generated client token, and the result of successful customer input is a payment method nonce representing payment authorization, which your server uses to create transactions.
Your client code will need to obtain a client token from your server for server introduction, and use it to configure Braintree.js, or related language. Include the token like this:
This example is for the Drop-in UI, but you don’t need to use that as your integration method, the token handling should be the same outside of the Drop-in as well. Your next step will be to create a transaction. Here’s a link with instructions how to do that. Since you are wanting to create marketplace transactions, there are a few other attributes required on each transaction. You can find a full rundown of marketplace transaction handling, and how to deal with service fees, merchant accounts, and escrow here.
- JotForm SupportMikeAnswered on February 17, 2016 at 04:42 PM
Let me please inform you that no coding required to use JotForm Braintree Integration. You can easily create payment forms without writing a single line of code with us.
If you have any follow up questions, please let us know. We would love to help.