Android v1 is deprecated. We recommend migrating to the latest version of our Android SDK. The best way to start is by making an incremental upgrade from v1 to v2.

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()


You'll need to register a listener to receive a payment method nonce once the Android Pay flow finishes.

Next Page: Server-side →