Skip to content

@mbanq/core-sdk-js v0.50.0


@mbanq/core-sdk-js / commands / GetConfigurations

Function: GetConfigurations()

GetConfigurations(): Command<{ }, GetConfigurationsResponse>

Defined in: src/commands/rest/globalConfiguration.ts:28

Retrieves all global configurations for the banking system.

This API returns all configuration settings including their names, enabled status, IDs, trap door settings, and value data types. These configurations control various aspects of the banking platform's behavior.

Returns

Command<{ }, GetConfigurationsResponse>

A Command that when executed returns all global configurations

Example

typescript
const getConfigsCmd = GetConfigurations();
const result = await getConfigsCmd.execute(config);

// Access the configurations array
result.globalConfiguration.forEach(config => {
  console.log(`${config.name}: ${config.enabled ? 'enabled' : 'disabled'}`);
});

See

https://apidocs.cloud.mbanq.com/reference/get_v1-configurations API Documentation

Released under the MIT License.