braintree-web
Version:
A suite of tools for integrating Braintree in the browser
90 lines (86 loc) • 2.05 kB
JavaScript
var CONFIGURATION_QUERY =
"query ClientConfiguration { " +
" clientConfiguration { " +
" analyticsUrl " +
" environment " +
" merchantId " +
" assetsUrl " +
" clientApiUrl " +
" creditCard { " +
" supportedCardBrands " +
" challenges " +
" threeDSecureEnabled " +
" threeDSecure { " +
" cardinalAuthenticationJWT " +
" } " +
" } " +
" applePayWeb { " +
" countryCode " +
" currencyCode " +
" merchantIdentifier " +
" supportedCardBrands " +
" } " +
" fastlane { " +
" enabled " +
" } " +
" googlePay { " +
" displayName " +
" supportedCardBrands " +
" environment " +
" googleAuthorization " +
" paypalClientId " +
" } " +
" ideal { " +
" routeId " +
" assetsUrl " +
" } " +
" masterpass { " +
" merchantCheckoutId " +
" supportedCardBrands " +
" } " +
" paypal { " +
" displayName " +
" clientId " +
" assetsUrl " +
" environment " +
" environmentNoNetwork " +
" unvettedMerchant " +
" braintreeClientId " +
" billingAgreementsEnabled " +
" merchantAccountId " +
" currencyCode " +
" payeeEmail " +
" } " +
" unionPay { " +
" merchantAccountId " +
" } " +
" usBankAccount { " +
" routeId " +
" plaidPublicKey " +
" } " +
" venmo { " +
" merchantId " +
" accessToken " +
" environment " +
" enrichedCustomerDataEnabled" +
" } " +
" visaCheckout { " +
" apiKey " +
" externalClientId " +
" supportedCardBrands " +
" } " +
" braintreeApi { " +
" accessToken " +
" url " +
" } " +
" supportedFeatures " +
" } " +
"}";
function configuration() {
return {
query: CONFIGURATION_QUERY,
operationName: "ClientConfiguration",
};
}
module.exports = configuration;
;