younifyd
Menu

paymentSettings

The store's accepted card brands, digital wallets, supported countries, and Shopify Payments account id — for building a custom checkout.

Use it in a workflow

  1. Add a step and choose the Shopify Storefront connector.
  2. Pick the paymentSettings action (under Payment).
  3. Fill in the fields below, then reference the result from later steps as {{paymentsettings.response.data}}.

Query

This is the query the action sends by default. Edit it in the step's Query field to change which fields come back.

graphql
query PaymentSettings {
  paymentSettings {
    acceptedCardBrands
    cardVaultUrl
    countryCode
    currencyCode
    enabledPresentmentCurrencies
    shopifyPaymentsAccountId
    supportedDigitalWallets
  }
}

Response

Read the result with {{paymentsettings.response.data.data.paymentSettings}}. If the API returns errors, the step fails and they are at {{paymentsettings.response.data.errors}}.

acceptedCardBrandsarray<string>
cardVaultUrlstring
countryCodestring

One ofAFAXALDZADAOAIAGARAMAWACAUATAZBSBHBDBBBYBEBZBJBMBTBOBABWBVBRIOBNBGBFBIKHCACVBQKY

currencyCodestring

One ofUSDEURGBPCADAFNALLDZDAOAARSAMDAWGAUDBBDAZNBDTBSDBHDBIFBZDBMDBTNBAMBRLBOBBWPBNDBGNMMKKHRCVEKYDXAFCLPCNYCOPKMFCDFCRCHRKCZK

enabledPresentmentCurrenciesarray<string>
shopifyPaymentsAccountIdstring
supportedDigitalWalletsarray<string>

Need more? See the Shopify Storefront guide for connection setup and behaviour shared by every action.

Was this page helpful?