pub fn read_payment_provider_secret(
root: &Value,
app_root: &Path,
runtime_conf_path: Option<&Path>,
app_id: &str,
tenant_id: i64,
owner_resource_type: &str,
owner_resource_id: i64,
provider: &str,
secret_kind: &str,
) -> Result<String, i32>