Display a saved payment method

If you pass a customer_id when generating a client token, Drop-in will display that customer's saved payment methods and automatically add any newly-entered payment methods to their Vault record.


Apple Pay will not be automatically vaulted on the client.

Advanced Fraud Tools

To use Advanced Fraud Tools for your Drop-in form, you'll need to complete these 3 steps at the same time:

  1. Enable Advanced Fraud Tools in the Control Panel
  2. Update your client-side integration to collect device data
  3. Update your server-side integration to pass device data on transaction and verification requests

If there is any delay between enabling in the Control Panel and making the code changes, the integration will not work properly. See the Advanced Fraud Tools guide for more details.


Drop-in is fully customizable, but we also provide Light and Dark themes. Drop-in will use the Light theme by default. To use the Dark theme instead, call this method before initializing Drop-in:

Objective-C Swift
// Set the theme before initializing Drop-in
[BTUIKAppearance darkTheme];


Use BTUIKAppearance to customize the appearance of Drop-in and other BraintreeUIKit classes. Be sure to call these methods before initializing Drop-in. View the list of customizable properties.

Objective-C Swift
[BTUIKAppearance sharedInstance].primaryTextColor = [UIColor greenColor];

Still have questions?

If you can’t find an answer, contact our Support team