Skip to content

Settings

Each setting is documented in a consistent format: data type, scope, and path within the configuration JSON.

Scope defines where the setting lives in the configuration:

Scope JSON path
gateways .gateways
integration .gateways.integration_alias

Example configuration structure:

{
"RUB": {
"gateways": {
"pay": {
"providers": [{ "gateway_alias": "gateway" }]
},
"payout": {
"providers": [{ "gateway_alias": "gateway" }]
}
}
},
"gateways": {
"gateway": {
"api_token": "cf4c559d-40a9-4844-8741-1cd132767da1",
"class": "brusnikapay",
"webhook_token": "+MWRinGhkXlYEBtJCp2aC0xKylZBoNJsx+KV/X07KDA=",
"masked_provider": true,
"wrapped_to_json_response": true
},
"allow_host2host": true
}
}

boolean scope: integration

Path: .gateways.integration_alias.enable_change_final_status

Allows changing the final status of a payin operation if another callback is received.


boolean scope: integration

Path: .gateways.integration_alias.enable_change_amount

Allows changing the amount of a payin operation if another callback is received.


string scope: integration

Path: .gateways.integration_alias.class

Unique predefined name of the integration.


boolean scope: integration

Path: .gateways.integration_alias.masked_provider

Hides the provider name from the merchant during the merchant request flow.


boolean scope: gateways

Path: .gateways.skip_processing_url

Allows the merchant to receive payin requisites without needing to follow the processingUrl.


This set of settings is designed for p2p payment operations and allows iterating over amount variants for the gateway. After receiving a rejection, the system generates amounts within the specified range and tries them one by one in random order — until the first success or until attempts run out. All attempts count as a single operation.

array[number, number] scope: integration

Path: .gateways.integration_alias.random_range

The range of additional amounts for payin retry attempts — [min, max] in kopecks.


number scope: integration

Path: .gateways.integration_alias.random_retries

Maximum number of retry attempts. The actual number of attempts equals min(random_retries, number_of_steps_in_range).


number scope: integration

Path: .gateways.integration_alias.random_step

Step size between attempts in kopecks. Determines the list of possible amounts within random_range.