pub fn payment_provider_owner_from_route( root: &Value, app_root: &Path, owner_route_value: &str, ) -> Result<PaymentProviderOwner, i32>