# clientConfiguration

Query · GraphQL API

The client-side environment and payment method configuration.

## Authentication

- CLIENT

## Input

This operation has no inputs.

## Returns [ClientConfiguration](/braintree/graphql/reference/types/client-configuration)

Top-level fields returned from the client configuration query.

### Returned fields

- `analyticsUrl` (`String`) — deprecated since 2018-02-12: URL to send analytics.
- `applePay` (`ApplePayConfiguration`): Configuration for Apple Pay on iOS.
- `applePayWeb` (`ApplePayWebConfiguration`): Configuration for Apple Pay on the web.
- `assetsUrl` (`String`): A URL pointing to the base path of Braintree's web pages used for various browser switches and popups.
- `clientApiUrl` (`String`) — deprecated since 2018-02-12: A URL pointing to the base path of Braintree's client API.
- `supportedFeatures` (`[ClientFeature!]`) — deprecated since 2018-02-26: A list of client features the merchant supports.
- `braintreeApi` (`BraintreeApiConfiguration`) — deprecated since 2018-07-12: Configuration for payment methods in legacy clients.
- `creditCard` (`CreditCardConfiguration`): Configuration for credit card tokenization.
- `environment` (`ClientConfigurationEnvironment`): The enum of the current environment.
- `fastlane` (`FastlaneConfiguration`): Configuration for PayPal Fastlane.
- `fraudProvider` (`FraudProviderConfiguration`): Configuration for fraud protection provider.
- `googlePay` (`GooglePayConfiguration`): Configuration for Google Pay on Android and the web.
- `ideal` (`IDealConfiguration`) — deprecated since 2019-04-16: This field will always be null.
- `kount` (`KountConfiguration`) — deprecated since 2020-04-03: Formerly configuration for Kount fraud tools; this configuration now lives under `fraudProvider`.
- `masterpass` (`MasterpassConfiguration`): Configuration for Masterpass.
- `merchantId` (`String`): The merchant ID.
- `paypal` (`PayPalConfiguration`): Configuration for PayPal.
- `samsungPay` (`SamsungPayConfiguration`) — deprecated since 2024-10-21: Configuration for Samsung Pay.
- `unionPay` (`UnionPayConfiguration`): Configuration for UnionPay cards.
- `usBankAccount` (`UsBankAccountConfiguration`): Configuration for US bank account processing.
- `venmo` (`VenmoConfiguration`): Configuration for Pay with Venmo.
- `visaCheckout` (`VisaCheckoutConfiguration`) — deprecated since 2026-02-03: Configuration for Visa Checkout.
- `metaCheckout` (`MetaCheckoutConfiguration`): Configuration for Meta Checkout.
- `challenges` (`[Challenge!]`): A list of challenges that are required by the current merchant to process a given credit card.
- `openBanking` (`OpenBankingConfiguration`): Configuration for Open Banking.

## Examples

### Client configuration

The client-side environment and payment method configuration.

```graphql
query clientConfiguration {
  clientConfiguration {
    analyticsUrl
    applePay {
      status
      countryCode
      currencyCode
      merchantIdentifier
      supportedCardBrands
    }
    applePayWeb {
      countryCode
      currencyCode
      merchantIdentifier
      supportedCardBrands
    }
    assetsUrl
    clientApiUrl
    supportedFeatures
    braintreeApi {
      url
      accessToken
    }
    creditCard {
      supportedCardBrands
      challenges
      threeDSecureEnabled
      threeDSecure {
        cardinalAuthenticationJWT
        cardinalSongbirdUrl
        cardinalSongbirdIdentityHash
      }
      fraudDataCollectionEnabled
    }
    environment
    fastlane {
      enabled
      tokensOnDemand {
        enabled
        tokenExchange {
          enabled
        }
      }
    }
    fraudProvider {
      merchantId
      name
    }
    googlePay {
      countryCode
      displayName
      environment
      googleAuthorization
      paypalClientId
      supportedCardBrands
    }
    ideal {
      routeId
      assetsUrl
    }
    kount {
      merchantId
    }
    masterpass {
      merchantCheckoutId
      supportedCardBrands
    }
    merchantId
    paypal {
      displayName
      clientId
      privacyUrl
      userAgreementUrl
      assetsUrl
      environment
      environmentNoNetwork
      unvettedMerchant
      braintreeClientId
      billingAgreementsEnabled
      merchantAccountId
      currencyCode
      payeeEmail
      directBaseUrl
    }
    samsungPay {
      displayName
      environment
      serviceId
      samsungAuthorization
      supportedCardBrands
    }
    unionPay {
      merchantAccountId
    }
    usBankAccount {
      routeId
      plaidPublicKey
    }
    venmo {
      merchantId
      accessToken
      environment
      enrichedCustomerDataEnabled
    }
    visaCheckout {
      apiKey
      encryptionKey
      externalClientId
      supportedCardBrands
    }
    metaCheckout {
      partnerId
      partnerMerchantId
      supportedContainers
      acquirerCountryCode
    }
    challenges
    openBanking {
      businessNames
      allowListedDomains
      profileId
    }
  }
}
```

---

[View the complete GraphQL schema on GitHub](https://raw.githubusercontent.com/braintree/graphql-api/refs/heads/master/schema.graphql)