Authorization configurations
Update authorization configuration by account
Update the authorization configuration at the account level. This operation updates the entire configuration. Therefore, all fields must be sent to avoid data loss.
put/v1/config/account/{accountId}
Request
- Base URLhttps://sandbox.pismolabs.io/network-transactions-config
- URLhttps://sandbox.pismolabs.io/network-transactions-config/v1/config/account/{accountId}
- AuthHTTP bearer
Path parameters
accountIdinteger required
ID of the account to which this authorization configuration should be applied.
Headers
x-tenantstring
Organization ID
Request body
Example request
{
"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
}Response
Updated 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.