Magento Open Source 2.2.x
Braintree

Stores > Settings > Configuration > Sales > Payment Methods > Braintree