Configuration Environment Variables
The connector is configured using environment variables. There are many configuration variables that can be tweaked to tailor the connector to your needs. However, we have tried to provide good default values, so our recommendation is to stick with the defaults unless they don’t work for you.
Generic configuration variables
ENVIRONMENT VARIABLE | MANDATORY | DESCRIPTION | EXAMPLE VALUE |
---|---|---|---|
|
NO (default value: |
Whether or not the application should shutdown if the startup checks found a severe error. |
Possible values: |
|
NO (default value: |
Enables HTTP management endpoints under |
|
|
NO (default value: |
Enables HTTP traffic logging. |
|
|
NO (default value: |
Directory where the application stores its runtime data. |
|
Hyperwallet configuration variables
ENVIRONMENT VARIABLE | MANDATORY | DESCRIPTION | EXAMPLE VALUE |
---|---|---|---|
|
YES |
The URL for your Hyperwallet environment’s API (provided by Hyperwallet). |
|
|
YES |
Hyperwallet environment username (provided by Hyperwallet). |
restapiuser@000001 |
|
YES |
Hyperwallet environment password (provided by Hyperwallet). |
yourSecret |
|
YES |
A set of comma separated program names based on the program hierarchy provided by Hyperwallet (See the Program Configuration). |
DEFAULT |
|
YES |
A set of comma separated values with the programs to be ignored. Sellers belonging to programs in this list won’t be processed by the connector. |
<empty> |
|
YES |
A set of comma separated values with the program tokens to be used for contacting the Hyperwallet API on the |
prg-6541532-as1a23s242-12as124-as2454,prg-b541532-cs1a23s242-12as124-as2454 |
|
YES (default value: |
A set of comma separated values with the program tokens to be used for contacting the Hyperwallet API on the |
prg-54545a532-asda2refs43-as2fd35-das233,prg-87545a532-asda2refs43-as2fd35-das233 |
|
NO |
A set of comma separated values with the transfer bank account tokens where commissions will be paid out. Each token corresponds to the program name that resides in the same position in the list. If commissions are disabled leave it empty, but still separated for commas (for example |
trm-2646asas54-21asdas5642-xasa45sxx, trm-bbb46asas54-21asdas5642-xasa45sxx |
Mirakl configuration variables
ENVIRONMENT VARIABLE | MANDATORY | DESCRIPTION | EXAMPLE VALUE |
---|---|---|---|
|
YES |
The URL for your Mirakl environment’s API (provided by Mirakl). |
|
|
YES |
Mirakl username for accessing the Mirakl Java SDK. |
yourCompanyName |
|
YES |
Mirakl password, for accessing the Mirakl Java |
secret |
|
YES |
The Mirakl operator API key generated for your operator account. |
c262b297-c8a7-45a5-a22f-a0d9fe25132a |
|
NO (default value: |
The Mirakl time zone of your Mirakl instance. Possible values are documented here. |
GMT, Europe/London |
Alerts and mail configuration
ENVIRONMENT VARIABLE | MANDATORY | DESCRIPTION | EXAMPLE VALUE |
---|---|---|---|
|
NO |
The URL where your POP3/SMTP server is hosted. If you’re using the Docker Compose script provided in this repo, use |
|
|
NO |
The port used by your POP3/SMTP server. If you’re using the Docker Compose script provided in this repo, use |
|
|
NO |
Whether or not authentication is needed for accessing the POP3/SMTP mail server. |
Possible values: |
|
NO |
The username credential for using the POP3/SMTP server. It can be left empty if |
|
|
NO |
The password credential for using the POP3/SMTP server. It can be left empty if |
|
|
NO |
Whether or not TLS is needed for establishing connection with the POP3/SMTP server. |
Possible values:`true` or |
|
NO (default value: |
The email recipient for the errors thrown by the connector. |
|
|
NO (default value: |
The from email that appears on the emails sent by the connector. |
|
Seller onboarding configuration variables
ENVIRONMENT VARIABLE | MANDATORY | DESCRIPTION | EXAMPLE VALUE |
---|---|---|---|
|
NO (default value: |
The cron expression to trigger periodically the Sellers Extract Job. |
|
|
NO (default value: |
The cron expression to trigger periodically the Sellers Retry Job. |
|
|
NO (default value: |
The cron expression to trigger periodically the Professional Sellers Extract Job. |
|
|
NO (default value: |
The cron expression to trigger periodically the Professional Sellers Retry Job. |
|
|
NO (default value: |
The cron expression to trigger periodically the Bank account Extract Job. |
|
|
NO (default value: |
The cron expression to trigger periodically the Bank account Retry Job. |
|
KYC and business stakeholders configuration variables
ENVIRONMENT VARIABLE | MANDATORY | DESCRIPTION | EXAMPLE VALUE |
---|---|---|---|
|
NO (default value: |
By default, the business stakeholder email is not mandatory in Hyperwallet. |
Possible values:`true` or |
|
NO (default value: |
The cron expression to trigger periodically the Business Stakeholders Retry Job. |
|
Invoices configuration variables
ENVIRONMENT VARIABLE | MANDATORY | DESCRIPTION | EXAMPLE VALUE |
---|---|---|---|
|
NO (default value: |
By default, the operator commissions feature is enabled. |
Possible values:`true` or |
|
NO (default value: |
By default, the direct processing of manual credit notes is disabled. This can be enabled to facilitate manual testing of payout scenarios. |
Possible values:`true` or |
|
NO (default value: |
The cron expression to trigger periodically the Invoices Extract Job. |
|
|
NO (default value: |
The cron expression to trigger periodically the Invoices Retry Job. |
|
|
NO (default value: |
The cron expression to trigger periodically the Credit Notes Retry Job. |
|
|
NO (default value: |
Size in days of the search window when searching invoices by id. Used by invoice retry jobs. |
Possible values: Any positive integer |
Financial reports configuration variables
ENVIRONMENT VARIABLE | MANDATORY | DESCRIPTION | EXAMPLE VALUE |
---|---|---|---|
|
NO |
BrainTree merchant id provided by BrainTree. |
myBrainTreeMerchantId |
|
NO |
BrainTree public key provided by BrainTree. |
myBrainTreePublicKey |
|
NO |
BrainTree private key provided by BrainTree. |
myBrainTreePrivateKey |
|
NO |
By default the value is pointing to the |
|
|
NO (default value: |
Directory where the application stores the financial reports. |
|
Generic job configuration variables
ENVIRONMENT VARIABLE | MANDATORY | DESCRIPTION | EXAMPLE VALUE |
---|---|---|---|
|
NO (default value: |
The maximum number of days to look in the past when retrieving data from Mirakl during the extraction jobs. |
Possible values: Any positive integer |
|
NO (default value: |
As some Mirakl APIs have a maximun number of items to be requested it sets the amount of max number failed items to be processed on retry jobs |
Possible values: Any positive integer |
Hyperwallet webhook notifications configuration variables
ENVIRONMENT VARIABLE | MANDATORY | DESCRIPTION | EXAMPLE VALUE |
---|---|---|---|
|
NO (default value: |
The cron expression to trigger periodically the Failed Notifications Retry Job. |
|
|
NO (default value: |
Whether or not Hyperwallet notifications should be retried when an error occurs (e.g. connection issues). If set to |
Possible values:`true` or |
|
NO (default value: |
Sets the amount of retries a Hyperwallet notification operation can be retried before it is discarded. Whenever a notification is discarded, an email is sent to the integrators so it can be analyzed and addressed |
Possible values: Any positive integer |
Encryption configuration variables
ENVIRONMENT VARIABLE | MANDATORY | DESCRIPTION | EXAMPLE VALUE |
---|---|---|---|
|
NO (default value: |
Enables or disables the usage of encryption for the communications between the connector and Hyperwallet, for both requests to Hyperwallet API and Hyperwallet notifications handling. |
|
|
NO (default value: |
The key set uri. For pointing to production, replace the value by |
|
|
NO |
The algorithm used for Layer7 encryption Hyperwallet encryption |
|
|
NO |
The sign algorithm for Layer7 encryption Hyperwallet encryption |
|
|
NO |
The encryption method used for Layer7 encryption Hyperwallet encryption |
|
|
NO |
The private/public JWK set location |
|
|
NO |
The public JWK set location. |