Frontend API
Methods to fetch your store's payment settings.
Returns an object representing payment settings and saves it to an internal cache for use with checkout methods.
Retrieve payment settings
await swell.settings.payments()Methods to fetch your store's payment settings.
Retrieve payment settings
Use to retrieve settings that can affect payment behavior. The parameters for this query are _locale and _currency.
Retrieve payment settings
query {
paymentSettings {
methods
}
}