Edit in GitHubLog an issue
Thanks to Something Digital (now Rightpoint) for contributing this topic!

createBraintreeClientToken mutation

The createBraintreeClientToken mutation creates the client token for Braintree Javascript SDK initialization.

Syntax

Copied to your clipboard
mutation {
createBraintreeClientToken {
String
}
}

Reference

The createBraintreeClientToken reference provides detailed information about the types and fields defined in this mutation.

Example usage

Request:

Copied to your clipboard
mutation {
createBraintreeClientToken
}

Response:

Copied to your clipboard
{
"data": {
"createBraintreeClientToken": "4JQaNVJokOpFxrykGVvYrjhiNv9qt31C"
}
}

Errors

ErrorDescription
The Braintree payment method is not active.
The Braintree payment method is disabled in admin.
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.