MutationBraintree · Magento 2.4.9
createBraintreePayPalClientToken
createBraintreePayPalClientToken is a Magento 2 GraphQL mutation in the Braintree module. Creates Client Token for Braintree PayPal Javascript SDK initialization. It returns String! and requires an Authorization header (Bearer customer token).
Last verified: against Magento 2.4.9.
Returns
String!
Resolver class
\PayPal\BraintreeGraphQl\Model\Resolver\CreateBraintreePayPalClientToken
Example request
Auto-generated from the SDL — paste-ready against your store's /graphql endpoint. Replace the host, store code, and any required values before running.
Headers
Query
mutation {
createBraintreePayPalClientToken
}Variables
{}Related in BraintreeGraphQl
Other fields shipped by the same module.
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.