This endpoint retrieves order details and generates a Braintree client token required for payment processing. The client token is used to initialize the Braintree Drop-in UI or hosted fields on the frontend.
This endpoint returns an HTML template response containing the order details and client token. It’s designed to render a payment form in the browser.