Client Authorization

Client Tokenanchor

Client token sequence diagram

A client token is a signed JWT that includes configuration and authorization information required by the Braintree client SDK.

Your server is responsible for generating the client token, which contains all of the necessary configuration information to set up the client SDKs. When your server provides a client token to your client, it authenticates the application to communicate directly to Braintree.

Your client is responsible for obtaining the client token from your server and initializing the client SDK.

Client tokens are valid for up to 24 hours. If the client token includes a customer ID and creates an excessive number of payment methods, it will be invalidated.