Collect the card data from your UI and construct a CardBuilder with it. You can then tokenize that to get a nonce that can be sent to your server:

CardBuilder cardBuilder = new CardBuilder()

Card.tokenize(mBraintreeFragment, cardBuilder);

You'll need to register a listener to receive a payment method nonce once the card tokenization finishes.

Next Page: Server-side →