braintree payment request api code example Example: braintree payment method token $paymentMethod = $gateway->paymentMethod()->find('token');