Business - Configuration
This module handles the retrieval of the different parameters that can be used to configure the platform and their modules.
The base url for the APIs in this page is at:
/api/mobile
A JSON file with OpenAPI data about all business-related mobile APIs can be downloaded here
.
Get payments configurations
Gets the environment variable configurations for frontend UI
- GET /v1/config/default-payment-settings
Gets configuration settings about the default payment gateway
- Status Codes
200 OK – Success
Returns a positive Json object containing the app configurations:
{
IsPrepaid: true, // Boolean, set to true if the platform has wallet enabled
SdkConfigurations: {
IsSandbox: true, // Boolean, set to true if the payment gateway has to be called in sandbox environment
BaseURL: "www.example.com" // String, not nullable, set with the base url for the payment gateway Http requests,
Credentials: { // Object (nullable)
AccessId: "..." // String (nullable), contains the merchant id
}
}
}