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/passport
- URLhttps://sandbox.pismolabs.io/passport/v1/config/account/{accountId}
- Authnone declared. Required headers: x-tenant
Path parameters
accountIdinteger required
Example:6912345
Account ID
Headers
x-tenantstring required
Tenant 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
}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
}Changes
No recorded changes to this operation across all 1 revision of this API.