Generating a Client Token

Understand how a client token is generated, and practice it yourself.

When a customer arrives at our application, our server generates a client token containing all the authorization and configuration information. Our server sends the client token to the client application, which the client then uses to communicate directly with Braintree’s server.

The process of generating a client token at the server consists of two steps:

  1. Create a new customer.
  2. Generate a client token.

Get hands-on with 1400+ tech skills courses.