v1
latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MBAuthorization configurations
Create authorization configuration by program
Create the authorization configuration at the program level. This level can be used as a default configuration for all accounts in this program and at a more granular level than org. A program can only have one configuration. Executing this endpoint on a program that already has a configuration defined for it generates a conflict response.
post/v1/config/program/{programId}
Path parameters
programIdinteger required
Example:6912345
Program 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
Created
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
}