Authorization configurations
Get authorization configuration by hierarchy
Retrieve the authorization configuration based on the hierarchy: account -> program -> tenant, in other words from the most granular to the less granular one.
get/v1/config/priority-config
Request
- Base URLhttps://sandbox.pismolabs.io/network-transactions-config
- URLhttps://sandbox.pismolabs.io/network-transactions-config/v1/config/priority-config
- AuthHTTP bearer
Query parameters
programIdinteger required
ID of the program to which the authorization configuration being fetched should be applied. You can skip this parameter if the accountId parameter is present in the query.
accountIdinteger required
ID of the account to which the authorization configuration being fetched should be applied. You can skip this parameter if the programId parameter is present in the query.
Headers
x-tenantstring
Organization ID
Response
Retrieved successfully
Example response
{
"use_anti_fraud_response_code": true,
"zero_balance_url": "http://zerobalanceurl",
"should_use_anti_fraud_decision": true,
"approve_anti_fraud_unavailable": true,
"enabled_partial_authorization": true,
"disable_dcc": true,
"deny_all_authorizations": true,
"use_settlement_from_network": true,
"use_rates_fee_models": true,
"call_anti_fraud_when_cancelling": true,
"days_to_cancel_pre_authorization": 5,
"days_to_cancel_authorization": 5,
"days_to_cancel_pre_authorization_migration": 5,
"days_to_cancel_authorization_migration": 5,
"always_call_ledger_rules": true,
"use_local_amount_when_dcc": true
}Changes
No recorded changes to this operation across all 1 revision of this API.